Skip to content
Permalink
Browse files

fix python support for QgsMessageViewer

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7669 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 27, 2007
1 parent a34087c commit b5cbbe46920e0e37d033ed44da94ef82cc408fdb
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 b5cbbe4

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