The main window is maximized after start application.

--HG--
branch : develop
This commit is contained in:
dismine 2013-10-14 14:49:01 +03:00
parent 517e754efd
commit 23a7efbc6a
2 changed files with 3 additions and 2 deletions

View File

@ -60,6 +60,7 @@ int main(int argc, char *argv[]){
app.installTranslator(&appTranslator); app.installTranslator(&appTranslator);
MainWindow w; MainWindow w;
w.setWindowState(w.windowState() ^ Qt::WindowMaximized);
app.setWindowIcon(QIcon(":/icon/64x64/icon64x64.png")); app.setWindowIcon(QIcon(":/icon/64x64/icon64x64.png"));
TableWindow table; TableWindow table;
QObject::connect(&w, &MainWindow::ModelChosen, &table, &TableWindow::ModelChosen); QObject::connect(&w, &MainWindow::ModelChosen, &table, &TableWindow::ModelChosen);

View File

@ -303,7 +303,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>137</width> <width>150</width>
<height>58</height> <height>58</height>
</rect> </rect>
</property> </property>
@ -379,7 +379,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>137</width> <width>150</width>
<height>58</height> <height>58</height>
</rect> </rect>
</property> </property>