Minor UI and style fixes

* completer for airports in ATC component
* log messages
* style fixes
This commit is contained in:
Klaus Basan
2016-11-20 23:03:06 +01:00
parent 1f57f7ca61
commit 20b4044d29
5 changed files with 53 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ namespace BlackGui
private slots:
//! Get all METARs
void ps_getMetarAsEntered() { this->getMetar(""); }
void ps_getMetarAsEntered();
//! Request new ATIS
void ps_requestAtis();
@@ -120,8 +120,16 @@ namespace BlackGui
//! Settings have been changed
void ps_settingsChanged();
//! Airports read from web readers
void ps_airportsRead();
private:
//! Build a tree view for ATC stations
void updateTreeView();
//! Init the completers
void initCompleters();
QScopedPointer<Ui::CAtcStationComponent> ui;
QTimer m_updateTimer { this };
QDateTime m_timestampLastReadOnlineStations; //!< stations read