Skip to content

Commit

Permalink
Fix warnings, missing docs+bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 6, 2016
1 parent 4e10c5b commit c5b8060
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
8 changes: 7 additions & 1 deletion python/gui/effects/qgseffectstackpropertieswidget.sip
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions python/gui/symbology-ng/qgsrendererv2widget.sip
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/gui/effects/qgseffectstackpropertieswidget.h
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsexternalresourcewidget.cpp
Expand Up @@ -184,6 +184,7 @@ QString QgsExternalResourceWidget::resolvePath( const QString& path )
return QDir( mDefaultRoot ).filePath( path );
break;
}
return QString(); // avoid warnings
}

QString QgsExternalResourceWidget::defaultRoot() const
Expand Down
2 changes: 1 addition & 1 deletion src/gui/symbology-ng/qgsrendererv2widget.h
Expand Up @@ -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 );
Expand Down

1 comment on commit c5b8060

@NathanW2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I was coming back this morning to fix but seems you are a bit quicker then me :)

Please sign in to comment.