List of all members | Public Types | Properties | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes
XTreeWidget Class Reference

#include <xtreewidget.h>

Inheritance diagram for XTreeWidget:
QTreeWidget QTreeView QAbstractItemView QAbstractScrollArea QFrame QWidget QObject QPaintDevice PeriodsListView

Public Types

enum  PopulateStyle { Replace, Append }
 

Properties

 acceptDrops
 
 accessibleDescription
 
 accessibleName
 
 allColumnsShowFocus
 
QString altDragString
 
 alternatingRowColors
 
 animated
 
 autoExpandDelay
 
 autoFillBackground
 
 autoScroll
 
 autoScrollMargin
 
 baseSize
 
 childrenRect
 
 childrenRegion
 
 columnCount
 
 contextMenuPolicy
 
 cursor
 
 defaultDropAction
 
 dragDropMode
 
 dragDropOverwriteMode
 
 dragEnabled
 
QString dragString
 
 editTriggers
 
 enabled
 
 expandsOnDoubleClick
 
 focus
 
 focusPolicy
 
 font
 
 frameGeometry
 
 frameRect
 
 frameShadow
 
 frameShape
 
 frameSize
 
 frameWidth
 
 fullScreen
 
 geometry
 
 headerHidden
 
 height
 
 horizontalScrollBarPolicy
 
 horizontalScrollMode
 
 iconSize
 
 indentation
 
 inputMethodHints
 
 isActiveWindow
 
 itemsExpandable
 
 layoutDirection
 
 lineWidth
 
 locale
 
 maximized
 
 maximumHeight
 
 maximumSize
 
 maximumWidth
 
 midLineWidth
 
 minimized
 
 minimumHeight
 
 minimumSize
 
 minimumSizeHint
 
 minimumWidth
 
 modal
 
 mouseTracking
 
 normalGeometry
 
 objectName
 
 palette
 
bool populateLinear
 
 pos
 
 rect
 
 rootIsDecorated
 
 selectionBehavior
 
 selectionMode
 
 showDropIndicator
 
 size
 
 sizeHint
 
 sizeIncrement
 
 sizePolicy
 
 sortingEnabled
 
 statusTip
 
 styleSheet
 
 tabKeyNavigation
 
 textElideMode
 
 toolTip
 
 topLevelItemCount
 
 uniformRowHeights
 
 updatesEnabled
 
 verticalScrollBarPolicy
 
 verticalScrollMode
 
 visible
 
 whatsThis
 
 width
 
 windowFilePath
 
 windowFlags
 
 windowIcon
 
 windowIconText
 
 windowModality
 
 windowModified
 
 windowOpacity
 
 windowTitle
 
 wordWrap
 
 x
 
 y
 

Public Slots

void addColumn (const QString &, int, int, bool=true, const QString=QString(), const QString=QString(), const int scale=0)
 
void clear ()
 
void hideColumn (int colnum)
 
void hideColumn (const QString &)
 
void sCopyCellToClipboard ()
 
void sCopyRowToClipboard ()
 
void sCopyVisibleToClipboard ()
 
void sExport ()
 
void showColumn (int colnum)
 
void showColumn (const QString &)
 
void sSearch (const QString &)
 

Signals

void currentItemChanged (XTreeWidgetItem *, XTreeWidgetItem *)
 
void itemActivated (XTreeWidgetItem *item, int column)
 
void itemChanged (XTreeWidgetItem *item, int column)
 
void itemClicked (XTreeWidgetItem *item, int column)
 
void itemCollapsed (XTreeWidgetItem *item)
 
void itemDoubleClicked (XTreeWidgetItem *item, int column)
 
void itemEntered (XTreeWidgetItem *item, int column)
 
void itemExpanded (XTreeWidgetItem *item)
 
void itemPressed (XTreeWidgetItem *item, int column)
 
void itemSelected (int)
 
void newId (int)
 
void populated ()
 
void populateMenu (QMenu *, QTreeWidgetItem *)
 
void populateMenu (QMenu *, QTreeWidgetItem *, int)
 
void populateMenu (QMenu *, XTreeWidgetItem *)
 
void populateMenu (QMenu *, XTreeWidgetItem *, int)
 
void resorted ()
 
void valid (bool)
 

Public Member Functions

 XTreeWidget (QWidget *)
 
 ~XTreeWidget ()
 
bool acceptDrops () const
 
QString accessibleDescription () const
 
QString accessibleName () const
 
QList< QAction * > actions () const
 
void activated (const QModelIndex &index)
 
void activateWindow ()
 
void addAction (QAction *action)
 
void addActions (QList< QAction * > actions)
 
void addScrollBarWidget (QWidget *widget, QFlags< Qt::AlignmentFlag > alignment)
 
void addTopLevelItem (QTreeWidgetItem *item)
 
Q_INVOKABLE void addTopLevelItem (XTreeWidgetItem *item)
 
void addTopLevelItems (const QList< QTreeWidgetItem * > &items)
 
Q_INVOKABLE void addTopLevelItems (const QList< XTreeWidgetItem * > &items)
 
void adjustSize ()
 
bool allColumnsShowFocus () const
 
QString altDragString () const
 
bool alternatingRowColors () const
 
Q_INVOKABLE int altId () const
 
int autoExpandDelay () const
 
bool autoFillBackground () const
 
int autoScrollMargin () const
 
Qt::BackgroundMode backgroundMode () const
 
QPoint backgroundOffset () const
 
BackgroundOrigin backgroundOrigin () const
 
QPalette::ColorRole backgroundRole () const
 
QSize baseSize () const
 
bool blockSignals (bool block)
 
QString caption () const
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
QWidgetchildAt (int x, int y) const
 
QWidgetchildAt (const QPoint &p) const
 
QWidgetchildAt (int x, int y, bool includeThis) const
 
QWidgetchildAt (const QPoint &p, bool includeThis) const
 
const QObjectList & children () const
 
QRect childrenRect () const
 
QRegion childrenRegion () const
 
const char * className () const
 
void clearFocus ()
 
void clearMask ()
 
void clearSelection ()
 
void clicked (const QModelIndex &index)
 
bool close ()
 
bool close (bool alsoDelete)
 
void closePersistentEditor (const QModelIndex &index)
 
void closePersistentEditor (QTreeWidgetItem *item, int column)
 
