XTreeWidget Class Reference
#include <xtreewidget.h>
List of all members.
Properties |
QString | altDragString |
QString | dragString |
Public Member Functions |
| XTreeWidget (QWidget *) |
| ~XTreeWidget () |
QString | altDragString () const |
Q_INVOKABLE int | altId () const |
virtual Q_INVOKABLE int | column (const QString) const |
virtual Q_INVOKABLE
XTreeWidgetItem * | currentItem () const |
QString | dragString () const |
Q_INVOKABLE XTreeWidgetItem * | findXTreeWidgetItemWithId (const XTreeWidgetItem *ptreeitem, const int pid) |
Q_INVOKABLE XTreeWidgetItem * | findXTreeWidgetItemWithId (const XTreeWidget *ptree, const int pid) |
Q_INVOKABLE int | id (const QString) const |
Q_INVOKABLE int | id () const |
void | populate (const QString &, int, bool=FALSE) |
void | populate (const QString &, bool=FALSE) |
Q_INVOKABLE void | populate (XSqlQuery, int, bool=FALSE) |
Q_INVOKABLE void | populate (XSqlQuery, bool=FALSE) |
void | setAltDragString (QString) |
virtual Q_INVOKABLE void | setColumnCount (int) |
virtual Q_INVOKABLE void | setColumnLocked (int, bool) |
virtual Q_INVOKABLE void | setColumnVisible (int, bool) |
void | setDragString (QString) |
Q_INVOKABLE void | setId (int, int) |
Q_INVOKABLE void | setId (int) |
virtual Q_INVOKABLE void | sortItems (int, Qt::SortOrder) |
Q_INVOKABLE QString | toCsv () const |
Q_INVOKABLE QString | toHtml () const |
virtual Q_INVOKABLE
XTreeWidgetItem * | topLevelItem (int idx) const |
Q_INVOKABLE QString | toTxt () const |
Public Slots |
void | addColumn (const QString &, int, int, bool=true, const QString=QString(), const QString=QString()) |
void | clear () |
void | hideColumn (const QString &) |
void | hideColumn (int colnum) |
void | sCopyCellToClipboard () |
void | sCopyRowToClipboard () |
void | sCopyVisibleToClipboard () |
void | sExport () |
void | showColumn (const QString &) |
void | showColumn (int colnum) |
Signals |
void | itemSelected (int) |
void | newId (int) |
void | populated () |
void | populateMenu (QMenu *, QTreeWidgetItem *, int) |
void | populateMenu (QMenu *, QTreeWidgetItem *) |
void | resorted () |
void | valid (bool) |
Protected Attributes |
QPoint | dragStartPosition |
Protected Member Functions |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | resizeEvent (QResizeEvent *) |
Protected Slots |
void | populateCalculatedColumns () |
void | sHeaderClicked (int) |
Constructor & Destructor Documentation
XTreeWidget::XTreeWidget |
( |
QWidget * |
pParent |
) |
|
XTreeWidget::~XTreeWidget |
( |
|
) |
|
Member Function Documentation
QString XTreeWidget::altDragString |
( |
|
) |
const |
int XTreeWidget::altId |
( |
|
) |
const |
void XTreeWidget::clear |
( |
|
) |
[slot] |
int XTreeWidget::column |
( |
const QString |
pName |
) |
const [virtual] |
QString XTreeWidget::dragString |
( |
|
) |
const |
void XTreeWidget::hideColumn |
( |
const QString & |
pColumn |
) |
[slot] |
void XTreeWidget::hideColumn |
( |
int |
colnum |
) |
[inline, slot] |
int XTreeWidget::id |
( |
const QString |
p |
) |
const |
int XTreeWidget::id |
( |
|
) |
const |
void XTreeWidget::itemSelected |
( |
int |
|
) |
[signal] |
void XTreeWidget::mouseMoveEvent |
( |
QMouseEvent * |
event |
) |
[protected, virtual] |
void XTreeWidget::mousePressEvent |
( |
QMouseEvent * |
event |
) |
[protected, virtual] |
void XTreeWidget::newId |
( |
int |
|
) |
[signal] |
void XTreeWidget::populate |
( |
const QString & |
pSql, |
|
|
int |
pIndex, |
|
|
bool |
pUseAltId = FALSE | |
|
) |
| | |
void XTreeWidget::populate |
( |
const QString & |
pSql, |
|
|
bool |
pUseAltId = FALSE | |
|
) |
| | |
void XTreeWidget::populate |
( |
XSqlQuery |
pQuery, |
|
|
int |
pIndex, |
|
|
bool |
pUseAltId = FALSE | |
|
) |
| | |
void XTreeWidget::populate |
( |
XSqlQuery |
pQuery, |
|
|
bool |
pUseAltId = FALSE | |
|
) |
| | |
void XTreeWidget::populateCalculatedColumns |
( |
|
) |
[protected, slot] |
void XTreeWidget::populated |
( |
|
) |
[signal] |
void XTreeWidget::resizeEvent |
( |
QResizeEvent * |
e |
) |
[protected, virtual] |
void XTreeWidget::resorted |
( |
|
) |
[signal] |
void XTreeWidget::sCopyCellToClipboard |
( |
|
) |
[slot] |
void XTreeWidget::sCopyRowToClipboard |
( |
|
) |
[slot] |
void XTreeWidget::sCopyVisibleToClipboard |
( |
|
) |
[slot] |
void XTreeWidget::setAltDragString |
( |
QString |
pAltDragString |
) |
|
void XTreeWidget::setColumnCount |
( |
int |
p |
) |
[virtual] |
void XTreeWidget::setColumnLocked |
( |
int |
pColumn, |
|
|
bool |
pLocked | |
|
) |
| | [virtual] |
void XTreeWidget::setColumnVisible |
( |
int |
pColumn, |
|
|
bool |
pVisible | |
|
) |
| | [virtual] |
void XTreeWidget::setDragString |
( |
QString |
pDragString |
) |
|
void XTreeWidget::setId |
( |
int |
pId, |
|
|
int |
pAltId | |
|
) |
| | |
void XTreeWidget::setId |
( |
int |
pId |
) |
|
void XTreeWidget::sExport |
( |
|
) |
[slot] |
void XTreeWidget::sHeaderClicked |
( |
int |
column |
) |
[protected, slot] |
void XTreeWidget::showColumn |
( |
const QString & |
pColumn |
) |
[slot] |
void XTreeWidget::showColumn |
( |
int |
colnum |
) |
[inline, slot] |
void XTreeWidget::sortItems |
( |
int |
column, |
|
|
Qt::SortOrder |
order | |
|
) |
| | [virtual] |
QString XTreeWidget::toCsv |
( |
|
) |
const |
QString XTreeWidget::toHtml |
( |
|
) |
const |
QString XTreeWidget::toTxt |
( |
|
) |
const |
void XTreeWidget::valid |
( |
bool |
|
) |
[signal] |
Member Data Documentation
Property Documentation
QString XTreeWidget::altDragString [read, write] |
QString XTreeWidget::dragString [read, write] |
The documentation for this class was generated from the following files: