m_pCameraWidget = new CameraWidget(this); // was declared in main application constructuor // Qwidget class name as m_pCameraWidget i has given.....
// in camera Qwidget i has given
void CameraWidget::mouseDoubleClickEvent(QMouseEvent *event)
{
if(!isMaximized())
{
showMaximized();
}
else
{
showNormal();
}
}
m_pCameraWidget = new CameraWidget(this); //how to resize camerawidget is the top level widget where (this) is mainwindow
Bookmarks