QGIS/python/gui/qgsmessageviewer.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

60 lines
2.0 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmessageviewer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsMessageViewer: QDialog, QgsMessageOutput
{
%Docstring
A generic message view for displaying QGIS messages.
%End
%TypeHeaderCode
#include "qgsmessageviewer.h"
%End
public:
QgsMessageViewer( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags, bool deleteOnClose = true );
~QgsMessageViewer();
virtual void setMessage( const QString &message, MessageType msgType );
virtual void appendMessage( const QString &message );
virtual void showMessage( bool blocking = true );
virtual void setTitle( const QString &title );
void setMessageAsHtml( const QString &msg );
void setMessageAsPlainText( const QString &msg );
void setCheckBoxText( const QString &text );
void setCheckBoxVisible( bool visible );
void setCheckBoxState( Qt::CheckState state );
Qt::CheckState checkBoxState();
%Docstring
:rtype: Qt.CheckState
%End
void setCheckBoxQgsSettingsLabel( const QString &label );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmessageviewer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/