mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix python support for QgsMessageViewer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7669 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
a34087c959
commit
b5cbbe4692
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user