TTreeViewDialog Class

Header: #include <TTreeViewDialog>
Inherits: TDialog and TUiInterface

Public Functions

TTreeViewDialog(QWidget *parent = 0)
~TTreeViewDialog()
  • 2 public functions inherited from TDialog
  • 8 public functions inherited from QDialog
  • 213 public functions inherited from QWidget

Public Slots

TDialogButtonBox *buttonBox()
virtual QVariant getData(const QString &key = "", const QVariant &options = QVariant())
void loadTreeData(const QVariantList &iDataVarLst, const QString &iChildKeyStr = QString( "CHILDREN" ))
TPageTool *pageTool()
void refreshData(bool iResetPage = true)
QVariantList run(bool iIcludeHiddlenBol = false, int *oAnswerInt = 0)
TSearchEntry *searchEntry()
void selectRows(const QVariantList &iKeyVarLst, bool iClearBeforeBol = true)
void setButtons(const QStringList &iButtonStrLst)
virtual void setData(const QString &key, const QVariant &data)
void setDataKeyList(const QStringList &iKeyStrLst)
void setHeaderItem(const QVariantList &iHeaderItemVarLst)
void setIcon(const QString &iIconStr)
void setPageSize(int iPageSize)
void setPrimaryKey(const QString &iKeyStr)
void setSearchCallback(std::function<QVariant( QVariantMap ) > iCallback)
void setSearchDelayTime(int iMsInt)
void setSearchKeys(const QStringList &iKeyStrLst)
void setSearchText(const QString &iTextStr)
void setSelectionMode(const QAbstractItemView::SelectionMode &iSelectionMode)
void setTitle(const QString &iTitleStr)
TTreeView *treeView()

Signals

virtual void notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" ))

Additional Inherited Members

  • 2 properties inherited from QDialog
  • 58 properties inherited from QWidget
  • 5 static public members inherited from QWidget
  • 2 protected functions inherited from TDialog
  • 2 protected functions inherited from TUiInterface
  • 7 protected functions inherited from QDialog
  • 35 protected functions inherited from QWidget
  • 1 protected slot inherited from QWidget

Detailed Description

Member Function Documentation

TTreeViewDialog::TTreeViewDialog(QWidget *parent = 0)

Default constructs an instance of TTreeViewDialog.

TTreeViewDialog::~TTreeViewDialog()

Destroys the instance of TTreeViewDialog.

[slot] TDialogButtonBox *TTreeViewDialog::buttonBox()

[virtual slot] QVariant TTreeViewDialog::getData(const QString &key = "", const QVariant &options = QVariant())

[slot] void TTreeViewDialog::loadTreeData(const QVariantList &iDataVarLst, const QString &iChildKeyStr = QString( "CHILDREN" ))

[virtual signal] void TTreeViewDialog::notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" ))

[slot] TPageTool *TTreeViewDialog::pageTool()

[slot] void TTreeViewDialog::refreshData(bool iResetPage = true)

[slot] QVariantList TTreeViewDialog::run(bool iIcludeHiddlenBol = false, int *oAnswerInt = 0)

[slot] TSearchEntry *TTreeViewDialog::searchEntry()

[slot] void TTreeViewDialog::selectRows(const QVariantList &iKeyVarLst, bool iClearBeforeBol = true)

[slot] void TTreeViewDialog::setButtons(const QStringList &iButtonStrLst)

[virtual slot] void TTreeViewDialog::setData(const QString &key, const QVariant &data)

[slot] void TTreeViewDialog::setDataKeyList(const QStringList &iKeyStrLst)

[slot] void TTreeViewDialog::setHeaderItem(const QVariantList &iHeaderItemVarLst)

[slot] void TTreeViewDialog::setIcon(const QString &iIconStr)

[slot] void TTreeViewDialog::setPageSize(int iPageSize)

[slot] void TTreeViewDialog::setPrimaryKey(const QString &iKeyStr)

[slot] void TTreeViewDialog::setSearchCallback(std::function<QVariant( QVariantMap ) > iCallback)

[slot] void TTreeViewDialog::setSearchDelayTime(int iMsInt)

[slot] void TTreeViewDialog::setSearchKeys(const QStringList &iKeyStrLst)

[slot] void TTreeViewDialog::setSearchText(const QString &iTextStr)

[slot] void TTreeViewDialog::setSelectionMode(const QAbstractItemView::SelectionMode &iSelectionMode)

[slot] void TTreeViewDialog::setTitle(const QString &iTitleStr)

[slot] TTreeView *TTreeViewDialog::treeView()