16 #ifndef QGSRELATIONEDITOR_H 17 #define QGSRELATIONEDITOR_H 20 #include <QToolButton> 21 #include <QButtonGroup> 22 #include <QGridLayout> 37 Q_PROPERTY( QString qgisRelation READ qgisRelation WRITE setQgisRelation )
38 Q_PROPERTY(
QgsDualView::ViewMode viewMode READ viewMode WRITE setViewMode )
60 void setViewMode(
int mode ) {setViewMode( static_cast<QgsDualView::ViewMode>( mode ) );}
61 void referencingLayerEditingToggled();
68 void toggleEditing(
bool state );
69 void onCollapsedStateChanged(
bool collapsed );
80 QToolButton* mToggleEditingButton;
81 QToolButton* mSaveEditsButton;
82 QToolButton* mAddFeatureButton;
83 QToolButton* mDeleteFeatureButton;
84 QToolButton* mLinkFeatureButton;
85 QToolButton* mUnlinkFeatureButton;
86 QToolButton* mFormViewButton;
87 QToolButton* mTableViewButton;
88 QGridLayout* mRelationLayout;
89 QButtonGroup* mViewModeButtonGroup;
94 #endif // QGSRELATIONEDITOR_H
A groupbox that collapses/expands when toggled and can save its collapsed and checked states...
This class contains context information for attribute editor widgets.
ViewMode
The view modes, in which this widget can present information.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
This selection manager synchronizes a local set of selected features with an attribute table...
Represents a vector layer which manages a vector based data sets.
This widget is used to show the attributes of a set of features of a QgsVectorLayer.