mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
update sip
This commit is contained in:
parent
5d6ea0fd92
commit
71727ac381
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user