|
| QgsAggregateMappingWidget (QWidget *parent=nullptr, const QgsFields &sourceFields=QgsFields()) |
| Constructs a QgsAggregateMappingWidget from a set of sourceFields. More...
|
|
QList< QgsAggregateMappingModel::Aggregate > | mapping () const |
| Returns a list of Aggregate objects representing the current status of the underlying mapping model. More...
|
|
QgsAggregateMappingModel * | model () const |
| Returns the underlying mapping model. More...
|
|
void | registerExpressionContextGenerator (const QgsExpressionContextGenerator *generator) |
| Register an expression context generator class that will be used to retrieve an expression context for the widget. More...
|
|
void | scrollTo (const QModelIndex &index) const |
| Scroll the fields view to index. More...
|
|
QItemSelectionModel * | selectionModel () |
| Returns the selection model. More...
|
|
void | setMapping (const QList< QgsAggregateMappingModel::Aggregate > &mapping) |
| Sets the mapping to show in the model. More...
|
|
void | setSourceFields (const QgsFields &sourceFields) |
| Set source fields of the underlying mapping model to sourceFields. More...
|
|
void | setSourceLayer (QgsVectorLayer *layer) |
| Sets a source layer to use when generating expression previews in the widget. More...
|
|
QgsVectorLayer * | sourceLayer () |
| Returns the source layer for use when generating expression previews. More...
|
|
| QgsPanelWidget (QWidget *parent=nullptr) |
| Base class for any widget that can be shown as a inline panel. More...
|
|
virtual bool | applySizeConstraintsToStack () const |
| Returns true if the size constraints and hints for the panel widget should be applied to the parent QgsPanelWidgetStack which this panel is shown in. More...
|
|
bool | autoDelete () |
| The the auto delete property on the widget. More...
|
|
void | connectChildPanel (QgsPanelWidget *panel) |
| Connect the given sub panel widgets showPanel signals to this current panels main showPanel event to bubble up to the user. More...
|
|
void | connectChildPanels (const QList< QgsPanelWidget * > &panels) |
| Connect the given sub panel widgets showPanel signals to this current panels main showPanel event to bubble up to the user. More...
|
|
bool | dockMode () |
| Returns the dock mode state. More...
|
|
virtual QMenu * | menuButtonMenu () |
| Returns the menu to use for the menu button for this panel, or nullptr if no menu button is required. More...
|
|
virtual QString | menuButtonTooltip () const |
| Returns the (translated) tooltip text to use for the menu button for this panel. More...
|
|
QString | panelTitle () |
| The title of the panel. More...
|
|
void | setAutoDelete (bool autoDelete) |
| The the auto delete property on the widget. More...
|
|
virtual void | setDockMode (bool dockMode) |
| Set the widget in dock mode which tells the widget to emit panel widgets and not open dialogs. More...
|
|
void | setPanelTitle (const QString &panelTitle) |
| Set the title of the panel when shown in the interface. More...
|
|