Changeset 2 in tspsg-svn for trunk/src/mainwindow.cpp
- Timestamp:
- Oct 13, 2007, 2:26:06 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
*.vcproj*
*.ncb
*.sln
*.suo
*.idb
*.pdb
ui_*
moc_*
qrc_*
tspsg
Makefile
debug
release
-
Property
svn:ignore
set to
-
trunk/src/mainwindow.cpp
r1 r2 22 22 #include "mainwindow.h" 23 23 24 // TODO: Saving window state on close 25 24 26 MainWindow::MainWindow(QWidget *parent) 25 27 : QMainWindow(parent) … … 27 29 setupUi(this); 28 30 connect(actionSettingsSettings,SIGNAL(triggered()),this,SLOT(ChangeSettings())); 31 // Centering MainWindow 32 // TODO: Loading of saved window state 33 QRect rect = geometry(); 34 rect.moveCenter(QApplication::desktop()->screenGeometry(QApplication::desktop()->primaryScreen()).center()); 35 setGeometry(rect); 36 29 37 } 30 38
Note: See TracChangeset
for help on using the changeset viewer.