Q_INVOKABLE void closePersistentEditor (XTreeWidgetItem *item, int column=0)
 
void collapse (const QModelIndex &index)
 
void collapseAll ()
 
void collapsed (const QModelIndex &index)
 
void collapseItem (const QTreeWidgetItem *item)
 
int colorCount () const
 
QColorGroup colorGroup () const
 
virtual Q_INVOKABLE int column (const QString) const
 
int columnAt (int x) const
 
Q_INVOKABLE int columnCount () const
 
int columnViewportPosition (int column) const
 
int columnWidth (int column) const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void constPolish () const
 
QMargins contentsMargins () const
 
QRect contentsRect () const
 
Qt::ContextMenuPolicy contextMenuPolicy () const
 
QWidgetcornerWidget () const
 
Q_INVOKABLE int currentColumn () const
 
QModelIndex currentIndex () const
 
virtual Q_INVOKABLE
XTreeWidgetItem
currentItem () const
 
void currentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous)
 
QCursor cursor () const
 
void customContextMenuRequested (const QPoint &pos)
 
virtual void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
Qt::DropAction defaultDropAction () const
 
void deleteLater ()
 
int depth () const
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *receiver, const char *method)
 
void doubleClicked (const QModelIndex &index)
 
DragDropMode dragDropMode () const
 
bool dragDropOverwriteMode () const
 
bool dragEnabled () const
 
QString dragString () const
 
void drawText (const QPoint &p, const QString &s)
 
void drawText (int x, int y, const QString &s)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
void edit (const QModelIndex &index)
 
void editItem (QTreeWidgetItem *item, int column)
 
Q_INVOKABLE void editItem (XTreeWidgetItem *item, int column=0)
 
EditTriggers editTriggers () const
 
WId effectiveWinId () const
 
void ensurePolished () const
 
void entered (const QModelIndex &index)
 
void erase ()
 
void erase (int x, int y, int w, int h)
 
void erase (const QRect &rect)
 
void erase (const QRegion &rgn)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
void expand (const QModelIndex &index)
 
void expandAll ()
 
void expanded (const QModelIndex &index)
 
void expandItem (const QTreeWidgetItem *item)
 
bool expandsOnDoubleClick () const
 
void expandToDepth (int depth)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< QTreeWidgetItem * > findItems (const QString &text, QFlags< Qt::MatchFlag > flags, int column) const
 
Q_INVOKABLE QList
< XTreeWidgetItem * > 
findItems (const QString &text, Qt::MatchFlags flags, int column=0, int role=0) const
 
Q_INVOKABLE XTreeWidgetItemfindXTreeWidgetItemWithId (const XTreeWidget *ptree, const int pid)
 
Q_INVOKABLE XTreeWidgetItemfindXTreeWidgetItemWithId (const XTreeWidgetItem *ptreeitem, const int pid)
 
Qt::FocusPolicy focusPolicy () const
 
QWidgetfocusProxy () const
 
QWidgetfocusWidget () const
 
const QFontfont () const
 
QFontInfo fontInfo () const
 
QFontMetrics fontMetrics () const
 
QPalette::ColorRole foregroundRole () const
 
QRect frameGeometry () const
 
QRect frameRect () const
 
Shadow frameShadow () const
 
Shape frameShape () const
 
QSize frameSize () const
 
int frameStyle () const
 
int frameWidth () const
 
const QRectgeometry () const
 
void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
virtual HDC getDC () const
 
void grabGesture (Qt::GestureType gesture, QFlags< Qt::GestureFlag > flags)
 
void grabKeyboard ()
 
void grabMouse ()
 
void grabMouse (const QCursor &cursor)
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context)
 
QGraphicsEffectgraphicsEffect () const
 
QGraphicsProxyWidgetgraphicsProxyWidget () const
 
bool hasAutoScroll () const
 
bool hasEditFocus () const
 
bool hasFocus () const
 
bool hasMouse () const
 
bool hasMouseTracking () const
 
QHeaderViewheader () const
 
Q_INVOKABLE QTreeWidgetItemheaderItem () const
 
int height () const
 
virtual int heightForWidth (int w) const
 
int heightMM () const
 
void hide ()
 
QScrollBarhorizontalScrollBar () const
 
Qt::ScrollBarPolicy horizontalScrollBarPolicy () const
 
ScrollMode horizontalScrollMode () const
 
const QPixmapicon () const
 
void iconify ()
 
QSize iconSize () const
 
QString iconText () const
 
Q_INVOKABLE int id () const
 
Q_INVOKABLE int id (const QString) const
 
int indentation () const
 
QModelIndex indexAbove (const QModelIndex &index) const
 
virtual QModelIndex indexAt (const QPoint &point) const
 
QModelIndex indexBelow (const QModelIndex &index) const
 
int indexOfTopLevelItem (QTreeWidgetItem *item) const
 
Q_INVOKABLE int indexOfTopLevelItem (XTreeWidgetItem *item) const
 
QWidgetindexWidget (const QModelIndex &index) const
 
bool inherits (const char *className) const
 
QInputContextinputContext ()
 
Qt::InputMethodHints inputMethodHints () const
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
 
void insertAction (QAction *before, QAction *action)
 
void insertActions (QAction *before, QList< QAction * > actions)
 
void insertChild (QObject *object)
 
void insertTopLevelItem (int index, QTreeWidgetItem *item)
 
Q_INVOKABLE void insertTopLevelItem (int index, XTreeWidgetItem *item)
 
void insertTopLevelItems (int index, const QList< QTreeWidgetItem * > &items)
 
Q_INVOKABLE void insertTopLevelItems (int index, const QList< XTreeWidgetItem * > &items)
 
void installEventFilter (QObject *filterObj)
 
Q_INVOKABLE XTreeWidgetIteminvisibleRootItem () const
 
bool isA (const char *className) const
 
bool isActiveWindow () const
 
bool isAncestorOf (const QWidget *child) const
 
bool isAnimated () const
 
bool isColumnHidden (int column) const
 
bool isDesktop () const
 
bool isDialog () const
 
bool isEnabled () const
 
bool isEnabledTo (QWidget *ancestor) const
 
bool isEnabledToTLW () const
 
bool isExpanded (const QModelIndex &index) const
 
bool isFirstColumnSpanned (int row, const QModelIndex &parent) const
 
