mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
refs #477, load indicator appears in wrong place.
A first improvement by re-centering it when view becomes visible.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6fda875e8f
commit
42304f640b
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user