| 
    QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
    
   | 
 
Dialog to add a tab or group of attributes. More...
#include <qgsaddtaborgroup.h>

Public Types | |
| typedef QPair< QString, QTreeWidgetItem * > | ContainerPair | 
Public Member Functions | |
| QgsAddAttributeFormContainerDialog (QgsVectorLayer *lyr, const QList< ContainerPair > &existingContainerList, QTreeWidgetItem *currentTab=nullptr, QWidget *parent=nullptr) | |
| constructor  More... | |
| void | accept () override | 
| Accepts the dialog.  More... | |
| int | columnCount () const | 
| Returns the column count.  More... | |
| Qgis::AttributeEditorContainerType | containerType () const | 
| Returns the container type.  More... | |
| QString | name () | 
| Returns the name of the tab or group.  More... | |
| QTreeWidgetItem * | parentContainerItem () | 
| Returns tree item corresponding to the selected parent container.  More... | |
Protected Attributes | |
| QList< ContainerPair > | mExistingContainers | 
| QgsVectorLayer * | mLayer = nullptr | 
Dialog to add a tab or group of attributes.
Definition at line 39 of file qgsaddtaborgroup.h.
| typedef QPair<QString, QTreeWidgetItem *> QgsAddAttributeFormContainerDialog::ContainerPair | 
Definition at line 44 of file qgsaddtaborgroup.h.
| QgsAddAttributeFormContainerDialog::QgsAddAttributeFormContainerDialog | ( | QgsVectorLayer * | lyr, | 
| const QList< ContainerPair > & | existingContainerList, | ||
| QTreeWidgetItem * | currentTab = nullptr,  | 
        ||
| QWidget * | parent = nullptr  | 
        ||
| ) | 
constructor
Definition at line 28 of file qgsaddtaborgroup.cpp.
      
  | 
  override | 
Accepts the dialog.
Definition at line 94 of file qgsaddtaborgroup.cpp.
| int QgsAddAttributeFormContainerDialog::columnCount | ( | ) | const | 
Returns the column count.
Definition at line 84 of file qgsaddtaborgroup.cpp.
| Qgis::AttributeEditorContainerType QgsAddAttributeFormContainerDialog::containerType | ( | ) | const | 
| QString QgsAddAttributeFormContainerDialog::name | ( | ) | 
Returns the name of the tab or group.
Definition at line 67 of file qgsaddtaborgroup.cpp.
| QTreeWidgetItem * QgsAddAttributeFormContainerDialog::parentContainerItem | ( | ) | 
Returns tree item corresponding to the selected parent container.
Will be nullptr when a new tab is created. 
Definition at line 72 of file qgsaddtaborgroup.cpp.
      
  | 
  protected | 
Definition at line 79 of file qgsaddtaborgroup.h.
      
  | 
  protected | 
Definition at line 78 of file qgsaddtaborgroup.h.