Subversion Repositories svn1

Rev

Rev 386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 386 Rev 389
Line 279... Line 279...
279
 
279
 
280
void MainWindow::loadExternalTeams(void)
280
void MainWindow::loadExternalTeams(void)
281
{
281
{
282
    QString fileName = QFileDialog::getOpenFileName(
282
    QString fileName = QFileDialog::getOpenFileName(
283
            this, tr("Load File"),
283
            this, tr("Load File"),
284
            appSettings->value("Recent/ExternalTeams",filepath).toString(),
284
            appSettings->value("Recent/ExternalTeams",FilePath).toString(),
285
            tr("Data (*.csv);;All (*.*)"),
285
            tr("Data (*.csv);;All (*.*)"),
286
            0,
286
            0,
287
            QFileDialog::ReadOnly);
287
            QFileDialog::ReadOnly);
288
 
288
 
289
    if ( fileName.isEmpty() )
289
    if ( fileName.isEmpty() )
Line 313... Line 313...
313
 
313
 
314
void MainWindow::storeExternalTeams(void)
314
void MainWindow::storeExternalTeams(void)
315
{
315
{
316
    QString fileName = QFileDialog::getSaveFileName(
316
    QString fileName = QFileDialog::getSaveFileName(
317
            this, tr("Store File"),
317
            this, tr("Store File"),
318
            appSettings->value("Recent/storeExternalTeams",filepath).toString(),
318
            appSettings->value("Recent/storeExternalTeams",FilePath).toString(),
319
            tr("Data (*.csv);;All (*.*)"),
319
            tr("Data (*.csv);;All (*.*)"),
320
            0
320
            0
321
            );
321
            );
322
    if ( fileName.isEmpty() )
322
    if ( fileName.isEmpty() )
323
    {
323
    {
Line 331... Line 331...
331
 
331
 
332
void MainWindow::storeTeamInfo(void)
332
void MainWindow::storeTeamInfo(void)
333
{
333
{
334
    QString fileName = QFileDialog::getSaveFileName(
334
    QString fileName = QFileDialog::getSaveFileName(
335
            this, tr("Store Team Info File"),
335
            this, tr("Store Team Info File"),
336
            appSettings->value("Recent/storeTeamInfo",filepath).toString(),
336
            appSettings->value("Recent/storeTeamInfo",FilePath).toString(),
337
            tr("Data (*.txt);;All (*.*)"),
337
            tr("Data (*.txt);;All (*.*)"),
338
            0
338
            0
339
            );
339
            );
340
    if ( fileName.isEmpty() )
340
    if ( fileName.isEmpty() )
341
    {
341
    {
Line 369... Line 369...
369
 
369
 
370
void MainWindow::showAbout(void)
370
void MainWindow::showAbout(void)
371
{
371
{
372
    QmDialogAbout dialog(this);
372
    QmDialogAbout dialog(this);
373
    dialog.setText(QString("Build Date: ") + __DATE__ + " " + __TIME__ + "\nVersion: " + VERSION);
373
    dialog.setText(QString("Build Date: ") + __DATE__ + " " + __TIME__ + "\nVersion: " + VERSION);
374
    dialog.setPath(filepath);
374
    dialog.setPath(FilePath);
375
    dialog.exec();
375
    dialog.exec();
376
}
376
}
377
 
377
 
378
void MainWindow::disableAllMenus(QMenu *menu)
378
void MainWindow::disableAllMenus(QMenu *menu)
379
{
379
{