refs #477, load indicator appears in wrong place.

A first improvement by re-centering it when view becomes visible.
This commit is contained in:
Klaus Basan
2015-10-02 14:57:12 +02:00
committed by Mathew Sutcliffe
parent 6fda875e8f
commit 42304f640b
4 changed files with 36 additions and 6 deletions

View File

@@ -160,6 +160,9 @@ namespace BlackGui
//! \copydoc QTableView::paintEvent
virtual void paintEvent(QPaintEvent *event) override;
//! \copydoc QTableView::showEvent
virtual void showEvent(QShowEvent *event) override;
//! Perform resizing / non slot method for template
virtual void performModeBasedResizeToContent() = 0;
@@ -175,6 +178,9 @@ namespace BlackGui
//! Resize or skip resize?
virtual bool isResizeConditionMet(int containerSize = -1) const;
//! Center / re-center load indicator
void centerLoadIndicator();
//! Init default values
void init();