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();
142 void updateFilteredItems(
const QString &filterText );
146 void clearAttributeTypeFrame();
148 void loadAttributeWidgetEdit();
153 void storeAttributeWidgetEdit();
158 void storeAttributeContainerEdit();
161 void storeAttributeWidgetEdit(
const QModelIndex &index );
162 void storeAttributeContainerEdit(
const QModelIndex &index );
164 void loadAttributeTypeDialog();
166 void storeAttributeTypeDialog();
168 void loadAttributeContainerEdit();
170 void loadInfoWidget(
const QString &infoText );
172 void copyWidgetConfiguration();
173 void pasteWidgetConfiguration();
183 QString mInitFunction;
184 QString mInitFilePath;
186 int mBlockUpdates = 0;
189 QMenu *mAvailableWidgetsContextMenu =
nullptr;
190 QAction *mActionCopyWidgetConfiguration =
nullptr;
191 QAction *mActionPasteWidgetConfiguration =
nullptr;
193 friend class TestQgsAttributesFormProperties;
294 void setModel( QAbstractItemModel *model )
override;
298 void dragEnterEvent( QDragEnterEvent *event )
override;
299 void dragMoveEvent( QDragMoveEvent *event )
override;
300 void dropEvent( QDropEvent *event )
override;
303 void onItemDoubleClicked(
const QModelIndex &index );
304 void handleExternalDroppedItem( QModelIndex &index );
305 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.