public:
XGUI_ViewPort(XGUI_ViewWindow* theParent, const Handle(V3d_Viewer)& theViewer,
V3d_TypeOfView theType = V3d_ORTHOGRAPHIC);
- ~XGUI_ViewPort();
+ virtual ~XGUI_ViewPort();
virtual QPaintEngine* paintEngine() const
{
style->drawPrimitive(QStyle::PE_IndicatorToolBarHandle, &aOpt, &aPainter, this);
}
+
+
//**************************************************************************
ViewerLabel::ViewerLabel(QWidget* theParent, XGUI_ViewPort* thePort)
: QLabel(theParent), myVPort(thePort), myResize(false)
QImage aImg = myVPort->dumpView(aImgRect, myResize);
if (!aImg.isNull())
QPainter(this).drawImage(aRect, aImg);
+ myResize = false;
QLabel::paintEvent(theEvent);
}