Skip to content
Permalink
Browse files

enable more gui sip bindings

  • Loading branch information
jef-n committed Sep 24, 2012
1 parent 8e96e7b commit 7f08c3724de00f08ee168a5b042929d263ab8b05
@@ -20,7 +20,7 @@
%Include qgsencodingfiledialog.sip
%Include qgsexpressionbuilderdialog.sip
%Include qgsexpressionbuilderwidget.sip
// %Include qgsexpressionhighlighter.sip
%Include qgsexpressionhighlighter.sip
%Include qgsfieldvalidator.sip
%Include qgsfiledropedit.sip
%Include qgsformannotationitem.sip
@@ -39,7 +39,7 @@
%Include qgsmaptool.sip
%Include qgsmaptoolemitpoint.sip
%Include qgsmaptoolpan.sip
// %Include qgsmaptooltouch.sip
%Include qgsmaptooltouch.sip
%Include qgsmaptoolzoom.sip
%Include qgsmessagebar.sip
%Include qgsmessagelogviewer.sip
@@ -74,20 +74,20 @@

%Include symbology-ng/qgsrendererv2widget.sip
%Include symbology-ng/qgsbrushstylecombobox.sip
// %Include symbology-ng/qgscategorizedsymbolrendererv2widget.sip
%Include symbology-ng/qgscategorizedsymbolrendererv2widget.sip
%Include symbology-ng/qgscptcitycolorrampv2dialog.sip
// %Include symbology-ng/qgsellipsesymbollayerv2widget.sip
// %Include symbology-ng/qgsgraduatedsymbolrendererv2widget.sip
%Include symbology-ng/qgsellipsesymbollayerv2widget.sip
%Include symbology-ng/qgsgraduatedsymbolrendererv2widget.sip
%Include symbology-ng/qgslayerpropertieswidget.sip
%Include symbology-ng/qgspenstylecombobox.sip
%Include symbology-ng/qgspointdisplacementrendererwidget.sip
%Include symbology-ng/qgsrendererv2propertiesdialog.sip
// %Include symbology-ng/qgsrulebasedrendererv2widget.sip
// %Include symbology-ng/qgssinglesymbolrendererv2widget.sip
%Include symbology-ng/qgsrulebasedrendererv2widget.sip
%Include symbology-ng/qgssinglesymbolrendererv2widget.sip
%Include symbology-ng/qgssmartgroupeditordialog.sip
%Include symbology-ng/qgsstylev2managerdialog.sip
%Include symbology-ng/qgssymbollayerv2widget.sip
// %Include symbology-ng/qgssymbollevelsv2dialog.sip
%Include symbology-ng/qgssymbollevelsv2dialog.sip
%Include symbology-ng/qgssymbolslistwidget.sip
%Include symbology-ng/qgssymbolv2selectordialog.sip
%Include symbology-ng/qgsvectorcolorbrewercolorrampv2dialog.sip
@@ -1,3 +1,4 @@
%If (HAVE_TOUCH)
class QgsMapToolTouch : QgsMapTool
{
%TypeHeaderCode
@@ -24,3 +25,4 @@ class QgsMapToolTouch : QgsMapTool

virtual bool isTransient();
};
%End
@@ -39,8 +39,6 @@ class QgsCategorizedSymbolRendererV2Widget : QgsRendererV2Widget
//! populate column combo
void populateColumns();

void populateColorRamps();

void addCategory( const QgsRendererCategoryV2& cat );

//! return row index for the currently selected category (-1 if on no selection)
@@ -1,7 +1,3 @@
%TypeHeaderCode
#include <qgsrendererv2widget.h>
%End

class QgsGraduatedSymbolRendererV2Widget : QgsRendererV2Widget
{
%TypeHeaderCode
@@ -43,8 +39,6 @@ class QgsGraduatedSymbolRendererV2Widget : QgsRendererV2Widget
//! populate column combos in categorized and graduated page
void populateColumns();

void populateColorRamps();

//! populate ranges of graduated symbol renderer
void populateRanges();

@@ -1,4 +1,4 @@
class QgsRuleBasedRendererV2Model : public QAbstractItemModel
class QgsRuleBasedRendererV2Model : QAbstractItemModel
{
%TypeHeaderCode
#include <qgsrulebasedrendererv2widget.h>
@@ -39,9 +39,6 @@ class QgsRuleBasedRendererV2Model : public QAbstractItemModel

void willAddRules( const QModelIndex& parent, int count ); // call beginInsertRows
void finishedAddingRules(); // call endInsertRows

protected:
QgsRuleBasedRendererV2* mR;
};

class QgsRuleBasedRendererV2Widget : QgsRendererV2Widget
@@ -5,7 +5,7 @@ class QgsSymbolLevelsV2Dialog : QDialog
%End

public:
QgsSymbolLevelsV2Dialog( QList< QPair<QString, QgsSymbolV2*> > list, bool usingSymbolLevels, QWidget* parent = NULL );
// QgsSymbolLevelsV2Dialog( QList< QPair<QString, QgsSymbolV2*> > list, bool usingSymbolLevels, QWidget* parent = NULL );

bool usingLevels() const;

@@ -20,4 +20,7 @@ class QgsSymbolLevelsV2Dialog : QDialog
protected:
void populateTable();
void setDefaultLevels();

private:
QgsSymbolLevelsV2Dialog();
};
@@ -25,7 +25,7 @@

class QTextDocument;

class GUI_EXPORT QgsExpressionHighlighter : QSyntaxHighlighter
class GUI_EXPORT QgsExpressionHighlighter : public QSyntaxHighlighter
{
Q_OBJECT

@@ -62,8 +62,6 @@ class GUI_EXPORT QgsCategorizedSymbolRendererV2Widget : public QgsRendererV2Widg
//! populate column combo
void populateColumns();

void populateColorRamps();

void addCategory( const QgsRendererCategoryV2& cat );

//! return row index for the currently selected category (-1 if on no selection)
@@ -62,8 +62,6 @@ class GUI_EXPORT QgsGraduatedSymbolRendererV2Widget : public QgsRendererV2Widget
//! populate column combos in categorized and graduated page
void populateColumns();

void populateColorRamps();

//! populate ranges of graduated symbol renderer
void populateRanges();

@@ -27,6 +27,7 @@ class GUI_EXPORT QgsSymbolLevelsV2Dialog : public QDialog, private Ui::QgsSymbol
{
Q_OBJECT
public:
// @note not available in python bindings
QgsSymbolLevelsV2Dialog( QgsLegendSymbolList list, bool usingSymbolLevels, QWidget* parent = NULL );

bool usingLevels() const;

0 comments on commit 7f08c37

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