Skip to content
Permalink
Browse files

Add missing sip file

  • Loading branch information
NathanW2 committed Jun 3, 2016
1 parent 384a280 commit 223262e2dbb1b028290abbbd134103931e910e7a
Showing with 37 additions and 0 deletions.
  1. +37 −0 python/gui/symbology-ng/qgsrendererwidgetcontainer.sip
@@ -0,0 +1,37 @@
/**
* @brief A container widget that can be used to show a renderer widget with a title and close button.
* @note Mainly used for the style dock panels at the moment.
*/
class QgsRendererWidgetContainer : QWidget
{
%TypeHeaderCode
#include <qgsrendererwidgetcontainer.h>
%End
public:
/**
* @brief A container widget that can be used to show a renderer widget with a title and close button.
* @param widget The internal widget to be shown to the user.
* @param title The title to show on the widget.
* @param parent The parent of the widget.
*/
QgsRendererWidgetContainer( QWidget* widget, const QString &title, QWidget *parent = 0 );

/**
* @brief Returns the current internal widget.
* @return The internal widget.
*/
QWidget* widget();

signals:
/**
* @brief Emitted when the container is accpeted and closed.
* Listen to this to clean up the callers state.
*/
void accepted();

public slots:

protected:
void keyPressEvent( QKeyEvent* event );

};

0 comments on commit 223262e

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