mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
56 lines
1.9 KiB
Plaintext
56 lines
1.9 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();
|
|
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 *
|
|
************************************************************************/
|