bool isFirstItemColumnSpanned (const QTreeWidgetItem *item) const
 
Q_INVOKABLE bool isFirstItemColumnSpanned (const XTreeWidgetItem *item) const
 
bool isFullScreen () const
 
bool isHeaderHidden () const
 
bool isHidden () const
 
bool isInputMethodEnabled () const
 
bool isItemExpanded (const QTreeWidgetItem *item) const
 
bool isItemHidden (const QTreeWidgetItem *item) const
 
bool isItemSelected (const QTreeWidgetItem *item) const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
bool isPopup () const
 
bool isRowHidden (int row, const QModelIndex &parent) const
 
bool isShown () const
 
bool isSortingEnabled () const
 
bool isTopLevel () const
 
bool isUpdatesEnabled () const
 
bool isVisible () const
 
bool isVisibleTo (QWidget *ancestor) const
 
bool isVisibleToTLW () const
 
bool isWidgetType () const
 
bool isWindow () const
 
bool isWindowModified () const
 
QTreeWidgetItemitemAbove (const QTreeWidgetItem *item) const
 
Q_INVOKABLE XTreeWidgetItemitemAbove (const XTreeWidgetItem *item) const
 
void itemActivated (QTreeWidgetItem *item, int column)
 
Q_INVOKABLE QTreeWidgetItemitemAt (const QPoint &p) const
 
Q_INVOKABLE QTreeWidgetItemitemAt (int x, int y) const
 
QTreeWidgetItemitemBelow (const QTreeWidgetItem *item) const
 
Q_INVOKABLE QTreeWidgetItemitemBelow (const XTreeWidgetItem *item) const
 
void itemChanged (QTreeWidgetItem *item, int column)
 
void itemClicked (QTreeWidgetItem *item, int column)
 
void itemCollapsed (QTreeWidgetItem *item)
 
QAbstractItemDelegateitemDelegate () const
 
QAbstractItemDelegateitemDelegate (const QModelIndex &index) const
 
QAbstractItemDelegateitemDelegateForColumn (int column) const
 
QAbstractItemDelegateitemDelegateForRow (int row) const
 
void itemDoubleClicked (QTreeWidgetItem *item, int column)
 
void itemEntered (QTreeWidgetItem *item, int column)
 
void itemExpanded (QTreeWidgetItem *item)
 
void itemPressed (QTreeWidgetItem *item, int column)
 
void itemSelectionChanged ()
 
bool itemsExpandable () const
 
QWidgetitemWidget (QTreeWidgetItem *item, int column) const
 
Q_INVOKABLE QWidgetitemWidget (XTreeWidgetItem *item, int column) const
 
virtual void keyboardSearch (const QString &search)
 
void killTimer (int id)
 
QLayoutlayout () const
 
Qt::LayoutDirection layoutDirection () const
 
int lineWidth () const
 
QLocale locale () const
 
int logicalDpiX () const
 
int logicalDpiY () const
 
void lower ()
 
Qt::HANDLE macCGHandle () const
 
Qt::HANDLE macQDHandle () const
 
QPoint mapFrom (QWidget *parent, const QPoint &pos) const
 
QPoint mapFromGlobal (const QPoint &pos) const
 
QPoint mapFromParent (const QPoint &pos) const
 
QPoint mapTo (QWidget *parent, const QPoint &pos) const
 
QPoint mapToGlobal (const QPoint &pos) const
 
QPoint mapToParent (const QPoint &pos) const
 
QRegion mask () const
 
int maximumHeight () const
 
QSize maximumSize () const
 
QSize maximumViewportSize () const
 
int maximumWidth () const
 
virtual const QMetaObjectmetaObject () const
 
int midLineWidth () const
 
int minimumHeight () const
 
QSize minimumSize () const
 
virtual QSize minimumSizeHint () const
 
int minimumWidth () const
 
QAbstractItemModelmodel () const
 
void move (const QPoint &)
 
void move (int x, int y)
 
Q_INVOKABLE void moveColumn (int from, int to)
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QWidgetnativeParentWidget () const
 
QWidgetnextInFocusChain () const
 
QRect normalGeometry () const
 
int numColors () const
 
QString objectName () const
 
void openPersistentEditor (QTreeWidgetItem *item, int column)
 
void openPersistentEditor (const QModelIndex &index)
 
Q_INVOKABLE void openPersistentEditor (XTreeWidgetItem *item, int column=0)
 
void overrideWindowFlags (QFlags< Qt::WindowType > flags)
 
bool ownCursor () const
 
bool ownFont () const
 
bool ownPalette () const
 
virtual QPaintEnginepaintEngine () const
 
bool paintingActive () const
 
const QPalettepalette () const
 
QObjectparent () const
 
QWidgetparentWidget () const
 
QWidgetparentWidget (bool sameWindow) const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
QPlatformWindow * platformWindow () const
 
QPlatformWindowFormat platformWindowFormat () const
 
void polish ()
 
Q_INVOKABLE void populate (XSqlQuery, bool=FALSE, PopulateStyle=Replace)
 
Q_INVOKABLE void populate (XSqlQuery, int, bool=FALSE, PopulateStyle=Replace)
 
void populate (const QString &, bool=FALSE)
 
void populate (const QString &, int, bool=FALSE)
 
bool populateLinear ()
 
QPoint pos () const
 
void pressed (const QModelIndex &index)
 
QWidgetpreviousInFocusChain () const
 
QVariant property (const char *name) const
 
void raise ()
 
Q_INVOKABLE QVariant rawValue (const QString colname) const
 
