Subversion Repositories svn1

Rev

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

Rev 153 Rev 156
Line 56... Line 56...
56
    m2->addAction("Load team information from external file", this, SLOT(loadExternalTeams()));
56
    m2->addAction("Load team information from external file", this, SLOT(loadExternalTeams()));
57
    m2->addAction("Store team information to external file", this, SLOT(storeExternalTeams()));
57
    m2->addAction("Store team information to external file", this, SLOT(storeExternalTeams()));
58
    m2->addAction("Create external leg data file", this, SLOT(storeLegData()));
58
    m2->addAction("Create external leg data file", this, SLOT(storeLegData()));
59
    m2->addAction("Upload time information", this, SLOT(uploadLegData()));
59
    m2->addAction("Upload time information", this, SLOT(uploadLegData()));
60
 
60
 
-
 
61
    QMenu *m3 = new QMenu ("Reports");
-
 
62
    ui->menuBar->addMenu(m3);
-
 
63
    m3->addAction("Update event and class placings", this, SLOT(updatePlacings()));
-
 
64
    m3->addAction("Generate All Reports", this, SLOT(generateReports()));
61
}
65
}
62
 
66
 
63
MainWindow::~MainWindow()
67
MainWindow::~MainWindow()
64
{
68
{
65
    delete ui;
69
    delete ui;
Line 274... Line 278...
274
{
278
{
275
    QmDialogUploadLegTimes  dialog(this);
279
    QmDialogUploadLegTimes  dialog(this);
276
    dialog.exec();
280
    dialog.exec();
277
}
281
}
278
 
282
 
-
 
283
void MainWindow::updatePlacings(void)
-
 
284
{
-
 
285
    if( load_report_data() )
-
 
286
    {
-
 
287
        srt_place();
-
 
288
    }
-
 
289
}
-
 
290
 
-
 
291
void MainWindow::generateReports(void)
-
 
292
{
-
 
293
    if( load_report_data() )
-
 
294
    {
-
 
295
        pri_all_reports();
-
 
296
    }
-
 
297
}
-
 
298
 
279
/*========================================================================
299
/*========================================================================
280
 *
300
 *
281
 *  Position the cursor on the screen
301
 *  Position the cursor on the screen
282
 *
302
 *
283
 *  Purpose:
303
 *  Purpose: