Set size of widgets for devices to match default resolution

* When creating a new project for some device: Set UI element size
   to the device resolution.
This commit is contained in:
Tobias Hunger
2010-02-18 15:23:24 +01:00
parent 871d54657b
commit f2295f889e
5 changed files with 26 additions and 2 deletions

View File

@@ -5,6 +5,10 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);
%CLASS% w;
#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
w.showMaximized();
#else
w.show();
#endif
return a.exec();
}