Changeset c2d66b2 for src/gui/mainwindow.cpp
- Timestamp:
- 01/13/10 10:19:07 (13 years ago)
- Branches:
- master, qt5
- Children:
- 69393c0
- Parents:
- f0ce4d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
rf0ce4d0 rc2d66b2 10 10 #include <delegate.h> 11 11 12 #include <QDialog> 13 #include "ui_about.h" 12 14 13 15 MainWindow::MainWindow(QWidget *parent) … … 15 17 { 16 18 setupUi(this); 19 20 // connect Menu actions 21 connect(actionImportSchedule, SIGNAL(triggered()), SLOT(importSchedule())); 22 connect(actionAboutQt, SIGNAL(triggered()), qApp, SLOT(aboutQt())); 23 connect(actionAboutApplication, SIGNAL(triggered()), SLOT(aboutApp())); 17 24 18 25 // create "SQLITE" DB instance/connection … … 24 31 connect(mXmlParser, SIGNAL(progressStatus(int)), this, SLOT(showParsingProgress(int))); 25 32 statusBar()->showMessage(tr("Ready")); 26 27 connect(actionImportSchedule, SIGNAL(triggered()), SLOT(importSchedule()));28 33 29 34 treeView->setHeaderHidden(true); … … 70 75 } 71 76 77 void MainWindow::aboutApp() 78 { 79 QDialog dialog(this); 80 Ui::AboutDialog ui; 81 ui.setupUi(&dialog); 82 dialog.exec(); 83 } 84
Note: See TracChangeset
for help on using the changeset viewer.