Ignore:
Timestamp:
01/13/10 10:19:07 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
69393c0
Parents:
f0ce4d0
Message:

added about dialog(s) - some modifications needed

  • About Qt: not scrollable
  • About app: modifications to display items in system font/colors needed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    rf0ce4d0 rc2d66b2  
    1010#include <delegate.h>
    1111
     12#include <QDialog>
     13#include "ui_about.h"
    1214
    1315MainWindow::MainWindow(QWidget *parent)
     
    1517{
    1618    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()));
    1724
    1825    // create "SQLITE" DB instance/connection
     
    2431    connect(mXmlParser, SIGNAL(progressStatus(int)), this, SLOT(showParsingProgress(int)));
    2532    statusBar()->showMessage(tr("Ready"));
    26 
    27     connect(actionImportSchedule, SIGNAL(triggered()), SLOT(importSchedule()));
    2833
    2934    treeView->setHeaderHidden(true);
     
    7075}
    7176
     77void 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.