Skip to content
Permalink
Browse files
Update documentation for new timeout behavior in 3.18 (#42744) (#42810)
* update documentation for new timeout behavior in 3.18

* fix tests

* fix indentation test

* Revert "fix indentation test"

This reverts commit a2dd639.

* fix all tests

Co-authored-by: fiddlersfan <18557959+fiddlersfan@users.noreply.github.com>
  • Loading branch information
github-actions and fiddlersfan committed Apr 15, 2021
1 parent 31bbdcf commit 78b45e17efc40df2db120e1d8bef37f714adbc4b
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/gui/auto_generated/qgsmessagebar.sip.in
  2. +2 −2 src/gui/qgsmessagebar.h
@@ -214,7 +214,7 @@ Pushes a information ``message`` with default timeout to the message bar.

void pushWarning( const QString &title, const QString &message );
%Docstring
Pushes a warning ``message`` with default timeout to the message bar.
Pushes a warning ``message`` that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.

:param title: title string for message
:param message: The message to be displayed
@@ -224,7 +224,7 @@ Pushes a warning ``message`` with default timeout to the message bar.

void pushCritical( const QString &title, const QString &message );
%Docstring
Pushes a critical warning ``message`` with default timeout to the message bar.
Pushes a critical warning ``message`` that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.

:param title: title string for message
:param message: The message to be displayed
@@ -229,7 +229,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
void pushInfo( const QString &title, const QString &message );

/**
* Pushes a warning \a message with default timeout to the message bar.
* Pushes a warning \a message that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.
*
* \param title title string for message
* \param message The message to be displayed
@@ -239,7 +239,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
void pushWarning( const QString &title, const QString &message );

/**
* Pushes a critical warning \a message with default timeout to the message bar.
* Pushes a critical warning \a message that must be manually dismissed by the user. Before QGIS 3.18 the default timeout was used.
*
* \param title title string for message
* \param message The message to be displayed

0 comments on commit 78b45e1

Please sign in to comment.