|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
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 | |
| void | accept () override |
| Accepts the dialog. | |
| int | columnCount () const |
| Returns the column count. | |
| Qgis::AttributeEditorContainerType | containerType () const |
| Returns the container type. | |
| QString | name () |
| Returns the name of the tab or group. | |
| QTreeWidgetItem * | parentContainerItem () |
| Returns tree item corresponding to the selected parent container. | |
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.