Skip to content
Permalink
Browse files

fix python support for QgsMessageViewer

git-svn-id: http://svn.osgeo.org/qgis/trunk@7669 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 27, 2007
1 parent 286c3e4 commit 7e4fd6ff5cca3b9f238cc9785d35c0c47de13c82
Showing with 7 additions and 0 deletions.
  1. +5 −0 src/gui/qgsmessageviewer.cpp
  2. +2 −0 src/gui/qgsmessageviewer.h
@@ -88,6 +88,11 @@ void QgsMessageViewer::setCheckBoxState(Qt::CheckState state)
checkBox->setCheckState(state);
}

Qt::CheckState QgsMessageViewer::checkBoxState()
{
return checkBox->checkState();
}

void QgsMessageViewer::setCheckBoxQSettingsLabel(QString label)
{
mCheckBoxQSettingsLabel = label;
@@ -54,6 +54,8 @@ class GUI_EXPORT QgsMessageViewer: public QDialog, public QgsMessageOutput, priv
void setCheckBoxVisible(bool visible);
// Sets the check state
void setCheckBoxState(Qt::CheckState state);
// Get checkbox state
Qt::CheckState checkBoxState();
// Specifies a QSettings tag to store/retrieve the checkbox
// state to/from. Use an empty QString to disable this feature.
void setCheckBoxQSettingsLabel(QString label);

0 comments on commit 7e4fd6f

Please sign in to comment.
You can’t perform that action at this time.