| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Creates panels to configure attributes forms. More...
#include <qgsattributesformproperties.h>

Public Member Functions | |
| QgsAttributesFormProperties (QgsVectorLayer *layer, QWidget *parent=nullptr) | |
| void | apply () | 
| Applies the attribute from properties to the vector layer.   | |
| QgsExpressionContext | createExpressionContext () const override | 
| This method needs to be reimplemented in all classes which implement this interface and return an expression context.   | |
| void | init () | 
| void | initAvailableWidgetsActions (const QList< QgsAction > actions) | 
| Refresh layer actions in the Available Widgets view.   | |
| void | initAvailableWidgetsView () | 
| Initializes the available widgets tree view, repopulating the underlying model.   | |
| void | initFormLayoutView () | 
| Initializes the form layout tree view, repopulating the underlying model.   | |
| void | initInitPython () | 
| void | initLayoutConfig () | 
| void | initSuppressCombo () | 
| void | loadRelations () | 
| void | store () | 
| Stores currently opened widget configuration.   | |
  Public Member Functions inherited from QgsExpressionContextGenerator | |
| virtual | ~QgsExpressionContextGenerator ()=default | 
Static Public Attributes | |
| static const QgsSettingsEntryBool * | settingShowAliases = new QgsSettingsEntryBool( QStringLiteral( "show-aliases" ), sTreeAttributesForm, false, QStringLiteral( "Whether to show aliases (true) or names (false) in both the Available Widgets and the Form Layout panels." ) ) | 
| static QgsSettingsTreeNode * | sTreeAttributesForm = QgsSettingsTree::sTreeApp->createChildNode( QStringLiteral( "attributes-form" ) ) | 
Protected Member Functions | |
| void | updateButtons () | 
Protected Attributes | |
| QgsAttributeFormContainerEdit * | mAttributeContainerEdit = nullptr | 
| QgsAttributeTypeDialog * | mAttributeTypeDialog = nullptr | 
| QgsAttributeWidgetEdit * | mAttributeWidgetEdit = nullptr | 
| QgsAttributesFormBaseView * | mAvailableWidgetsView = nullptr | 
| QgsAttributesFormBaseView * | mFormLayoutView = nullptr | 
| QLabel * | mInfoTextWidget = nullptr | 
| QgsVectorLayer * | mLayer = nullptr | 
Friends | |
| class | TestQgsAttributesFormProperties | 
Creates panels to configure attributes forms.
Definition at line 59 of file qgsattributesformproperties.h.
      
  | 
  explicit | 
Definition at line 47 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::apply | ( | ) | 
Applies the attribute from properties to the vector layer.
Definition at line 773 of file qgsattributesformproperties.cpp.
      
  | 
  overridevirtual | 
This method needs to be reimplemented in all classes which implement this interface and return an expression context.
Implements QgsExpressionContextGenerator.
Definition at line 197 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::init | ( | ) | 
Definition at line 136 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initAvailableWidgetsActions | ( | const QList< QgsAction > | actions | ) | 
Refresh layer actions in the Available Widgets view.
| actions | Up-to-date list of actions | 
Definition at line 192 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initAvailableWidgetsView | ( | ) | 
Initializes the available widgets tree view, repopulating the underlying model.
Definition at line 146 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initFormLayoutView | ( | ) | 
Initializes the form layout tree view, repopulating the underlying model.
Definition at line 159 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initInitPython | ( | ) | 
Definition at line 214 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initLayoutConfig | ( | ) | 
Definition at line 204 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::initSuppressCombo | ( | ) | 
Definition at line 176 of file qgsattributesformproperties.cpp.
| void QgsAttributesFormProperties::loadRelations | ( | ) | 
| void QgsAttributesFormProperties::store | ( | ) | 
Stores currently opened widget configuration.
Definition at line 766 of file qgsattributesformproperties.cpp.
      
  | 
  protected | 
      
  | 
  friend | 
Definition at line 193 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 117 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 116 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 115 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 112 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 113 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 118 of file qgsattributesformproperties.h.
      
  | 
  protected | 
Definition at line 110 of file qgsattributesformproperties.h.
      
  | 
  static | 
Definition at line 65 of file qgsattributesformproperties.h.
      
  | 
  inlinestatic | 
Definition at line 64 of file qgsattributesformproperties.h.