Subversion Repositories svn1

Rev

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

Rev 152 Rev 153
Line 11... Line 11...
11
#include "qmdisqualified.h"
11
#include "qmdisqualified.h"
12
#include "qmdatacheck.h"
12
#include "qmdatacheck.h"
13
#include "qmdialogloadexternalteams.h"
13
#include "qmdialogloadexternalteams.h"
14
#include "QFileDialog"
14
#include "QFileDialog"
15
#include "QDir"
15
#include "QDir"
-
 
16
#include "qmdialoguploadlegtimes.h"
16
 
17
 
17
#include    "consts.h"
18
#include    "consts.h"
18
#include    "structs.h"
19
#include    "structs.h"
19
#include    "proto.h"
20
#include    "proto.h"
20
 
21
 
Line 52... Line 53...
52
 
53
 
53
    QMenu *m2 = new QMenu ("Upload");
54
    QMenu *m2 = new QMenu ("Upload");
54
    ui->menuBar->addMenu(m2);
55
    ui->menuBar->addMenu(m2);
55
    m2->addAction("Load team information from external file", this, SLOT(loadExternalTeams()));
56
    m2->addAction("Load team information from external file", this, SLOT(loadExternalTeams()));
56
    m2->addAction("Store team information to external file", this, SLOT(storeExternalTeams()));
57
    m2->addAction("Store team information to external file", this, SLOT(storeExternalTeams()));
57
    m2->addAction("Create external team information file", this, SLOT(storeTeamInfo()));
58
    m2->addAction("Create external leg data file", this, SLOT(storeLegData()));
-
 
59
    m2->addAction("Upload time information", this, SLOT(uploadLegData()));
58
 
60
 
59
}
61
}
60
 
62
 
61
MainWindow::~MainWindow()
63
MainWindow::~MainWindow()
62
{
64
{
Line 261... Line 263...
261
    MainWindow::showMessage("Writing team info");
263
    MainWindow::showMessage("Writing team info");
262
    QmDialogLoadExternalTeams::storeTeamInfo(fileName);
264
    QmDialogLoadExternalTeams::storeTeamInfo(fileName);
263
    MainWindow::showMessage("Writing team info completed");
265
    MainWindow::showMessage("Writing team info completed");
264
}
266
}
265
 
267
 
-
 
268
void MainWindow::storeLegData(void)
-
 
269
{
-
 
270
    MainWindow::showMessage("Store Leg Data: Not yet implemented");
-
 
271
}
-
 
272
 
-
 
273
void MainWindow::uploadLegData(void)
-
 
274
{
-
 
275
    QmDialogUploadLegTimes  dialog(this);
-
 
276
    dialog.exec();
-
 
277
}
-
 
278
 
266
/*========================================================================
279
/*========================================================================
267
 *
280
 *
268
 *  Position the cursor on the screen
281
 *  Position the cursor on the screen
269
 *
282
 *
270
 *  Purpose:
283
 *  Purpose: