18 #ifndef QGSSTATUSBAR_H
19 #define QGSSTATUSBAR_H
73 void addPermanentWidget( QWidget *widget
SIP_TRANSFER,
int stretch = 0, Anchor anchor = AnchorRight );
79 void removeWidget( QWidget *widget );
85 QString currentMessage()
const;
96 void showMessage(
const QString &message,
int timeout = 0 );
111 void setParentStatusBar( QStatusBar *statusBar );
116 void changeEvent( QEvent *event )
override;
120 QHBoxLayout *mLayout =
nullptr;
121 QLineEdit *mLineEdit =
nullptr;
122 QTimer *mTempMessageTimer =
nullptr;
123 QStatusBar *mParentStatusBar =
nullptr;
124 QMetaObject::Connection mShowMessageConnection;
A proxy widget for QStatusBar.
Anchor
Placement anchor for widgets.
@ AnchorRight
Anchor widget to right of status bar.