#include <BridgeUsageDialog.h>
Public Member Functions | |
BridgeUsageDialog (QWidget *parent=0) | |
void | update (const QDateTime &timeStarted, const QHash< QString, int > &countrySummary) |
Protected Member Functions | |
void | showEvent (QShowEvent *e) |
Private Attributes | |
Ui::BridgeUsageDialog | ui |
Definition at line 28 of file BridgeUsageDialog.h.
BridgeUsageDialog::BridgeUsageDialog | ( | QWidget * | parent = 0 |
) |
void BridgeUsageDialog::showEvent | ( | QShowEvent * | e | ) | [protected] |
Called when the dialog is displayed. Adjusts the size of the column headers.
Definition at line 36 of file BridgeUsageDialog.cpp.
References ui.
void BridgeUsageDialog::update | ( | const QDateTime & | timeStarted, | |
const QHash< QString, int > & | countrySummary | |||
) |
Updates the dialog with current bridge usage information.
Definition at line 47 of file BridgeUsageDialog.cpp.
References CountryInfo::countryName(), and ui.
Referenced by ServerPage::displayBridgeUsage().
Ui::BridgeUsageDialog BridgeUsageDialog::ui [private] |
Definition at line 49 of file BridgeUsageDialog.h.
Referenced by BridgeUsageDialog(), showEvent(), and update().