Skip to content

Commit

Permalink
Add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jun 3, 2016
1 parent 6f4b6a6 commit 60df926
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/layertree/qgslayertreeembeddedconfigwidget.h
Expand Up @@ -29,6 +29,10 @@ class GUI_EXPORT QgsLayerTreeEmbeddedConfigWidget : public QWidget, protected Ui
{
Q_OBJECT
public:
/**
* A widget to configure layer tree embedded widgets for a particular map layer.
* @param parent The parent of the widget.
*/
QgsLayerTreeEmbeddedConfigWidget( QWidget* parent = nullptr );

//! Initialize widget with a map layer
Expand Down
5 changes: 5 additions & 0 deletions src/gui/symbology-ng/qgsrendererv2widget.h
Expand Up @@ -89,6 +89,11 @@ class GUI_EXPORT QgsRendererV2Widget : public QWidget
*/
void widgetChanged();

/**
* @brief Emitted when a sub panel for the widget is opened.
* The renderer can open inline sub panels instead of dialogs.
* @param opened
*/
void panelOpened( bool opened );

protected:
Expand Down
4 changes: 4 additions & 0 deletions src/gui/symbology-ng/qgsrendererwidgetcontainer.h
Expand Up @@ -53,6 +53,10 @@ class GUI_EXPORT QgsRendererWidgetContainer : public QWidget, private Ui::QgsRen
public slots:

protected:
/**
* @brief Overriden key press event to handle the esc event on the widget.
* @param event The key event
*/
void keyPressEvent( QKeyEvent* event );

};
Expand Down
4 changes: 4 additions & 0 deletions src/gui/symbology-ng/qgssymbolv2selectordialog.h
Expand Up @@ -106,6 +106,10 @@ class GUI_EXPORT QgsSymbolV2SelectorDialog : public QDialog, private Ui::QgsSymb
*/
void setMapCanvas( QgsMapCanvas* canvas );

/**
* @brief Return the symbol that is currently active in the widget. Can be null.
* @return The active symbol.
*/
QgsSymbolV2* symbol() { return mSymbol; }

protected:
Expand Down

0 comments on commit 60df926

Please sign in to comment.