Fix warnings, missing docs+bindings

This commit is contained in:
Nyall Dawson 2016-06-07 07:59:44 +10:00
parent 4e10c5be0f
commit c5b8060b4b
5 changed files with 15 additions and 4 deletions

View File

@ -68,10 +68,16 @@ class QgsEffectStackPropertiesWidget : QWidget
signals:
/**
* Emiited when something in the widget changes.
* Emitted when something in the widget changes.
*/
void widgetChanged();
/** Emitted when a panel is shown in the widget.
* @param widget widget panel which was shown
* @note added in QGIS 2.16
*/
void showPanel( QgsRendererWidgetContainer* widget );
protected:
/** Refreshes the widget to reflect the current state of the stack.

View File

@ -54,10 +54,10 @@ class QgsRendererV2Widget : QWidget
void widgetChanged();
/** Shows a panel widget inside the renderer widget.
* @param container widget panel to show
* @param widget widget panel to show
* @note added in QGIS 2.16
*/
void panelOpened( bool opened );
void showPanel( QgsRendererWidgetContainer* widget );
protected:
/** Subclasses may provide the capability of changing multiple symbols at once by implementing the following two methods

View File

@ -237,6 +237,10 @@ class GUI_EXPORT QgsEffectStackCompactWidget: public QWidget
*/
void changed();
/** Emitted when a panel is shown in the widget.
* @param widget widget panel which was shown
* @note added in QGIS 2.16
*/
void showPanel( QgsRendererWidgetContainer* widget );
private slots:

View File

@ -184,6 +184,7 @@ QString QgsExternalResourceWidget::resolvePath( const QString& path )
return QDir( mDefaultRoot ).filePath( path );
break;
}
return QString(); // avoid warnings
}
QString QgsExternalResourceWidget::defaultRoot() const

View File

@ -93,7 +93,7 @@ class GUI_EXPORT QgsRendererV2Widget : public QWidget
void widgetChanged();
/** Shows a panel widget inside the renderer widget.
* @param container widget panel to show
* @param widget widget panel to show
* @note added in QGIS 2.16
*/
void showPanel( QgsRendererWidgetContainer* widget );