sceneBackgrounds->setSceneRect(0,0,800,600);
sceneEntities->setSceneRect(0,0,800,600);
sceneFills->setSceneRect(0,0,800,600);
addDockWidget(Qt::RightDockWidgetArea, dockProperties);
addDockWidget(Qt::BottomDockWidgetArea, dockSpritesBackground);
addDockWidget(Qt::BottomDockWidgetArea, dockSpritesEntity);
addDockWidget(Qt::BottomDockWidgetArea, dockSpritesFill);
dockSpritesBackground->setWidget(gviewBackgrounds);
dockSpritesEntity->setWidget(gviewEntities);
dockSpritesFill->setWidget(gviewFills);
dockSpritesBackground->setMinimumHeight(200);
dockSpritesEntity->setMinimumHeight(200);
dockSpritesFill->setMinimumHeight(200);
YourMainWindow
::resizeEvent ( QResizeEvent * dockSpritesBackground
);
//< I know this is wrong
sceneBackgrounds->setSceneRect(0,0,800,600);
sceneEntities->setSceneRect(0,0,800,600);
sceneFills->setSceneRect(0,0,800,600);
addDockWidget(Qt::RightDockWidgetArea, dockProperties);
addDockWidget(Qt::BottomDockWidgetArea, dockSpritesBackground);
addDockWidget(Qt::BottomDockWidgetArea, dockSpritesEntity);
addDockWidget(Qt::BottomDockWidgetArea, dockSpritesFill);
dockSpritesBackground->setWidget(gviewBackgrounds);
dockSpritesEntity->setWidget(gviewEntities);
dockSpritesFill->setWidget(gviewFills);
dockSpritesBackground->setMinimumHeight(200);
dockSpritesEntity->setMinimumHeight(200);
dockSpritesFill->setMinimumHeight(200);
YourMainWindow::resizeEvent ( QResizeEvent * dockSpritesBackground); //< I know this is wrong
To copy to clipboard, switch view to plain text mode
How to change it?
Bookmarks