refs #709, launcher GUI finetuning

* don`t always init caches, only when needed
* init caches when component is 1st displayed
* smaller LEDs
This commit is contained in:
Klaus Basan
2016-07-18 16:35:12 +02:00
parent 90c3c35609
commit 435f345cc6
7 changed files with 98 additions and 31 deletions

View File

@@ -37,6 +37,9 @@ namespace BlackGui
//! Destructor
virtual ~CDbLoadOverviewComponent();
//! Initialize
void display();
private:
QScopedPointer<Ui::CDbLoadOverviewComponent> ui;
BlackGui::CLoadIndicator *m_loadIndicator = nullptr; //!< load indicator if needed
@@ -45,6 +48,9 @@ namespace BlackGui
//! Show loading
void showLoading();
//! Values at least set once
bool isInitialized() const;
//! Timestamp
static QString formattedTimestamp(const QDateTime &dateTime);