Skip to content

Commit

Permalink
Remove ui header since it's autogenerated and made a few widget modif…
Browse files Browse the repository at this point in the history
…ications.
  • Loading branch information
Asumu Takikawa committed Mar 24, 2009
1 parent 34ab996 commit 938192c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 333 deletions.
331 changes: 0 additions & 331 deletions ui_wiiscouter.h

This file was deleted.

11 changes: 9 additions & 2 deletions wiiscouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ void WiiScouter::databaseSetup(void)
bool opened = db.open();

if (!opened)
statusBar()->showMessage(tr("Failed to open database"));
{
statusBar()->showMessage("Database: " + db.lastError().databaseText() +
" Driver: " + db.lastError().driverText());
}
}

void WiiScouter::timerEvent(QTimerEvent* timerEvent)
Expand All @@ -55,7 +58,7 @@ void WiiScouter::timerEvent(QTimerEvent* timerEvent)
switch (curTime)
{
case AUTONOMOUS_END:
ui->mainTabs->setCurrentWidget(ui->autoTab);
ui->gameTabs->setCurrentWidget(ui->autoTab);
statusBar()->showMessage(tr("Switching to autonomous mode"));
break;
case MATCH_END:
Expand All @@ -65,6 +68,10 @@ void WiiScouter::timerEvent(QTimerEvent* timerEvent)
}
}

void WiiScouter::wiimoteButtonHandler()
{
}

void WiiScouter::on_actionFind_Wiimotes_triggered()
{
wiimoteSetup();
Expand Down
1 change: 1 addition & 0 deletions wiiscouter.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class WiiScouter : public QMainWindow
void receivedWiimote(void);

private slots:
void wiimoteButtonHandler();
void on_actionSchedule_Editor_triggered();
void on_actionQuit_triggered();
void on_actionStart_Match_triggered();
Expand Down

0 comments on commit 938192c

Please sign in to comment.