87 void initAvailableWidgetsView();
92 void initFormLayoutView();
94 void initLayoutConfig();
95 void initInitPython();
96 void initSuppressCombo();
103 void initAvailableWidgetsActions(
const QList< QgsAction > actions );
115 QgsAttributeWidgetEdit *mAttributeWidgetEdit =
nullptr;
116 QgsAttributeTypeDialog *mAttributeTypeDialog =
nullptr;
117 QgsAttributeFormContainerEdit *mAttributeContainerEdit =
nullptr;
118 QLabel *mInfoTextWidget =
nullptr;
122 void removeTabOrGroupButton();
123 void mEditorLayoutComboBox_currentIndexChanged(
int index );
124 void pbnSelectEditForm_clicked();
125 void mTbInitCode_clicked();
126 void toggleShowAliases(
bool checked );
131 void onInvertSelectionButtonClicked(
bool checked );
134 void onAttributeSelectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
135 void onFormLayoutSelectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
138 void onContextMenuRequested( QPoint );
140 void updatedFields();
144 void clearAttributeTypeFrame();
146 void loadAttributeWidgetEdit();
151 void storeAttributeWidgetEdit();
156 void storeAttributeContainerEdit();
159 void storeAttributeWidgetEdit(
const QModelIndex &index );
160 void storeAttributeContainerEdit(
const QModelIndex &index );
162 void loadAttributeTypeDialog();
164 void storeAttributeTypeDialog();
166 void loadAttributeContainerEdit();
168 void loadInfoWidget(
const QString &infoText );
170 void copyWidgetConfiguration();
171 void pasteWidgetConfiguration();
179 QString mInitFunction;
180 QString mInitFilePath;
182 int mBlockUpdates = 0;
185 QMenu *mAvailableWidgetsContextMenu =
nullptr;
186 QAction *mActionCopyWidgetConfiguration =
nullptr;
187 QAction *mActionPasteWidgetConfiguration =
nullptr;
189 friend class TestQgsAttributesFormProperties;
278 void setModel( QAbstractItemModel *model )
override;
285 void dragEnterEvent( QDragEnterEvent *event )
override;
286 void dragMoveEvent( QDragMoveEvent *event )
override;
287 void dropEvent( QDropEvent *event )
override;
290 void onItemDoubleClicked(
const QModelIndex &index );
291 void handleExternalDroppedItem( QModelIndex &index );
292 void handleInternalDroppedItem( QModelIndex &index );
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
A boolean settings entry.