| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
Dialog to add a tab or group of attributes. More...
#include <qgsaddtaborgroup.h>

| Public Types | |
| typedef QPair< QString, QTreeWidgetItem * > | TabPair | 
| Public Member Functions | |
| QgsAddTabOrGroup (QgsVectorLayer *lyr, const QList< TabPair > &tabList, QTreeWidgetItem *currentTab=nullptr, QWidget *parent=nullptr) | |
| constructor  More... | |
| void | accept () override | 
| Accepts the dialog.  More... | |
| int | columnCount () const | 
| Returns the column count.  More... | |
| QString | name () | 
| Returns the name of the tab or group.  More... | |
| QTreeWidgetItem * | tab () | 
| Returns tree item corresponding to the added tab.  More... | |
| bool | tabButtonIsChecked () | 
| Returns whether the tab button is checked.  More... | |
| Protected Attributes | |
| QgsVectorLayer * | mLayer = nullptr | 
| QList< TabPair > | mTabs | 
Dialog to add a tab or group of attributes.
Definition at line 40 of file qgsaddtaborgroup.h.
| typedef QPair<QString, QTreeWidgetItem *> QgsAddTabOrGroup::TabPair | 
Definition at line 45 of file qgsaddtaborgroup.h.
| QgsAddTabOrGroup::QgsAddTabOrGroup | ( | QgsVectorLayer * | lyr, | 
| const QList< TabPair > & | tabList, | ||
| QTreeWidgetItem * | currentTab = nullptr, | ||
| QWidget * | parent = nullptr | ||
| ) | 
constructor
Definition at line 28 of file qgsaddtaborgroup.cpp.
| 
 | override | 
Accepts the dialog.
Definition at line 87 of file qgsaddtaborgroup.cpp.
| int QgsAddTabOrGroup::columnCount | ( | ) | const | 
Returns the column count.
Definition at line 77 of file qgsaddtaborgroup.cpp.
| QString QgsAddTabOrGroup::name | ( | ) | 
Returns the name of the tab or group.
Definition at line 66 of file qgsaddtaborgroup.cpp.
| QTreeWidgetItem * QgsAddTabOrGroup::tab | ( | ) | 
Returns tree item corresponding to the added tab.
Definition at line 71 of file qgsaddtaborgroup.cpp.
| bool QgsAddTabOrGroup::tabButtonIsChecked | ( | ) | 
Returns whether the tab button is checked.
Definition at line 82 of file qgsaddtaborgroup.cpp.
| 
 | protected | 
Definition at line 72 of file qgsaddtaborgroup.h.
| 
 | protected | 
Definition at line 73 of file qgsaddtaborgroup.h.