19 #include <QStackedWidget>
21 #include "ui_qgsdualviewbase.h"
89 void setView( ViewMode view );
106 void setSelectedOnTop(
bool selectedOnTop );
121 int filteredFeatureCount();
129 void setFilteredFeatures(
const QgsFeatureIds& filteredFeatures );
148 void columnBoxInit();
164 bool saveEditChanges();
166 void openConditionalStyles();
173 void displayExpressionChanged(
const QString expression );
178 void filterChanged();
182 void on_mFeatureList_aboutToChangeEditSelection(
bool& ok );
189 void on_mFeatureList_currentEditSelectionChanged(
const QgsFeature& feat );
191 void previewExpressionBuilder();
193 void previewColumnChanged(
QObject* previewAction );
197 void previewExpressionChanged(
const QString& expression );
204 void featureFormAttributeChanged();
212 virtual void progress(
int i,
bool &cancel );
218 virtual void finished();
230 QMenu* mPreviewColumnsMenu;
237 friend class TestQgsDualView;
246 QAction( name, dualView ), mDualView( dualView ), mAction( action ), mFieldIdx( fieldIdx )
265 QAction( name, dualView ), mDualView( dualView ), mAction( action ), mFieldIdx( fieldIdx )
277 #endif // QGSDUALVIEW_H
This class contains context information for attribute editor widgets.
ViewMode
The view modes, in which this widget can present information.
QgsAttributeTableAction(const QString &name, QgsDualView *dualView, int action, const QModelIndex &fieldIdx)
QgsAttributeTableMapLayerAction(const QString &name, QgsDualView *dualView, QgsMapLayerAction *action, const QModelIndex &fieldIdx)
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A model backed by a QgsVectorLayerCache which is able to provide feature/attribute information to a Q...
Map canvas is a class for displaying all GIS data types on a canvas.
This class wraps a request for features to a vector layer (or directly its vector data provider)...
QgsFeatureIds filteredFeatures()
This class caches features of a given QgsVectorLayer.
QgsAttributeTableModel * masterModel() const
Returns the model which has the information about all features (not only filtered) ...
QgsAttributeTableFilterModel::FilterMode filterMode()
General purpose distance and area calculator.
Is an interface class to abstract feature selection handling.
Represents a vector layer which manages a vector based data sets.
An action which can run on map layers.
This widget is used to show the attributes of a set of features of a QgsVectorLayer.