Ref T747, added toggle normal/minimal

* also provide action for toggle normal/minimal
* reverted "on top" for front/back toggle

based on discussion https://discordapp.com/channels/539048679160676382/539846348275449887/641003058867994634
This commit is contained in:
Klaus Basan
2019-11-07 21:56:39 +01:00
committed by Mat Sutcliffe
parent 37c21b3dae
commit de7174ad49
2 changed files with 32 additions and 9 deletions

View File

@@ -239,6 +239,9 @@ namespace BlackGui
void windowToFrontBackToggle();
//! @}
//! Window minimize/normalize
void windowMinimizeNormalToggle();
//! Save the main widget state?
void setSaveMainWidgetState(bool save) { m_saveMainWidgetState = save; }
@@ -344,7 +347,8 @@ namespace BlackGui
CStyleSheetUtility m_styleSheetUtility {{}, this}; //!< style sheet utility
bool m_uiSetupCompleted = false; //!< ui setup completed
bool m_saveMainWidgetState = true; //!< save/restore main widget's state
bool m_frontBack = true;
bool m_frontBack = true; //!< for front/back toggle
bool m_normalizeMinimize = true; //!< for normalize/minimize toggle
QScopedPointer<CSplashScreen> m_splashScreen; //!< splash screen
Components::CUpdateInfoDialog *m_updateDialog = nullptr; //!< software installation dialog
Components::CApplicationCloseDialog *m_closeDialog = nullptr; //!< close dialog (no QScopedPointer because I need to set parent)