refs #935, resizing for message frame

also avoid showing overlay message too soon (ie when not full initialized)
This commit is contained in:
Klaus Basan
2017-04-13 01:16:54 +02:00
committed by Mathew Sutcliffe
parent f34e80ea62
commit be24d069fe
3 changed files with 35 additions and 17 deletions

View File

@@ -55,9 +55,6 @@ namespace BlackGui
//! Show kill button
void showKillButton(bool killButton);
//! Hide the inner frame
void hideStatusMessagesFrame();
//! Inner frame factors 0..1
//! \remarks can also be restricted by maximumHeight() / maximumWidth()
void setInnerFrameFactor(double xFactor, double yFactor);
@@ -91,6 +88,9 @@ namespace BlackGui
//! \copydoc QFrame::keyPressEvent
virtual void keyPressEvent(QKeyEvent *event) override;
//! \copydoc QFrame::resizeEvent
virtual void resizeEvent(QResizeEvent *event) override;
COverlayMessages *m_overlayMessages = nullptr; //!< embedded QFrame with Status messages
private: