Subversion Repositories svn1

Rev

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

Rev 137 Rev 140
Line 29... Line 29...
29
    ui->tabWidget->addTab( new QmConfWinners, "Winners");
29
    ui->tabWidget->addTab( new QmConfWinners, "Winners");
30
    ui->tabWidget->addTab( new qmTeamDisplay, "Team Data");
30
    ui->tabWidget->addTab( new qmTeamDisplay, "Team Data");
31
    ui->tabWidget->addTab( new qmDisqualified, "Disqual");
31
    ui->tabWidget->addTab( new qmDisqualified, "Disqual");
32
    ui->tabWidget->addTab( new qmDataCheck, "Data Check");
32
    ui->tabWidget->addTab( new qmDataCheck, "Data Check");
33
 
33
 
-
 
34
    QMenu *m0 = new QMenu ("Team");
-
 
35
    ui->menuBar->addMenu(m0);
-
 
36
    m0->addAction("Reset All Team Data", this, SLOT(resetTeamData()));
-
 
37
    m0->addAction("Generate dummy team names", this, SLOT(generateDummyTeamNames()));
-
 
38
 
34
    QMenu *m1 = new QMenu ("Leg Time Setup");
39
    QMenu *m1 = new QMenu ("Leg Time Setup");
35
    ui->menuBar->addMenu(m1);
40
    ui->menuBar->addMenu(m1);
36
    m1->addAction("Set Start Times", this, SLOT(setStartTimes()));
-
 
37
    m1->addAction("Clear ALL Leg Times", this, SLOT(clearLegTimes()));
41
    m1->addAction("Clear ALL Leg Times", this, SLOT(clearLegTimes()));
38
    m1->addAction("Reset All Team Data", this, SLOT(resetTeamData()));
-
 
39
    m1->addAction("Generate dummy team names", this, SLOT(generateDummyTeamNames()));
-
 
40
    m1->addAction("Clear single leg start times", this, SLOT(ClearOneLegTimes()));
42
    m1->addAction("Clear single leg start times", this, SLOT(ClearOneLegTimes()));
-
 
43
    m1->addSeparator();
-
 
44
    m1->addAction("Set Start Times", this, SLOT(setStartTimes()));
41
    m1->addAction("Set calculated leg start", this, SLOT(setCalcLegStart()));
45
    m1->addAction("Set calculated leg start", this, SLOT(setCalcLegStart()));
42
    m1->addAction("Set ordered incremental leg start", this, SLOT(setOrderedIncLegStart()));
46
    m1->addAction("Set ordered incremental leg start", this, SLOT(setOrderedIncLegStart()));
43
    m1->addAction("Set staggered start time", this, SLOT(setStaggeredLegStart()));
47
    m1->addAction("Set staggered start time", this, SLOT(setStaggeredLegStart()));
44
    m1->addAction("Set fixed start time", this, SLOT(setFixedLegStart()));
48
    m1->addAction("Set fixed start time", this, SLOT(setFixedLegStart()));
-
 
49
 
-
 
50
    QMenu *m2 = new QMenu ("Upload");
-
 
51
    ui->menuBar->addMenu(m2);
-
 
52
 
45
}
53
}
46
 
54
 
47
MainWindow::~MainWindow()
55
MainWindow::~MainWindow()
48
{
56
{
49
    delete ui;
57
    delete ui;