Hi,
i'm trying to develop an application for symbian with QT. I'm having problems displaying widgets maximized in different resolutions.
Lets say i have one QMainWindow and few QWidgets. One of the QWidgets is called BrandTabs
In QMainWindow i do:
BrandTabs* tabs = new BrandTabs(this, this->dbManager);
tabs->showMaximized();
setCentralWidget(tabs);
BrandTabs* tabs = new BrandTabs(this, this->dbManager);
tabs->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
tabs->showMaximized();
setCentralWidget(tabs);
To copy to clipboard, switch view to plain text mode
BrandTabs has a QVBoxLayout, inside it a QTabWidget and inside first tab again QVBoxLayout with QListWidget.
QTabWidget, QListWidget have their size policies set to QSizePolicy::MinimumExpanding.
But still, thei are not maximed if resolution is bigger than defined in editor (i'm using QT creator).
Any hints, thanks
Bookmarks