Ref T573, allow different color in XPDR mode component from stylesheet

* changed signal to trigger reload of stylesheet (only way to update dynamic properties)
* made infobar left aligned (and not spacer aligned), better scaling
* adjusted qss
This commit is contained in:
Klaus Basan
2019-03-19 19:03:21 +01:00
committed by Mat Sutcliffe
parent 22d67d31a4
commit e463689490
9 changed files with 44 additions and 17 deletions

View File

@@ -31,6 +31,9 @@ namespace BlackGui
//! Constructor
explicit CDockWidgetInfoBar(QWidget *parent = nullptr);
//! Force an reload
void reloadStyleSheet() { this->onStyleSheetsChanged(); }
protected:
//! Contribute to menu
virtual void addToContextMenu(QMenu *contextMenu) const override;