#include <PrimaryKeyItem.h>
Public Member Functions | |
| bool | canFetchMore () const |
| int | columnCount () const |
| QVariant | data (int column, int role) const |
| void | fetchMore () |
| Qt::ItemFlags | flags () const |
| QMenu * | getMenu (QWidget *parent=0) const |
| te::da::PrimaryKey * | getPrimaryKey () const |
| bool | hasChildren () const |
| PrimaryKeyItem (te::da::PrimaryKey *pk, AbstractDataSourceTreeItem *parent) | |
| Constructor. More... | |
| bool | setData (const QVariant &value, int role=Qt::EditRole) |
| ~PrimaryKeyItem () | |
Private Attributes | |
| te::da::PrimaryKey * | m_pk |
Definition at line 40 of file PrimaryKeyItem.h.
| te::qt::widgets::PrimaryKeyItem::PrimaryKeyItem | ( | te::da::PrimaryKey * | pk, |
| AbstractDataSourceTreeItem * | parent | ||
| ) |
Constructor.
| pk | The primary-key to be showned. If it is associated to a dataset the item will not take its ownership, otherwise, it will. |
| parent | The parent item in the tree or NULL if it is a root item. |
Definition at line 37 of file PrimaryKeyItem.cpp.
| te::qt::widgets::PrimaryKeyItem::~PrimaryKeyItem | ( | ) |
Definition at line 43 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 76 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 49 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 54 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 89 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 84 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 65 of file PrimaryKeyItem.cpp.
| te::da::PrimaryKey * te::qt::widgets::PrimaryKeyItem::getPrimaryKey | ( | ) | const |
Definition at line 107 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 97 of file PrimaryKeyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 102 of file PrimaryKeyItem.cpp.
|
private |
Definition at line 76 of file PrimaryKeyItem.h.