QGIS API Documentation
2.6.0-Brighton
|
A generic message view for displaying QGIS messages. More...
#include <qgsmessageviewer.h>
Public Member Functions | |
QgsMessageViewer (QWidget *parent=0, Qt::WindowFlags fl=QgisGui::ModalDialogFlags, bool deleteOnClose=true) | |
~QgsMessageViewer () | |
virtual void | setMessage (const QString &message, MessageType msgType) |
set message, it won't be displayed until | |
virtual void | appendMessage (const QString &message) |
message to be appended to the current text | |
virtual void | showMessage (bool blocking=true) |
display the message to the user | |
virtual void | setTitle (const QString &title) |
set title for the messages | |
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 | setCheckBoxQSettingsLabel (QString label) |
Public Member Functions inherited from QgsMessageOutput | |
virtual | ~QgsMessageOutput () |
virtual destructor |
Additional Inherited Members | |
Public Types inherited from QgsMessageOutput | |
enum | MessageType { MessageText, MessageHtml } |
message can be in plain text or in html format More... | |
Static Public Member Functions inherited from QgsMessageOutput | |
static void | setMessageOutputCreator (MESSAGE_OUTPUT_CREATOR f) |
sets function that will be used to create message output | |
static QgsMessageOutput * | createMessageOutput () |
function that returns new class derived from QgsMessageOutput (don't forget to delete it then) |
A generic message view for displaying QGIS messages.
QgsMessageViewer::QgsMessageViewer | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = QgisGui::ModalDialogFlags , |
||
bool | deleteOnClose = true |
||
) |
QgsMessageViewer::~QgsMessageViewer | ( | ) |
|
virtual |
message to be appended to the current text
Implements QgsMessageOutput.
Qt::CheckState QgsMessageViewer::checkBoxState | ( | ) |
void QgsMessageViewer::setCheckBoxQSettingsLabel | ( | QString | label | ) |
void QgsMessageViewer::setCheckBoxState | ( | Qt::CheckState | state | ) |
void QgsMessageViewer::setCheckBoxText | ( | const QString & | text | ) |
void QgsMessageViewer::setCheckBoxVisible | ( | bool | visible | ) |
|
virtual |
set message, it won't be displayed until
Implements QgsMessageOutput.
void QgsMessageViewer::setMessageAsHtml | ( | const QString & | msg | ) |
void QgsMessageViewer::setMessageAsPlainText | ( | const QString & | msg | ) |
|
virtual |
set title for the messages
Implements QgsMessageOutput.
|
virtual |
display the message to the user
Implements QgsMessageOutput.