Skip to content
Permalink
Browse files

update sip

  • Loading branch information
3nids committed May 2, 2014
1 parent 5d6ea0f commit 71727ac381766a64ff9022fc12966ceacc9589a3
Showing with 11 additions and 2 deletions.
  1. +3 −0 python/gui/qgsfieldcombobox.sip
  2. +6 −0 python/gui/qgsfieldexpressionwidget.sip
  3. +2 −2 python/gui/qgsfieldmodel.sip
@@ -31,6 +31,9 @@ class QgsFieldComboBox : QComboBox

public slots:
//! set the layer of which the fields are listed
void setLayer( QgsVectorLayer* layer );

//! convenience slot to connect QgsMapLayerComboBox layer signal
void setLayer( QgsMapLayer* layer );

//! setField sets the currently selected field
@@ -29,9 +29,15 @@ class QgsFieldExpressionWidget : QWidget
signals:
//! the signal is emitted when the currently selected field changes
void fieldChanged( QString fieldName );

//! fieldChanged signal with indication of the validity of the expression
void fieldChanged( QString fieldName, bool isValid );

public slots:
//! set the layer used to display the fields and expression
void setLayer( QgsVectorLayer* layer );

//! convenience slot to connect QgsMapLayerComboBox layer signal
void setLayer( QgsMapLayer* layer );

//! sets the current field or expression in the widget
@@ -47,7 +47,7 @@ class QgsFieldModel : QAbstractItemModel

public slots:
//! set the layer of whch fields are displayed
void setLayer( QgsMapLayer *layer );
void setLayer( QgsVectorLayer *layer );

protected slots:
virtual void updateModel();
@@ -56,7 +56,7 @@ class QgsFieldModel : QAbstractItemModel
public:
QModelIndex index( int row, int column, const QModelIndex &parent = QModelIndex() ) const;
QModelIndex parent( const QModelIndex &child ) const;
int rowCount( const QModelIndex &parent ) const;
int rowCount( const QModelIndex &parent = QModelIndex() ) const;
int columnCount( const QModelIndex &parent ) const;
QVariant data( const QModelIndex &index, int role ) const;

0 comments on commit 71727ac

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