Subversion Repositories svn1-original

Rev

Rev 215 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 215 Rev 225
Line 17... Line 17...
17
#include "qmreportwindow.h"
17
#include "qmreportwindow.h"
18
#include "QTabWidget"
18
#include "QTabWidget"
19
#include "QLayout"
19
#include "QLayout"
20
#include "qmeventstatus.h"
20
#include "qmeventstatus.h"
21
#include "qmdownloadlegtimes.h"
21
#include "qmdownloadlegtimes.h"
-
 
22
#include "qmdialogabout.h"
22
 
23
 
23
#include    "consts.h"
24
#include    "consts.h"
24
#include    "structs.h"
25
#include    "structs.h"
25
#include    "proto.h"
26
#include    "proto.h"
26
 
27
 
Line 74... Line 75...
74
 
75
 
75
    QMenu *m4 = new QMenu ("Reports");
76
    QMenu *m4 = new QMenu ("Reports");
76
    ui->menuBar->addMenu(m4);
77
    ui->menuBar->addMenu(m4);
77
    m4->addAction("Generate All Reports", this, SLOT(generateReports()));
78
    m4->addAction("Generate All Reports", this, SLOT(generateReports()));
78
    m4->addAction("Display Summary", this, SLOT(displaySummary()));
79
    m4->addAction("Display Summary", this, SLOT(displaySummary()));
-
 
80
 
-
 
81
    ui->menuBar->addAction("About", this, SLOT(showAbout()));
79
}
82
}
80
 
83
 
81
MainWindow::~MainWindow()
84
MainWindow::~MainWindow()
82
{
85
{
83
    delete ui;
86
    delete ui;
Line 319... Line 322...
319
{
322
{
320
    QmDialogStatus dialog(this);
323
    QmDialogStatus dialog(this);
321
    dialog.exec();
324
    dialog.exec();
322
}
325
}
323
 
326
 
-
 
327
void MainWindow::showAbout(void)
-
 
328
{
-
 
329
    QmDialogAbout dialog(this);
-
 
330
    dialog.setText(QString("Build Date: ") + __DATE__ + " " + __TIME__);
-
 
331
    dialog.exec();
-
 
332
}
-
 
333
 
324
 
334