| 540 | } |
| 541 | |
| 542 | void MiniQtHelper::SetWidgetReplayOutput(QWidget *widget, IReplayOutput *output) |
| 543 | { |
| 544 | if(!widget) |
| 545 | return; |
| 546 | |
| 547 | CustomPaintWidget *paintWidget = qobject_cast<CustomPaintWidget *>(widget); |
| 548 | |
| 549 | if(paintWidget) |
| 550 | paintWidget->SetOutput(output); |
| 551 | } |
| 552 | |
| 553 | void MiniQtHelper::SetWidgetBackgroundColor(QWidget *widget, float red, float green, float blue) |
| 554 | { |