72 void addPermanentWidget( QWidget *widget
SIP_TRANSFER,
int stretch = 0, Anchor anchor = AnchorRight );
78 void removeWidget( QWidget *widget );
84 QString currentMessage()
const;
95 void showMessage(
const QString &message,
int timeout = 0 );
110 void setParentStatusBar( QStatusBar *statusBar );
115 void changeEvent( QEvent *event )
override;
119 QHBoxLayout *mLayout =
nullptr;
120 QLineEdit *mLineEdit =
nullptr;
121 QTimer *mTempMessageTimer =
nullptr;
122 QStatusBar *mParentStatusBar =
nullptr;
123 QMetaObject::Connection mShowMessageConnection;