File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,34 @@ class QgsMessageBar: QFrame
68
68
*/
69
69
bool clearWidgets();
70
70
71
+ /**
72
+ * Pushes a warning with default timeout to the message bar
73
+ * @param message The message to be displayed
74
+ * @note added in 2.8
75
+ */
76
+ void pushSuccess( const QString& title, const QString& message );
77
+
78
+ /**
79
+ * Pushes a warning with default timeout to the message bar
80
+ * @param message The message to be displayed
81
+ * @note added in 2.8
82
+ */
83
+ void pushInfo( const QString& title, const QString& message );
84
+
85
+ /**
86
+ * Pushes a warning with default timeout to the message bar
87
+ * @param message The message to be displayed
88
+ * @note added in 2.8
89
+ */
90
+ void pushWarning( const QString& title, const QString& message );
91
+
92
+ /**
93
+ * Pushes a warning with default timeout to the message bar
94
+ * @param message The message to be displayed
95
+ * @note added in 2.8
96
+ */
97
+ void pushCritical( const QString& title, const QString& message );
98
+
71
99
protected:
72
100
void mousePressEvent( QMouseEvent * e );
73
101
};
You can’t perform that action at this time.
0 commit comments