- ViewerToolbar(QWidget* theParent, XGUI_ViewPort* thePort)
- : QToolBar(theParent), myVPort(thePort)
- {
- setBackgroundRole(QPalette::NoRole);
- setAttribute(Qt::WA_NoSystemBackground);
- //setAttribute(Qt::WA_PaintOnScreen);
- setAutoFillBackground(false);
- }
+ ViewerToolbar(QWidget* theParent, XGUI_ViewPort* thePort);
+
+protected slots:
+ void onViewPortResized() { myResize = true; }