void recreate (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
QRect rect () const
 
virtual void releaseDC (HDC hdc) const
 
void releaseKeyboard ()
 
void releaseMouse ()
 
void releaseShortcut (int id)
 
void removeAction (QAction *action)
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void removeItemWidget (QTreeWidgetItem *item, int column)
 
Q_INVOKABLE void removeItemWidget (XTreeWidgetItem *item, int column)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void repaint (const QRegion &rgn)
 
void repaint (const QRegion &rgn, bool b)
 
void repaint ()
 
void repaint (int x, int y, int w, int h)
 
void repaint (const QRect &rect)
 
void repaint (bool b)
 
void repaint (const QRect &r, bool b)
 
void repaint (int x, int y, int w, int h, bool b)
 
void reparent (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
void reparent (QWidget *parent, const QPoint &p, bool showIt)
 
virtual void reset ()
 
void resize (int w, int h)
 
void resize (const QSize &)
 
void resizeColumnToContents (int column)
 
bool restoreGeometry (const QByteArray &geometry)
 
QModelIndex rootIndex () const
 
bool rootIsDecorated () const
 
QByteArray saveGeometry () const
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &r)
 
QWidgetList scrollBarWidgets (QFlags< Qt::AlignmentFlag > alignment)
 
virtual void scrollTo (const QModelIndex &index, ScrollHint hint)
 
void scrollToBottom ()
 
void scrollToItem (const QTreeWidgetItem *item, QAbstractItemView::ScrollHint hint)
 
void scrollToTop ()
 
virtual void selectAll ()
 
Q_INVOKABLE QList
< XTreeWidgetItem * > 
selectedItems () const
 
QAbstractItemView::SelectionBehavior selectionBehavior () const
 
QAbstractItemView::SelectionMode selectionMode () const
 
QItemSelectionModelselectionModel () const
 
void setAcceptDrops (bool on)
 
void setAccessibleDescription (const QString &description)
 
void setAccessibleName (const QString &name)
 
void setActiveWindow ()
 
void setAllColumnsShowFocus (bool enable)
 
void setAltDragString (QString)
 
void setAlternatingRowColors (bool enable)
 
void setAnimated (bool enable)
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
void setAutoExpandDelay (int delay)
 
void setAutoFillBackground (bool enabled)
 
void setAutoScroll (bool enable)
 
void setAutoScrollMargin (int margin)
 
void setBackgroundColor (const QColor &color)
 
void setBackgroundMode (Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground)
 
void setBackgroundOrigin (BackgroundOrigin background)
 
void setBackgroundPixmap (const QPixmap &pixmap)
 
void setBackgroundRole (QPalette::ColorRole role)
 
void setBaseSize (int basew, int baseh)
 
void setBaseSize (const QSize &)
 
void setCaption (const QString &c)
 
virtual Q_INVOKABLE void setColumnCount (int columns)
 
void setColumnHidden (int column, bool hide)
 
virtual Q_INVOKABLE void setColumnLocked (int, bool)
 
virtual Q_INVOKABLE void setColumnVisible (int, bool)
 
void setColumnWidth (int column, int width)
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCornerWidget (QWidget *widget)
 
void setCurrentIndex (const QModelIndex &index)
 
void setCurrentItem (QTreeWidgetItem *item, int column)
 
void setCurrentItem (QTreeWidgetItem *item, int column, QFlags< QItemSelectionModel::SelectionFlag > command)
 
void setCurrentItem (QTreeWidgetItem *item)
 
Q_INVOKABLE void setCurrentItem (XTreeWidgetItem *item)
 
Q_INVOKABLE void setCurrentItem (XTreeWidgetItem *item, int column)
 
Q_INVOKABLE void setCurrentItem (XTreeWidgetItem *item, int column, QItemSelectionModel::SelectionFlags command)
 
void setCursor (const QCursor &)
 
void setDefaultDropAction (Qt::DropAction dropAction)
 
void setDisabled (bool disable)
 
void setDragDropMode (DragDropMode behavior)
 
void setDragDropOverwriteMode (bool overwrite)
 
void setDragEnabled (bool enable)
 
void setDragString (QString)
 
void setDropIndicatorShown (bool enable)
 
void setEditFocus (bool enable)
 
void setEditTriggers (QFlags< QAbstractItemView::EditTrigger > triggers)
 
void setEnabled (bool)
 
void setEraseColor (const QColor &color)
 
void setErasePixmap (const QPixmap &pixmap)
 
void setExpanded (const QModelIndex &index, bool expanded)
 
void setExpandsOnDoubleClick (bool enable)
 
void setFirstColumnSpanned (int row, const QModelIndex &parent, bool span)
 
void setFirstItemColumnSpanned (const QTreeWidgetItem *item, bool span)
 
Q_INVOKABLE void setFirstItemColumnSpanned (const XTreeWidgetItem *item, bool span)
 
void setFixedHeight (int h)
 
void setFixedSize (const QSize &s)
 
void setFixedSize (int w, int h)
 
void setFixedWidth (int w)
 
void setFocus ()
 
void setFocus (Qt::FocusReason reason)
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
void setFocusProxy (QWidget *w)
 
void setFont (const QFont &)
 
void setFont (const QFont &f, bool b)
 
void setForegroundRole (QPalette::ColorRole role)
 
void setFrameRect (const QRect &)
 
void setFrameShadow (Shadow)
 
void setFrameShape (Shape)
 
void setFrameStyle (int style)
 
void setGeometry (const QRect &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setHeader (QHeaderView *header)
 
void setHeaderHidden (bool hide)
 
void setHeaderItem (QTreeWidgetItem *item)
 
Q_INVOKABLE void setHeaderItem (XTreeWidgetItem *item)
 
Q_INVOKABLE void setHeaderLabel (const QString &label)
 
Q_INVOKABLE void setHeaderLabels (const QStringList &labels)
 
void setHidden (bool hidden)
 
void setHorizontalScrollBar (QScrollBar *scrollBar)
 
void setHorizontalScrollBarPolicy (Qt::ScrollBarPolicy)
 
void setHorizontalScrollMode (ScrollMode mode)
 
void setIcon (const QPixmap &i)
 
void setIconSize (const QSize &size)
 
void setIconText (const QString &it)
 
Q_INVOKABLE void setId (int pId, bool pClear=true)
 
Q_INVOKABLE void setId (int pId, int pAltId, bool pClear=true)
 
void setIndentation (int i)
 
void setIndexWidget (const QModelIndex &index, QWidget *widget)
 
void setInputContext (QInputContext *context)
 
void setInputMethodEnabled (bool enabled)
 
void setInputMethodHints (QFlags< Qt::InputMethodHint > hints)
 
void setItemDelegate (QAbstractItemDelegate *delegate)
 
void setItemDelegateForColumn (int column, QAbstractItemDelegate *delegate)
 
void setItemDelegateForRow (int row, QAbstractItemDelegate *delegate)
 
void setItemExpanded (const QTreeWidgetItem *item, bool expand)
 
void setItemHidden (const QTreeWidgetItem *item, bool hide)
 
void setItemSelected (const QTreeWidgetItem *item, bool select)
 
void setItemsExpandable (bool enable)
 
void setItemWidget (QTreeWidgetItem *item, int column, QWidget *widget)
 
Q_INVOKABLE void setItemWidget (XTreeWidgetItem *item, int column, QWidget *widget)
 
void setKeyCompression (bool b)
 
void setLayout (QLayout *layout)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void setLineWidth (int)
 
void setLocale (const QLocale &locale)
 
void setMask (const QBitmap &bitmap)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int maxh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMaximumWidth (int maxw)
 
void setMidLineWidth (int)
 
void setMinimumHeight (int minh)
 
void setMinimumSize (int minw, int minh)
 
void setMinimumSize (const QSize &)
 
void setMinimumWidth (int minw)
 
virtual void setModel (QAbstractItemModel *model)
 
void setMouseTracking (bool enable)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setPalette (const QPalette &)
 
void setPalette (const QPalette &p, bool b)
 
void setPaletteBackgroundColor (const QColor &color)
 
void setPaletteBackgroundPixmap (const QPixmap &pixmap)
 
void setPaletteForegroundColor (const QColor &color)
 
void setParent (QWidget *parent, QFlags< Qt::WindowType > f)
 
void setParent (QWidget *parent)
 
void setParent (QObject *parent)
 
void setPlatformWindow (QPlatformWindow *window)
 
void setPlatformWindowFormat (const QPlatformWindowFormat &format)
 
void setPopulateLinear (bool alwaysLinear=true)
 
bool setProperty (const char *name, const QVariant &value)
 
virtual void setRootIndex (const QModelIndex &index)
 
void setRootIsDecorated (bool show)
 
void setRowHidden (int row, const QModelIndex &parent, bool hide)
 
void setSelectionBehavior (QAbstractItemView::SelectionBehavior behavior)
 
void setSelectionMode (QAbstractItemView::SelectionMode mode)
 
virtual void setSelectionModel (QItemSelectionModel *selectionModel)
 
void setShortcutAutoRepeat (int id, bool enable)
 
void setShortcutEnabled (int id, bool enable)
 
void setShown (bool shown)
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
void setSizePolicy (QSizePolicy::Policy hor, QSizePolicy::Policy ver, bool hfw)
 
void setSizePolicy (QSizePolicy)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
void setSortingEnabled (bool enable)
 
void setStatusTip (const QString &)
 
void setStyle (QStyle *style)
 
QStylesetStyle (const QString &style)
 
void setStyleSheet (const QString &styleSheet)
 
void setTabKeyNavigation (bool enable)
 
void setTextElideMode (Qt::TextElideMode mode)
 
void setToolTip (const QString &)
 
void setUniformRowHeights (bool uniform)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
void setVerticalScrollBar (QScrollBar *scrollBar)
 
void setVerticalScrollBarPolicy (Qt::ScrollBarPolicy)
 
void setVerticalScrollMode (ScrollMode mode)
 
void setViewport (QWidget *widget)
 
virtual void setVisible (bool visible)
 
void setWhatsThis (const QString &)
 
void setWindowFilePath (const QString &filePath)
 
void setWindowFlags (QFlags< Qt::WindowType > type)
 
void setWindowIcon (const QIcon &icon)
 
void setWindowIconText (const QString &)
 
void setWindowModality (Qt::WindowModality windowModality)
 
void setWindowModified (bool)
 
void setWindowOpacity (qreal level)
 
void setWindowRole (const QString &role)
 
void setWindowState (QFlags< Qt::WindowState > windowState)
 
void setWindowSurface (QWindowSurface *surface)
 
void setWindowTitle (const QString &)
 
void setWordWrap (bool on)
 
void show ()
 
bool showDropIndicator () const
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
bool signalsBlocked () const
 
QSize size () const
 
virtual QSize sizeHint () const
 
QSize sizeHintForIndex (const QModelIndex &index) const
 
virtual int sizeHintForRow (int row) const
 
QSize sizeIncrement () const
 
QSizePolicy sizePolicy () const
 
void sortByColumn (int column, Qt::SortOrder order)
 
void sortByColumn (int column)
 
Q_INVOKABLE int sortColumn () const
 
virtual Q_INVOKABLE void sortItems (int column, Qt::SortOrder order)
 
Q_INVOKABLE Qt::SortOrder sortOrder () const
 
void stackUnder (QWidget *w)
 
int startTimer (int interval)
 
QString statusTip () const
 
QStylestyle () const
 
QString styleSheet () const
 
bool tabKeyNavigation () const
 
Q_INVOKABLE QTreeWidgetItemtakeTopLevelItem (int index)
 
bool testAttribute (Qt::WidgetAttribute attribute) const
 
Qt::TextElideMode textElideMode () const
 
QThreadthread () const
 
Q_INVOKABLE QString toCsv () const
 
Q_INVOKABLE QString toHtml () const
 
QString toolTip () const
 
virtual Q_INVOKABLE
XTreeWidgetItem
topLevelItem (int idx) const
 
Q_INVOKABLE int topLevelItemCount () const
 
QWidgettopLevelWidget () const
 
Q_INVOKABLE QString toTxt () const
 
Q_INVOKABLE QString toVcf () const
 
bool underMouse () const
 
void ungrabGesture (Qt::GestureType gesture)
 
bool uniformRowHeights () const
 
void unsetCursor ()
 
void unsetFont ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void unsetPalette ()
 
void update (int x, int y, int w, int h)
 
void update ()
 
void update (const QRect &rect)
 
void update (const QRegion &rgn)
 
void update (const QModelIndex &index)
 
void updateGeometry ()
 
bool updatesEnabled () const
 
QScrollBarverticalScrollBar () const
 
Qt::ScrollBarPolicy verticalScrollBarPolicy () const
 
ScrollMode verticalScrollMode () const
 
QWidgetviewport () const
 
void viewportEntered ()
 
QRect visibleRect () const
 
QRegion visibleRegion () const
 
QRect visualItemRect (const QTreeWidgetItem *item) const
 
Q_INVOKABLE QRect visualItemRect (const XTreeWidgetItem *item) const
 
virtual QRect visualRect (const QModelIndex &index) const
 
QString whatsThis () const
 
int width () const
 
int widthMM () const
 
QWidgetwindow () const
 
QString windowFilePath () const
 
Qt::WindowFlags windowFlags () const
 
QIcon windowIcon () const
 
QString windowIconText () const
 
Qt::WindowModality windowModality () const
 
qreal windowOpacity () const
 
QString windowRole () const
 
Qt::WindowStates windowState () const
 
QWindowSurface * windowSurface () const
 
QString windowTitle () const
 
Qt::WindowType windowType () const
 
WId winId () const
 
bool wordWrap () const
 
int x () const
 
int x11Cells () const
 
Qt::HANDLE x11Colormap () const
 
bool x11DefaultColormap () const
 
bool x11DefaultVisual () const
 
int x11Depth () const
 
Display * x11Display () const
 
const QX11Infox11Info () const
 
Qt::HANDLE x11PictureHandle () const
 
int x11Screen () const
 
void * x11Visual () const
 
int y () const
 

Static Public Member Functions

bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QWidgetfind (WId id)
 
QWidgetkeyboardGrabber ()
 
QWidgetmouseGrabber ()
 
void setTabOrder (QWidget *first, QWidget *second)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
QWidgetMapper * wmapper ()
 
int x11AppCells (int screen)
 
Qt::HANDLE x11AppColormap (int screen)
 
bool x11AppDefaultColormap (int screen)
 
bool x11AppDefaultVisual (int screen)
 
int x11AppDepth (int screen)
 
Display * x11AppDisplay ()
 
int x11AppDpiX (int screen)
 
int x11AppDpiY (int screen)
 
Qt::HANDLE x11AppRootWindow (int screen)
 
int x11AppScreen ()
 
void * x11AppVisual (int screen)
 
void x11SetAppDpiX (int dpi, int screen)
 
void x11SetAppDpiY (int dpi, int screen)
 

Public Attributes

typedef EditTriggers
 
typedef RenderFlags
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Slots

void populateCalculatedColumns ()
 
void populateWorker ()
 
void sCurrentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous)
 
void sHeaderClicked (int)
 
void sItemActivated (QTreeWidgetItem *item, int column)
 
void sItemChanged (QTreeWidgetItem *item, int column)
 
void sItemClicked (QTreeWidgetItem *item, int column)
 
void sItemCollapsed (QTreeWidgetItem *item)
 
void sItemDoubleClicked (QTreeWidgetItem *item, int column)
 
void sItemEntered (QTreeWidgetItem *item, int column)
 
void sItemExpanded (QTreeWidgetItem *item)
 
void sItemPressed (QTreeWidgetItem *item, int column)
 

Protected Member Functions

virtual void actionEvent (QActionEvent *event)
 
virtual void changeEvent (QEvent *ev)
 
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void closeEditor (QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
 
virtual void closeEvent (QCloseEvent *event)
 
void columnCountChanged (int oldCount, int newCount)
 
void columnMoved ()
 
void columnResized (int column, int oldSize, int newSize)
 
virtual void commitData (QWidget *editor)
 
virtual void connectNotify (const char *signal)
 
virtual void contextMenuEvent (QContextMenuEvent *e)
 
void create (WId window, bool initializeWindow, bool destroyOldWindow)
 
virtual void currentChanged (const QModelIndex &current, const QModelIndex &previous)
 
virtual void customEvent (QEvent *event)
 
void destroy (bool destroyWindow, bool destroySubWindows)
 
QPoint dirtyRegionOffset () const
 
virtual void disconnectNotify (const char *signal)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void drawBranches (QPainter *painter, const QRect &rect, const QModelIndex &index) const
 
virtual void drawRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void drawTree (QPainter *painter, const QRegion &region) const
 
virtual void dropEvent (QDropEvent *event)
 
DropIndicatorPosition dropIndicatorPosition () const
 
virtual bool dropMimeData (QTreeWidgetItem *parent, int index, const QMimeData *data, Qt::DropAction action)
 
virtual bool edit (const QModelIndex &index, EditTrigger trigger, QEvent *event)
 
virtual void editorDestroyed (QObject *editor)
 
virtual void enterEvent (QEvent *event)
 
virtual bool event (QEvent *e)
 
void executeDelayedItemsLayout ()
 
virtual void focusInEvent (QFocusEvent *event)
 
bool focusNextChild ()
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 
bool focusPreviousChild ()
 
virtual void hideEvent (QHideEvent *event)
 
virtual int horizontalOffset () const
 
int horizontalStepsPerItem () const
 
QModelIndex indexFromItem (QTreeWidgetItem *item, int column) const
 
int indexRowSizeHint (const QModelIndex &index) const
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual bool isIndexHidden (const QModelIndex &index) const
 
QTreeWidgetItemitemFromIndex (const QModelIndex &index) const
 
QList< QTreeWidgetItem * > items (const QMimeData *data) const
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void languageChange ()
 
virtual void leaveEvent (QEvent *event)
 
virtual bool macEvent (EventHandlerCallRef caller, EventRef event)
 
virtual int metric (PaintDeviceMetric m) const
 
virtual QMimeDatamimeData (const QList< QTreeWidgetItem * > items) const
 
virtual QStringList mimeTypes () const
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *)
 
virtual void mousePressEvent (QMouseEvent *)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual QModelIndex moveCursor (CursorAction cursorAction, QFlags< Qt::KeyboardModifier > modifiers)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
virtual bool qwsEvent (QWSEvent *event)
 
int receivers (const char *signal) const
 
void resetInputContext ()
 
virtual void resizeEvent (QResizeEvent *)
 
int rowHeight (const QModelIndex &index) const
 
virtual void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
virtual void rowsInserted (const QModelIndex &parent, int start, int end)
 
void rowsRemoved (const QModelIndex &parent, int start, int end)
 
void scheduleDelayedItemsLayout ()
 
virtual void scrollContentsBy (int dx, int dy)
 
void scrollDirtyRegion (int dx, int dy)
 
virtual QModelIndexList selectedIndexes () const
 
virtual void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
virtual
QItemSelectionModel::SelectionFlags 
selectionCommand (const QModelIndex &index, const QEvent *event) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
void setDirtyRegion (const QRegion &region)
 
void setHorizontalStepsPerItem (int steps)
 
virtual void setSelection (const QRect &rect, QFlags< QItemSelectionModel::SelectionFlag > command)
 
void setState (State state)
 
void setupViewport (QWidget *viewport)
 
void setVerticalStepsPerItem (int steps)
 
void setViewportMargins (const QMargins &margins)
 
void setViewportMargins (int left, int top, int right, int bottom)
 
virtual void showEvent (QShowEvent *event)
 
virtual int sizeHintForColumn (int column) const
 
virtual void startDrag (QFlags< Qt::DropAction > supportedActions)
 
State state () const
 
virtual Qt::DropActions supportedDropActions () const
 
virtual void tabletEvent (QTabletEvent *event)
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void updateGeometries ()
 
void updateMicroFocus ()
 
virtual int verticalOffset () const
 
int verticalStepsPerItem () const
 
virtual QStyleOptionViewItem viewOptions () const
 
virtual bool viewportEvent (QEvent *event)
 
virtual QRegion visualRegionForSelection (const QItemSelection &selection) const
 
virtual void wheelEvent (QWheelEvent *e)
 
virtual bool winEvent (MSG *message, long *result)
 
virtual bool x11Event (XEvent *event)
 

Static Protected Member Functions

QByteArray normalizeSignalSlot (const char *signalSlot)
 

Protected Attributes

QPoint dragStartPosition
 

Member Enumeration Documentation

Enumerator
Replace 
Append 

Property Documentation

QString XTreeWidget::altDragString
readwrite
QString XTreeWidget::dragString
readwrite
bool XTreeWidget::populateLinear
readwrite

Constructor & Destructor Documentation

XTreeWidget::XTreeWidget ( QWidget pParent)
XTreeWidget::~XTreeWidget ( )

Member Function Documentation

void XTreeWidget::addColumn ( const QString pString,
int  pWidth,
int  pAlignment,
bool  pVisible = true,
const QString  pEditColumn = QString(),
const QString  pDisplayColumn = QString(),
const int  scale = 0 
)
slot
Q_INVOKABLE void XTreeWidget::addTopLevelItem ( XTreeWidgetItem item)
inline
void XTreeWidget::addTopLevelItems ( const QList< XTreeWidgetItem * > &  items)
QString XTreeWidget::altDragString ( ) const
int XTreeWidget::altId ( ) const
void XTreeWidget::clear ( )
slot
Q_INVOKABLE void XTreeWidget::closePersistentEditor ( XTreeWidgetItem item,
int  column = 0 
)
inline
int XTreeWidget::column ( const QString  pName) const
virtual
Q_INVOKABLE int XTreeWidget::columnCount ( ) const
inline
Q_INVOKABLE int XTreeWidget::currentColumn ( ) const
inline
XTreeWidgetItem * XTreeWidget::currentItem ( ) const
virtual
void XTreeWidget::currentItemChanged ( XTreeWidgetItem ,
XTreeWidgetItem  
)
signal
QString XTreeWidget::dragString ( ) const
Q_INVOKABLE void XTreeWidget::editItem ( XTreeWidgetItem item,
int  column = 0 
)
inline
QList< XTreeWidgetItem * > XTreeWidget::findItems ( const QString text,
Qt::MatchFlags  flags,
int  column = 0,
int  role = 0 
) const
XTreeWidgetItem * XTreeWidget::findXTreeWidgetItemWithId ( const XTreeWidget ptree,
const int  pid 
)
XTreeWidgetItem * XTreeWidget::findXTreeWidgetItemWithId ( const XTreeWidgetItem ptreeitem,
const int  pid 
)
Q_INVOKABLE QTreeWidgetItem* XTreeWidget::headerItem ( ) const
inline
void XTreeWidget::hideColumn ( int  colnum)
inlineslot
void XTreeWidget::hideColumn ( const QString pColumn)
slot
int XTreeWidget::id ( ) const
int XTreeWidget::id ( const QString  p) const
Q_INVOKABLE int XTreeWidget::indexOfTopLevelItem ( XTreeWidgetItem item) const
inline
Q_INVOKABLE void XTreeWidget::insertTopLevelItem ( int  index,
XTreeWidgetItem item 
)
inline
void XTreeWidget::insertTopLevelItems ( int  index,
const QList< XTreeWidgetItem * > &  items 
)
XTreeWidgetItem * XTreeWidget::invisibleRootItem ( ) const
Q_INVOKABLE bool XTreeWidget::isFirstItemColumnSpanned ( const XTreeWidgetItem item) const
inline
XTreeWidgetItem * XTreeWidget::itemAbove ( const XTreeWidgetItem item) const
void XTreeWidget::itemActivated ( XTreeWidgetItem item,
int  column 
)
signal
Q_INVOKABLE QTreeWidgetItem* XTreeWidget::itemAt ( const QPoint p) const
inline
Q_INVOKABLE QTreeWidgetItem* XTreeWidget::itemAt ( int  x,
int  y 
) const
inline
Q_INVOKABLE QTreeWidgetItem* XTreeWidget::itemBelow ( const XTreeWidgetItem item) const
inline
void XTreeWidget::itemChanged ( XTreeWidgetItem item,
int  column 
)
signal
void XTreeWidget::itemClicked ( XTreeWidgetItem item,
int  column 
)
signal
void XTreeWidget::itemCollapsed ( XTreeWidgetItem item)
signal
void XTreeWidget::itemDoubleClicked ( XTreeWidgetItem item,
int  column 
)
signal
void XTreeWidget::itemEntered ( XTreeWidgetItem item,
int  column 
)
signal
void XTreeWidget::itemExpanded ( XTreeWidgetItem item)
signal
void XTreeWidget::itemPressed ( XTreeWidgetItem item,
int  column 
)
signal
void XTreeWidget::itemSelected ( int  )
signal
Q_INVOKABLE QWidget* XTreeWidget::itemWidget ( XTreeWidgetItem item,
int  column 
) const
inline
void XTreeWidget::mouseMoveEvent ( QMouseEvent event)
protectedvirtual

Reimplemented from QTreeView.

void XTreeWidget::mousePressEvent ( QMouseEvent event)
protectedvirtual

Reimplemented from QTreeView.

Q_INVOKABLE void XTreeWidget::moveColumn ( int  from,
int  to 
)
inline
void XTreeWidget::newId ( int  )
signal
Q_INVOKABLE void XTreeWidget::openPersistentEditor ( XTreeWidgetItem item,
int  column = 0 
)
inline
void XTreeWidget::populate ( XSqlQuery  pQuery,
bool  pUseAltId = FALSE,
PopulateStyle  popstyle = Replace 
)
void XTreeWidget::populate ( XSqlQuery  pQuery,
int  pIndex,
bool  pUseAltId = FALSE,
PopulateStyle  popstyle = Replace 
)
void XTreeWidget::populate ( const QString pSql,
bool  pUseAltId = FALSE 
)
void XTreeWidget::populate ( const QString pSql,
int  pIndex,
bool  pUseAltId = FALSE 
)
void XTreeWidget::populateCalculatedColumns ( )
protectedslot
void XTreeWidget::populated ( )
signal
bool XTreeWidget::populateLinear ( )
void XTreeWidget::populateMenu ( QMenu ,
QTreeWidgetItem  
)
signal
void XTreeWidget::populateMenu ( QMenu ,
QTreeWidgetItem ,
int   
)
signal
void XTreeWidget::populateMenu ( QMenu ,
XTreeWidgetItem  
)
signal
void XTreeWidget::populateMenu ( QMenu ,
XTreeWidgetItem ,
int   
)
signal
void XTreeWidget::populateWorker ( )
protectedslot
QVariant XTreeWidget::rawValue ( const QString  colname) const

Returns the Raw Value of the first selected row on colname

Q_INVOKABLE void XTreeWidget::removeItemWidget ( XTreeWidgetItem item,
int  column 
)
inline
void XTreeWidget::resizeEvent ( QResizeEvent e)
protectedvirtual

Reimplemented from QAbstractItemView.

void XTreeWidget::resorted ( )
signal
void XTreeWidget::sCopyCellToClipboard ( )
slot
void XTreeWidget::sCopyRowToClipboard ( )
slot
void XTreeWidget::sCopyVisibleToClipboard ( )
slot
void XTreeWidget::sCurrentItemChanged ( QTreeWidgetItem current,
QTreeWidgetItem previous 
)
protectedslot
QList< XTreeWidgetItem * > XTreeWidget::selectedItems ( ) const
void XTreeWidget::setAltDragString ( QString  pAltDragString)
void XTreeWidget::setColumnCount ( int  columns)
virtual
void XTreeWidget::setColumnLocked ( int  pColumn,
bool  pLocked 
)
virtual
void XTreeWidget::setColumnVisible ( int  pColumn,
bool  pVisible 
)
virtual
Q_INVOKABLE void XTreeWidget::setCurrentItem ( XTreeWidgetItem item)
inline
Q_INVOKABLE void XTreeWidget::setCurrentItem ( XTreeWidgetItem item,
int  column 
)
inline
Q_INVOKABLE void XTreeWidget::setCurrentItem ( XTreeWidgetItem item,
int  column,
QItemSelectionModel::SelectionFlags  command 
)
inline
void XTreeWidget::setDragString ( QString  pDragString)
Q_INVOKABLE void XTreeWidget::setFirstItemColumnSpanned ( const XTreeWidgetItem item,
bool  span 
)
inline
Q_INVOKABLE void XTreeWidget::setHeaderItem ( XTreeWidgetItem item)
inline
Q_INVOKABLE void XTreeWidget::setHeaderLabel ( const QString label)
inline
Q_INVOKABLE void XTreeWidget::setHeaderLabels ( const QStringList labels)
inline
void XTreeWidget::setId ( int  pId,
bool  pClear = true 
)

Selects a row with a matching value pId on the first column in the result set. If pClear is true then any previous selections are cleared.

void XTreeWidget::setId ( int  pId,
int  pAltId,
bool  pClear = true 
)

Selects a row with a matching values pId and pAltId on the first and second columns respectively in the result set. If pClear is true then any previous selections are cleared.

Q_INVOKABLE void XTreeWidget::setItemWidget ( XTreeWidgetItem item,
int  column,
QWidget widget 
)
inline
void XTreeWidget::setPopulateLinear ( bool  alwaysLinear = true)
void XTreeWidget::sExport ( )
slot
void XTreeWidget::sHeaderClicked ( int  column)
protectedslot
void XTreeWidget::showColumn ( int  colnum)
inlineslot
void XTreeWidget::showColumn ( const QString pColumn)
slot
void XTreeWidget::sItemActivated ( QTreeWidgetItem item,
int  column 
)
protectedslot
void XTreeWidget::sItemChanged ( QTreeWidgetItem item,
int  column 
)
protectedslot
void XTreeWidget::sItemClicked ( QTreeWidgetItem item,
int  column 
)
protectedslot
void XTreeWidget::sItemCollapsed ( QTreeWidgetItem item)
protectedslot
void XTreeWidget::sItemDoubleClicked ( QTreeWidgetItem item,
int  column 
)
protectedslot
void XTreeWidget::sItemEntered ( QTreeWidgetItem item,
int  column 
)
protectedslot
void XTreeWidget::sItemExpanded ( QTreeWidgetItem item)
protectedslot
void XTreeWidget::sItemPressed ( QTreeWidgetItem item,
int  column 
)
protectedslot
Q_INVOKABLE int XTreeWidget::sortColumn ( ) const
inline
void XTreeWidget::sortItems ( int  column,
Qt::SortOrder  order 
)
virtual
Q_INVOKABLE Qt::SortOrder XTreeWidget::sortOrder ( ) const
inline
void XTreeWidget::sSearch ( const QString pTarget)
slot
Q_INVOKABLE QTreeWidgetItem* XTreeWidget::takeTopLevelItem ( int  index)
inline
QString XTreeWidget::toCsv ( ) const
QString XTreeWidget::toHtml ( ) const
XTreeWidgetItem * XTreeWidget::topLevelItem ( int  idx) const
virtual
Q_INVOKABLE int XTreeWidget::topLevelItemCount ( ) const
inline
QString XTreeWidget::toTxt ( ) const
QString XTreeWidget::toVcf ( ) const
void XTreeWidget::valid ( bool  )
signal
Q_INVOKABLE QRect XTreeWidget::visualItemRect ( const XTreeWidgetItem item) const
inline

Member Data Documentation

GuiClientInterface * XTreeWidget::_guiClientInterface
static
QPoint XTreeWidget::dragStartPosition
protected

The documentation for this class was generated from the following files:

Generated on Mon Dec 1 2014 xTuple ERP Programmer Reference, Version 4.8.0 doxygen 1.8.7