Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
QtGui.QTreeWidget Class Reference

The QTreeWidget class provides a tree view that uses a predefined tree model. More...

Inheritance diagram for QtGui.QTreeWidget:
Collaboration diagram for QtGui.QTreeWidget:

Public Member Functions

 QTreeWidget (QWidget parent=null)
  More...
 
override void CreateProxy ()
 
new void AddTopLevelItem (QTreeWidgetItem item)
  More...
 
new void AddTopLevelItems (System.Collections.Generic.List< QTreeWidgetItem > items)
  More...
 
new void Clear ()
  More...
 
new void ClosePersistentEditor (QTreeWidgetItem item, int column=0)
  More...
 
new void CollapseItem (QTreeWidgetItem item)
  More...
 
new void EditItem (QTreeWidgetItem item, int column=0)
  More...
 
override bool OnEvent (QEvent e)
  More...
 
new void ExpandItem (QTreeWidgetItem item)
  More...
 
new
System.Collections.Generic.List
< QTreeWidgetItem
FindItems (string text, Qt.MatchFlag flags, int column=0)
  More...
 
new int IndexOfTopLevelItem (QTreeWidgetItem item)
  More...
 
new void InsertTopLevelItem (int index, QTreeWidgetItem item)
  More...
 
new void InsertTopLevelItems (int index, System.Collections.Generic.List< QTreeWidgetItem > items)
  More...
 
new bool IsFirstItemColumnSpanned (QTreeWidgetItem item)
  More...
 
new bool IsItemExpanded (QTreeWidgetItem item)
  More...
 
new bool IsItemHidden (QTreeWidgetItem item)
  More...
 
new bool IsItemSelected (QTreeWidgetItem item)
  More...
 
new QTreeWidgetItem ItemAbove (QTreeWidgetItem item)
  More...
 
new QTreeWidgetItem ItemAt (QPoint p)
  More...
 
new QTreeWidgetItem ItemAt (int x, int y)
  More...
 
new QTreeWidgetItem ItemBelow (QTreeWidgetItem item)
  More...
 
new QWidget ItemWidget (QTreeWidgetItem item, int column)
  More...
 
new void OpenPersistentEditor (QTreeWidgetItem item, int column=0)
  More...
 
new void RemoveItemWidget (QTreeWidgetItem item, int column)
  More...
 
new void ScrollToItem (QTreeWidgetItem item, QAbstractItemView.ScrollHint hint=QAbstractItemView.ScrollHint.EnsureVisible)
  More...
 
new void SetCurrentItem (QTreeWidgetItem item, int column)
  More...
 
new void SetCurrentItem (QTreeWidgetItem item, int column, QItemSelectionModel.SelectionFlag command)
  More...
 
new void SetFirstItemColumnSpanned (QTreeWidgetItem item, bool span)
  More...
 
new void SetHeaderLabel (string label)
  More...
 
new void SetHeaderLabels (System.Collections.Generic.List< string > labels)
  More...
 
new void SetItemExpanded (QTreeWidgetItem item, bool expand)
  More...
 
new void SetItemHidden (QTreeWidgetItem item, bool hide)
  More...
 
new void SetItemSelected (QTreeWidgetItem item, bool select)
  More...
 
new void SetItemWidget (QTreeWidgetItem item, int column, QWidget widget)
  More...
 
new void SetSortingEnabled (bool enable)
 
new void SortItems (int column, Qt.SortOrder order)
  More...
 
new QTreeWidgetItem TakeTopLevelItem (int index)
  More...
 
new QTreeWidgetItem TopLevelItem (int index)
  More...
 
new QRect VisualItemRect (QTreeWidgetItem item)
  More...
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QTreeView
 QTreeView (QWidget parent=null)
  More...
 
new void Collapse (QModelIndex index)
  More...
 
new void CollapseAll ()
  More...
 
new int ColumnAt (int x)
  More...
 
new int ColumnViewportPosition (int column)
  More...
 
new int ColumnWidth (int column)
  More...
 
override void DoItemsLayout ()
 
new void Expand (QModelIndex index)
  More...
 
new void ExpandAll ()
  More...
 
new void ExpandToDepth (int depth)
  More...
 
new void HideColumn (int column)
  More...
 
new QModelIndex IndexAbove (QModelIndex index)
  More...
 
override QModelIndex IndexAt (QPoint p)
  More...
 
new QModelIndex IndexBelow (QModelIndex index)
  More...
 
new bool IsColumnHidden (int column)
  More...
 
new bool IsExpanded (QModelIndex index)
  More...
 
new bool IsFirstColumnSpanned (int row, QModelIndex parent)
  More...
 
new bool IsRowHidden (int row, QModelIndex parent)
  More...
 
override void KeyboardSearch (string search)
  More...
 
override void Reset ()
  More...
 
new void ResizeColumnToContents (int column)
  More...
 
override void ScrollTo (QModelIndex index, QAbstractItemView.ScrollHint hint=QAbstractItemView.ScrollHint.EnsureVisible)
  More...
 
override void SelectAll ()
  More...
 
new void SetColumnHidden (int column, bool hide)
  More...
 
new void SetColumnWidth (int column, int width)
  More...
 
new void SetExpanded (QModelIndex index, bool expand)
  More...
 
new void SetFirstColumnSpanned (int row, QModelIndex parent, bool span)
  More...
 
new void SetRowHidden (int row, QModelIndex parent, bool hide)
  More...
 
new void ShowColumn (int column)
  More...
 
override int SizeHintForColumn (int column)
  More...
 
new void SortByColumn (int column)
  More...
 
new void SortByColumn (int column, Qt.SortOrder order)
  More...
 
override QRect VisualRect (QModelIndex index)
  More...
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QAbstractItemView
 QAbstractItemView (QWidget parent=null)
  More...
 
new void ClearSelection ()
  More...
 
new void ClosePersistentEditor (QModelIndex index)
  More...
 
new void Edit (QModelIndex index)
  More...
 
override bool OnEvent (QEvent @event)
  More...
 
new QWidget IndexWidget (QModelIndex index)
  More...
 
override object InputMethodQuery (Qt.InputMethodQuery query)
  More...
 
new QAbstractItemDelegate ItemDelegate ()
  More...
 
new QAbstractItemDelegate ItemDelegate (QModelIndex index)
  More...
 
new QAbstractItemDelegate ItemDelegateForColumn (int column)
  More...
 
new QAbstractItemDelegate ItemDelegateForRow (int row)
  More...
 
new void OpenPersistentEditor (QModelIndex index)
  More...
 
new void ScrollToBottom ()
  More...
 
new void ScrollToTop ()
  More...
 
new void SetIndexWidget (QModelIndex index, QWidget widget)
  More...
 
new void SetItemDelegate (QAbstractItemDelegate @delegate)
  More...
 
new void SetItemDelegateForColumn (int column, QAbstractItemDelegate @delegate)
  More...
 
new void SetItemDelegateForRow (int row, QAbstractItemDelegate @delegate)
  More...
 
new QSize SizeHintForIndex (QModelIndex index)
  More...
 
virtual int SizeHintForRow (int row)
  More...
 
new void Update (QModelIndex index)
  More...
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QAbstractScrollArea
 QAbstractScrollArea (QWidget parent=null)
  More...
 
new void AddScrollBarWidget (QWidget widget, Qt.AlignmentFlag alignment)
  More...
 
override bool OnEvent (QEvent @event)
  More...
 
new
System.Collections.Generic.List
< QWidget
ScrollBarWidgets (Qt.AlignmentFlag alignment)
  More...
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QFrame
 QFrame (QWidget parent=null, Qt.WindowType f=0)
  More...
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QWidget
 QWidget (QWidget parent=null, Qt.WindowType f=0)
  More...
 
override void CreateProxy ()
 
new void ActivateWindow ()
  More...
 
new void AddAction (QAction action)
  More...
 
new void AddActions (System.Collections.Generic.List< QAction > actions)
  More...
 
new void AdjustSize ()
  More...
 
new QWidget ChildAt (QPoint p)
  More...
 
new QWidget ChildAt (int x, int y)
  More...
 
new void ClearFocus ()
  More...
 
new void ClearMask ()
  More...
 
new bool Close ()
  More...
 
new void CreateWinId ()
 
new void EnsurePolished ()
  More...
 
override bool OnEvent (QEvent @event)
  More...
 
new QWidget FocusWidget ()
  More...
 
new void GetContentsMargins (ref int left, ref int top, ref int right, ref int bottom)
  More...
 
virtual System.IntPtr GetDC ()
  More...
 
new void GrabGesture (Qt.GestureType type, Qt.GestureFlag flags=0)
  More...
 
new void GrabKeyboard ()
  More...
 
new void GrabMouse ()
  More...
 
new void GrabMouse (QCursor cursor)
  More...
 
new int GrabShortcut (QKeySequence key, Qt.ShortcutContext context=Qt.ShortcutContext.WindowShortcut)
  More...
 
virtual int HeightForWidth (int w)
  More...
 
new void Hide ()
  More...
 
new void InsertAction (QAction before, QAction action)
  More...
 
new void InsertActions (QAction before, System.Collections.Generic.List< QAction > actions)
  More...
 
new bool IsAncestorOf (QWidget child)
  More...
 
new bool IsEnabledTo (QWidget ancestor)
  More...
 
new bool IsVisibleTo (QWidget ancestor)
  More...
 
new void Lower ()
  More...
 
new QPoint MapFrom (QWidget parent, QPoint pos)
  More...
 
new QPoint MapFromGlobal (QPoint pos)
  More...
 
new QPoint MapFromParent (QPoint pos)
  More...
 
new QPoint MapTo (QWidget parent, QPoint pos)
  More...
 
new QPoint MapToGlobal (QPoint pos)
  More...
 
new QPoint MapToParent (QPoint pos)
  More...
 
new void Move (int x, int y)
 
new void OverrideWindowFlags (Qt.WindowType type)
  More...
 
new void OverrideWindowState (Qt.WindowState state)
 
new void Raise ()
  More...
 
virtual void ReleaseDC (System.IntPtr hdc)
  More...
 
new void ReleaseKeyboard ()
  More...
 
new void ReleaseMouse ()
  More...
 
new void ReleaseShortcut (int id)
  More...
 
new void RemoveAction (QAction action)
  More...
 
new void Render (IQPaintDevice target)
  More...
 
new void Render (QPainter painter)
  More...
 
new void Render (IQPaintDevice target, QPoint targetOffset)
  More...
 
new void Render (QPainter painter, QPoint targetOffset)
  More...
 
new void Render (IQPaintDevice target, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren)
  More...
 
new void Render (QPainter painter, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren)
  More...
 
new void Repaint ()
  More...
 
new void Repaint (QRect rect)
  More...
 
new void Repaint (QRegion rgn)
  More...
 
new void Repaint (int x, int y, int w, int h)
  More...
 
new void Resize (int w, int h)
 
new bool RestoreGeometry (QByteArray geometry)
  More...
 
new QByteArray SaveGeometry ()
  More...
 
new void Scroll (int dx, int dy)
  More...
 
new void Scroll (int dx, int dy, QRect r)
  More...
 
new void SetAttribute (Qt.WidgetAttribute attribute, bool on=true)
  More...
 
new void SetBaseSize (int basew, int baseh)
 
new void SetContentsMargins (int left, int top, int right, int bottom)
  More...
 
new void SetDisabled (bool disable)
  More...
 
new void SetFixedHeight (int h)
  More...
 
new void SetFixedSize (QSize s)
  More...
 
new void SetFixedSize (int w, int h)
  More...
 
new void SetFixedWidth (int w)
  More...
 
new void SetFocus ()
  More...
 
new void SetFocus (Qt.FocusReason reason)
  More...
 
new void SetGeometry (int x, int y, int w, int h)
 
new void SetHidden (bool hidden)
  More...
 
new void SetMask (QBitmap bitmap)
  More...
 
new void SetMaximumSize (int maxw, int maxh)
 
new void SetMinimumSize (int minw, int minh)
 
new void SetParent (QWidget parent)
  More...
 
new void SetParent (QWidget parent, Qt.WindowType f)
  More...
 
new void SetShortcutAutoRepeat (int id, bool enable=true)
  More...
 
new void SetShortcutEnabled (int id, bool enable=true)
  More...
 
new void SetShown (bool shown)
  More...
 
new void SetSizeIncrement (int w, int h)
 
new void SetSizePolicy (QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical)
 
new void Show ()
  More...
 
new void ShowFullScreen ()
  More...
 
new void ShowMaximized ()
  More...
 
new void ShowMinimized ()
  More...
 
new void ShowNormal ()
  More...
 
new void StackUnder (QWidget w)
  More...
 
new bool TestAttribute (Qt.WidgetAttribute attribute)
  More...
 
new void UngrabGesture (Qt.GestureType type)
  More...
 
new void UnsetCursor ()
 
new void UnsetLayoutDirection ()
 
new void UnsetLocale ()
 
new void Update ()
  More...
 
new void Update (QRect rect)
  More...
 
new void Update (QRegion rgn)
  More...
 
new void Update (int x, int y, int w, int h)
  More...
 
new void UpdateGeometry ()
  More...
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.QObject
 QObject (QObject parent=null)
  More...
 
new bool BlockSignals (bool b)
  More...
 
new bool Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
  More...
 
new void DeleteLater ()
  More...
 
new bool Disconnect (QObject receiver, string member=null)
  More...
 
new bool Disconnect (string signal=null, QObject receiver=null, string member=null)
  More...
 
new void DumpObjectInfo ()
  More...
 
new void DumpObjectTree ()
  More...
 
virtual bool EventFilter (QObject watched, QEvent @event)
  More...
 
new bool Inherits (string classname)
  More...
 
new void InstallEventFilter (QObject filterObj)
  More...
 
new void KillTimer (int id)
  More...
 
new object Property (string name)
  More...
 
new void RemoveEventFilter (QObject obj)
  More...
 
new bool SetProperty (string name, object value)
  More...
 
new void SetUserData (uint id, QObjectUserData data)
 
new int StartTimer (int interval)
  More...
 
new QObjectUserData UserData (uint id)
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.Qt
delegate QTextStream FuncQTextStreamQTextStream (QTextStream qTextStream)
 
delegate void ActionQtMsgTypeString (QtMsgType qtMsgType, string @string)
 
delegate QObject FuncQObject ()
 
delegate string FuncStringQByteArray (QByteArray qByteArray)
 
delegate QByteArray FuncQByteArrayString (string @string)
 

Static Public Member Functions

static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtGui.QTreeView
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtGui.QAbstractItemView
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtGui.QAbstractScrollArea
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtGui.QFrame
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtGui.QWidget
static QWidget Find (NativeULong id)
  More...
 
static void SetTabOrder (QWidget first, QWidget second)
  More...
 
static string Tr (string s, string c=null)
 
static string Tr (string s, string c, int n)
 
static string TrUtf8 (string s, string c=null)
 
static string TrUtf8 (string s, string c, int n)
 
- Static Public Member Functions inherited from QtCore.QObject
static bool Connect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod method, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
  More...
 
static bool Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
  More...
 
static bool Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member)
  More...
 
static bool Disconnect (QObject sender, string signal, QObject receiver, string member)
  More...
 
static string Tr (string s, string c=null)
  More...
 
static string Tr (string s, string c, int n)
  More...
 
static string TrUtf8 (string s, string c=null)
  More...
 
static string TrUtf8 (string s, string c, int n)
  More...
 
- Static Public Member Functions inherited from QtCore.Qt
static QDataStream Write (QDataStream s, object p)
 
static QDataStream Write (QDataStream stream, QSizeF size)
  More...
 
static QDataStream Write (QDataStream stream, QPoint point)
  More...
 
static QTextStream Write (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Write (QDataStream stream, QLineF line)
  More...
 
static QDataStream Write (QDataStream stream, QPointF point)
  More...
 
static QDataStream Write (QDataStream @out, QChar chr)
  More...
 
static QDataStream Write (QDataStream @out, QByteArray ba)
  More...
 
static QDataStream Write (QDataStream stream, QEasingCurve easing)
  More...
 
static QDataStream Write (QDataStream stream, QRectF rectangle)
  More...
 
static QDataStream Write (QDataStream @out, QDateTime dateTime)
  More...
 
static QDataStream Write (QDataStream @out, QUrl url)
  More...
 
static QDataStream Write (QDataStream @out, QTime time)
  More...
 
static QDataStream Write (QDataStream arg1, QLocale arg2)
 
static QDataStream Write (QDataStream @out, QBitArray ba)
  More...
 
static QDataStream Write (QDataStream s, QUuid id)
  More...
 
static QDataStream Write (QDataStream stream, QLine line)
  More...
 
static QDataStream Write (QDataStream @out, QDate date)
  More...
 
static QDataStream Write (QDataStream @out, QRegExp regExp)
  More...
 
static QDataStream Write (QDataStream stream, QRect rectangle)
  More...
 
static QDataStream Write (QDataStream stream, QSize size)
  More...
 
static QDataStream Write (QDataStream s, QVariant.Type p)
 
static QDataStream Write (QDataStream arg1, string arg2)
 
static QDataStream Write (QDataStream @out, System.Collections.Generic.List< string > list)
  More...
 
static QDataStream Read (QDataStream @in, QChar chr)
  More...
 
static QDataStream Read (QDataStream arg1, QLocale arg2)
 
static QDataStream Read (QDataStream stream, QRect rectangle)
  More...
 
static QDataStream Read (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Read (QDataStream @in, QDate date)
  More...
 
static QDataStream Read (QDataStream @in, QUrl url)
  More...
 
static QDataStream Read (QDataStream s, QUuid id)
  More...
 
static QTextStream Read (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Read (QDataStream stream, QLineF line)
  More...
 
static QDataStream Read (QDataStream stream, QRectF rectangle)
  More...
 
static QDataStream Read (QDataStream stream, QPointF point)
  More...
 
static QDataStream Read (QDataStream stream, QLine line)
  More...
 
static QDataStream Read (QDataStream @in, QBitArray ba)
  More...
 
static QDataStream Read (QDataStream stream, QSize size)
  More...
 
static QDataStream Read (QDataStream @in, QDateTime dateTime)
  More...
 
static QDataStream Read (QDataStream @in, QTime time)
  More...
 
static QDataStream Read (QDataStream stream, QPoint point)
  More...
 
static QDataStream Read (QDataStream @in, QRegExp regExp)
  More...
 
static QDataStream Read (QDataStream s, object p)
 
static QDataStream Read (QDataStream @in, QByteArray ba)
  More...
 
static QDataStream Read (QDataStream stream, QSizeF size)
  More...
 
static QDataStream Read (QDataStream arg1, string arg2)
 
static QDataStream Read (QDataStream s, QVariant.Type p)
 
static QDataStream Read (QDataStream @in, System.Collections.Generic.List< string > list)
  More...
 
static double QAcos (double v)
  More...
 
static void QAddPostRoutine (System.Action ptr)
  More...
 
static double QAsin (double v)
  More...
 
static double QAtan (double v)
  More...
 
static double QAtan2 (double x, double y)
  More...
 
static void QBadAlloc ()
 
static int QCeil (double v)
  More...
 
static ushort QChecksum (string s, uint len)
  More...
 
static QByteArray QCompress (QByteArray data, int compressionLevel=-1)
  More...
 
static QByteArray QCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1)
  More...
 
static double QCos (double v)
  More...
 
static double QExp (double v)
  More...
 
static double QFabs (double v)
 
static double QFastCos (double x)
 
static double QFastSin (double x)
 
static string QFlagLocation (string method)
 
static int QFloor (double v)
  More...
 
static bool QFuzzyCompare (double p1, double p2)
  More...
 
static bool QFuzzyCompare (float p1, float p2)
  More...
 
static bool QFuzzyIsNull (double d)
 
static bool QFuzzyIsNull (float f)
 
static uint QHash (QBitArray key)
  More...
 
static uint QHash (QChar key)
  More...
 
static uint QHash (QStringRef key)
 
static uint QHash (QUrl url)
  More...
 
static uint QHash (QPersistentModelIndex index)
 
static uint QHash (QByteArray key)
  More...
 
static uint QHash (QModelIndex index)
 
static uint QHash (uint key)
  More...
 
static uint QHash (char key)
  More...
 
static uint QHash (byte key)
  More...
 
static uint QHash (short key)
  More...
 
static uint QHash (NativeLong key)
  More...
 
static uint QHash (ushort key)
  More...
 
static uint QHash (long key)
  More...
 
static uint QHash (ulong key)
  More...
 
static uint QHash (int key)
  More...
 
static uint QHash (string key)
  More...
 
static uint QHash (NativeULong key)
  More...
 
static Qt.ActionQtMsgTypeString QInstallMsgHandler (Qt.ActionQtMsgTypeString handler)
  More...
 
static int QIntCast (float f)
 
static int QIntCast (double f)
 
static bool QIsFinite (double d)
 
static bool QIsFinite (float f)
 
static bool QIsInf (float f)
 
static bool QIsInf (double d)
 
static bool QIsNaN (float f)
 
static bool QIsNaN (double d)
 
static bool QIsNull (float f)
 
static bool QIsNull (double d)
 
static double QLn (double v)
  More...
 
static double QPow (double x, double y)
  More...
 
static void QRegisterStaticPluginInstanceFunction (Qt.FuncQObject function)
  More...
 
static void QRemovePostRoutine (System.Action arg1)
 
static int QRound (double d)
  More...
 
static long QRound64 (double d)
  More...
 
static double QSin (double v)
  More...
 
static double QSqrt (double v)
  More...
 
static bool QStringComparisonHelper (QStringRef s1, string s2)
 
static double QTan (double v)
  More...
 
static QByteArray QUncompress (QByteArray data)
  More...
 
static QByteArray QUncompress (Pointer< byte > data, int nbytes)
  More...
 
static void Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size)
 
static QByteArray Qgetenv (string varName)
  More...
 
static bool Qputenv (string varName, QByteArray value)
  More...
 
static void Qsrand (uint seed)
  More...
 
static int Qstrcmp (QByteArray str1, QByteArray str2)
 
static int Qstrcmp (QByteArray str1, string str2)
 
static int Qstrcmp (string str1, QByteArray str2)
 
static int Qstrcmp (string str1, string str2)
  More...
 
static Pointer< sbyte > Qstrcpy (Pointer< sbyte > dst, string src)
  More...
 
static Pointer< sbyte > Qstrdup (string src)
  More...
 
static int Qstricmp (string str1, string str2)
  More...
 
static uint Qstrlen (string str)
  More...
 
static int Qstrncmp (string str1, string str2, uint len)
  More...
 
static Pointer< sbyte > Qstrncpy (Pointer< sbyte > dst, string src, uint len)
  More...
 
static int Qstrnicmp (string str1, string str2, uint len)
  More...
 
static uint Qstrnlen (string str, uint maxlen)
  More...
 

Protected Member Functions

 QTreeWidget (System.Type dummy)
 
new void OnCurrentItemChanged (QTreeWidgetItem current, QTreeWidgetItem previous)
  More...
 
override void OnDropEvent (QDropEvent @event)
  More...
 
virtual bool DropMimeData (QTreeWidgetItem parent, int index, QMimeData data, Qt.DropAction action)
  More...
 
new QModelIndex IndexFromItem (QTreeWidgetItem item, int column=0)
  More...
 
new void OnItemActivated (QTreeWidgetItem item, int column)
  More...
 
new void OnItemChanged (QTreeWidgetItem item, int column)
  More...
 
new void OnItemClicked (QTreeWidgetItem item, int column)
  More...
 
new void OnItemCollapsed (QTreeWidgetItem item)
  More...
 
new void OnItemDoubleClicked (QTreeWidgetItem item, int column)
  More...
 
new void OnItemEntered (QTreeWidgetItem item, int column)
  More...
 
new void OnItemExpanded (QTreeWidgetItem item)
  More...
 
new QTreeWidgetItem ItemFromIndex (QModelIndex index)
  More...
 
new void OnItemPressed (QTreeWidgetItem item, int column)
  More...
 
new void OnItemSelectionChanged ()
  More...
 
new
System.Collections.Generic.List
< QTreeWidgetItem
Items (QMimeData data)
  More...
 
virtual QMimeData MimeData (System.Collections.Generic.List< QTreeWidgetItem > items)
  More...
 
- Protected Member Functions inherited from QtGui.QTreeView
 QTreeView (System.Type dummy)
 
new void OnCollapsed (QModelIndex index)
  More...
 
new void ColumnCountChanged (int oldCount, int newCount)
  More...
 
new void ColumnMoved ()
  More...
 
new void ColumnResized (int column, int oldSize, int newSize)
  More...
 
override void CurrentChanged (QModelIndex current, QModelIndex previous)
  More...
 
override void DataChanged (QModelIndex topLeft, QModelIndex bottomRight)
  More...
 
override void OnDragMoveEvent (QDragMoveEvent @event)
  More...
 
virtual void DrawBranches (QPainter painter, QRect rect, QModelIndex index)
  More...
 
virtual void DrawRow (QPainter painter, QStyleOptionViewItem options, QModelIndex index)
  More...
 
new void DrawTree (QPainter painter, QRegion region)
  More...
 
new void OnExpanded (QModelIndex index)
  More...
 
override void HorizontalScrollbarAction (int action)
 
new int IndexRowSizeHint (QModelIndex index)
  More...
 
override bool IsIndexHidden (QModelIndex index)
  More...
 
override void OnKeyPressEvent (QKeyEvent @event)
  More...
 
override void OnMouseDoubleClickEvent (QMouseEvent @event)
  More...
 
override void OnMouseMoveEvent (QMouseEvent @event)
  More...
 
override void OnMousePressEvent (QMouseEvent @event)
  More...
 
override void OnMouseReleaseEvent (QMouseEvent @event)
  More...
 
override QModelIndex MoveCursor (QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifier modifiers)
  More...
 
override void OnPaintEvent (QPaintEvent @event)
  More...
 
new void Reexpand ()
 
new int RowHeight (QModelIndex index)
  More...
 
override void RowsAboutToBeRemoved (QModelIndex parent, int start, int end)
  More...
 
override void RowsInserted (QModelIndex parent, int start, int end)
  More...
 
new void RowsRemoved (QModelIndex parent, int first, int last)
  More...
 
override void ScrollContentsBy (int dx, int dy)
  More...
 
override void SelectionChanged (QItemSelection selected, QItemSelection deselected)
  More...
 
override void SetSelection (QRect rect, QItemSelectionModel.SelectionFlag command)
  More...
 
override void OnTimerEvent (QTimerEvent @event)
  More...
 
override void UpdateGeometries ()
  More...
 
override bool OnViewportEvent (QEvent @event)
  More...
 
override QRegion VisualRegionForSelection (QItemSelection selection)
  More...
 
- Protected Member Functions inherited from QtGui.QAbstractItemView
 QAbstractItemView (System.Type dummy)
 
new void OnActivated (QModelIndex index)
  More...
 
new void OnClicked (QModelIndex index)
  More...
 
virtual void CloseEditor (QWidget editor, QAbstractItemDelegate.EndEditHint hint)
  More...
 
virtual void CommitData (QWidget editor)
  More...
 
new QPoint DirtyRegionOffset ()
  More...
 
new void DoAutoScroll ()
 
new void OnDoubleClicked (QModelIndex index)
  More...
 
override void OnDragEnterEvent (QDragEnterEvent @event)
  More...
 
override void OnDragLeaveEvent (QDragLeaveEvent @event)
  More...
 
virtual bool Edit (QModelIndex index, QAbstractItemView.EditTrigger trigger, QEvent @event)
  More...
 
virtual void EditorDestroyed (QObject editor)
  More...
 
new void OnEntered (QModelIndex index)
  More...
 
new void ExecuteDelayedItemsLayout ()
  More...
 
override void OnFocusInEvent (QFocusEvent @event)
  More...
 
override bool FocusNextPrevChild (bool next)
  More...
 
override void OnFocusOutEvent (QFocusEvent @event)
  More...
 
virtual void HorizontalScrollbarValueChanged (int value)
 
override void OnInputMethodEvent (QInputMethodEvent @event)
  More...
 
new void OnPressed (QModelIndex index)
  More...
 
override void OnResizeEvent (QResizeEvent @event)
  More...
 
new void ScheduleDelayedItemsLayout ()
  More...
 
new void ScrollDirtyRegion (int dx, int dy)
  More...
 
virtual
QItemSelectionModel.SelectionFlag 
SelectionCommand (QModelIndex index, QEvent @event=null)
  More...
 
new void SetDirtyRegion (QRegion region)
  More...
 
new void StartAutoScroll ()
 
virtual void StartDrag (Qt.DropAction supportedActions)
  More...
 
new void StopAutoScroll ()
 
virtual void UpdateEditorData ()
 
virtual void UpdateEditorGeometries ()
 
virtual void VerticalScrollbarAction (int action)
 
virtual void VerticalScrollbarValueChanged (int value)
 
new void OnViewportEntered ()
  More...
 
- Protected Member Functions inherited from QtGui.QAbstractScrollArea
 QAbstractScrollArea (System.Type dummy)
 
override void OnContextMenuEvent (QContextMenuEvent e)
  More...
 
override void OnDragEnterEvent (QDragEnterEvent @event)
  More...
 
override void OnDragLeaveEvent (QDragLeaveEvent @event)
  More...
 
override void OnKeyPressEvent (QKeyEvent e)
  More...
 
override void OnMouseDoubleClickEvent (QMouseEvent e)
  More...
 
override void OnMouseMoveEvent (QMouseEvent e)
  More...
 
override void OnMousePressEvent (QMouseEvent e)
  More...
 
override void OnMouseReleaseEvent (QMouseEvent e)
  More...
 
override void OnResizeEvent (QResizeEvent @event)
  More...
 
new void SetViewportMargins (QMargins margins)
  More...
 
new void SetViewportMargins (int left, int top, int right, int bottom)
  More...
 
new void SetupViewport (QWidget viewport)
  More...
 
override void OnWheelEvent (QWheelEvent e)
  More...
 
- Protected Member Functions inherited from QtGui.QFrame
 QFrame (System.Type dummy)
 
override void OnChangeEvent (QEvent ev)
  More...
 
new void DrawFrame (QPainter arg1)
 
- Protected Member Functions inherited from QtGui.QWidget
 QWidget (System.Type dummy)
 
virtual void OnActionEvent (QActionEvent @event)
  More...
 
virtual void OnChangeEvent (QEvent @event)
  More...
 
virtual void OnCloseEvent (QCloseEvent @event)
  More...
 
virtual void OnContextMenuEvent (QContextMenuEvent @event)
  More...
 
new void Create ()
  More...
 
new void Create (NativeULong window, bool initializeWindow=true, bool destroyOldWindow=true)
  More...
 
new void OnCustomContextMenuRequested (QPoint pos)
  More...
 
new void Destroy (bool destroyWindow=true, bool destroySubWindows=true)
  More...
 
virtual void EnabledChange (bool arg1)
 
virtual void OnEnterEvent (QEvent @event)
  More...
 
new bool FocusNextChild ()
  More...
 
new bool FocusPreviousChild ()
  More...
 
virtual void FontChange (QFont arg1)
 
virtual void OnHideEvent (QHideEvent @event)
  More...
 
virtual void OnKeyReleaseEvent (QKeyEvent @event)
  More...
 
virtual void LanguageChange ()
  More...
 
virtual void OnLeaveEvent (QEvent @event)
  More...
 
virtual int Metric (QPaintDevice.PaintDeviceMetric m)
  More...
 
virtual void OnMoveEvent (QMoveEvent @event)
  More...
 
virtual void PaletteChange (QPalette arg1)
 
new void ResetInputContext ()
  More...
 
virtual void OnShowEvent (QShowEvent @event)
  More...
 
virtual void StyleChange (QStyle arg1)
 
virtual void OnTabletEvent (QTabletEvent @event)
  More...
 
new void UpdateMicroFocus ()
  More...
 
virtual void OnWheelEvent (QWheelEvent @event)
  More...
 
virtual void WindowActivationChange (bool arg1)
 
- Protected Member Functions inherited from QtCore.QObject
 QObject (System.Type dummy)
 
virtual void OnChildEvent (QChildEvent @event)
  More...
 
virtual void ConnectNotify (string signal)
  More...
 
virtual void OnCustomEvent (QEvent @event)
  More...
 
new void OnDestroyed (QObject obj=null)
  More...
 
virtual void DisconnectNotify (string signal)
  More...
 
new int Receivers (string signal)
  More...
 

Properties

Slot< QTreeWidgetItem,
System.Int32 > 
ItemPressed
  More...
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemClicked
  More...
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemDoubleClicked
  More...
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemActivated
  More...
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemEntered
  More...
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemChanged
  More...
 
Slot< QTreeWidgetItemItemExpanded
  More...
 
Slot< QTreeWidgetItemItemCollapsed
  More...
 
Slot< QTreeWidgetItem,
QTreeWidgetItem
CurrentItemChanged
  More...
 
Slot ItemSelectionChanged
  More...
 
QTreeWidgetItem CurrentItem [get, set]
  More...
 
QTreeWidgetItem HeaderItem [get, set]
  More...
 
override QItemSelectionModel SelectionModel [get, set]
  More...
 
int CurrentColumn [get]
  More...
 
QTreeWidgetItem InvisibleRootItem [get]
  More...
 
bool IsSortingEnabled [get]
 
virtual
System.Collections.Generic.List
< string > 
MimeTypes [get]
  More...
 
System.Collections.Generic.List
< QTreeWidgetItem
SelectedItems [get]
  More...
 
int SortColumn [get]
  More...
 
virtual Qt.DropAction SupportedDropActions [get]
  More...
 
new int ColumnCount [get, set]
  More...
 
new int TopLevelItemCount [get]
  More...
 
static new QMetaObject StaticMetaObject [get]
 
new IQTreeWidgetSignals Emit [get]
 
- Properties inherited from QtGui.QTreeView
Slot< QModelIndexExpanded
  More...
 
Slot< QModelIndexCollapsed
  More...
 
QHeaderView Header [get, set]
  More...
 
override QAbstractItemModel Model [get, set]
  More...
 
override QModelIndex RootIndex [get, set]
  More...
 
override QItemSelectionModel SelectionModel [get, set]
  More...
 
override int HorizontalOffset [get, set]
  More...
 
override
System.Collections.Generic.List
< QModelIndex
SelectedIndexes [get]
  More...
 
override int VerticalOffset [get, set]
  More...
 
new int AutoExpandDelay [get, set]
  More...
 
new int Indentation [get, set]
  More...
 
new bool RootIsDecorated [get, set]
  More...
 
new bool UniformRowHeights [get, set]
  More...
 
new bool ItemsExpandable [get, set]
  More...
 
new bool SortingEnabled [get, set]
  More...
 
new bool Animated [get, set]
  More...
 
new bool AllColumnsShowFocus [get, set]
  More...
 
new bool WordWrap [get, set]
  More...
 
new bool HeaderHidden [get, set]
  More...
 
new bool ExpandsOnDoubleClick [get, set]
  More...
 
static new QMetaObject StaticMetaObject [get]
 
new IQTreeViewSignals Emit [get]
 
- Properties inherited from QtGui.QAbstractItemView
Slot< QModelIndexPressed
  More...
 
Slot< QModelIndexClicked
  More...
 
Slot< QModelIndexDoubleClicked
  More...
 
Slot< QModelIndexActivated
  More...
 
Slot< QModelIndexEntered
  More...
 
Slot ViewportEntered
  More...
 
QModelIndex CurrentIndex [get, set]
  More...
 
int HorizontalStepsPerItem [get, set]
  More...
 
virtual QAbstractItemModel Model [get, set]
  More...
 
virtual QModelIndex RootIndex [get, set]
  More...
 
virtual QItemSelectionModel SelectionModel [get, set]
  More...
 
QAbstractItemView.State state [get, set]
  More...
 
int VerticalStepsPerItem [get, set]
  More...
 
QAbstractItemView.DropIndicatorPosition dropIndicatorPosition [get]
  More...
 
virtual int HorizontalOffset [get, set]
  More...
 
virtual
System.Collections.Generic.List
< QModelIndex
SelectedIndexes [get]
  More...
 
virtual int VerticalOffset [get, set]
  More...
 
virtual QStyleOptionViewItem ViewOptions [get]
  More...
 
new bool AutoScroll [get, set]
  More...
 
new int AutoScrollMargin [get, set]
  More...
 
new QAbstractItemView.EditTrigger EditTriggers [get, set]
  More...
 
new bool TabKeyNavigation [get, set]
  More...
 
new bool ShowDropIndicator [get, set]
  More...
 
new bool DragEnabled [get, set]
  More...
 
new bool DragDropOverwriteMode [get, set]
  More...
 
new DragDropMode dragDropMode [get, set]
  More...
 
new Qt.DropAction DefaultDropAction [get, set]
  More...
 
new bool AlternatingRowColors [get, set]
  More...
 
new SelectionMode selectionMode [get, set]
  More...
 
new SelectionBehavior selectionBehavior [get, set]
  More...
 
new QSize IconSize [get, set]
  More...
 
new Qt.TextElideMode TextElideMode [get, set]
  More...
 
new ScrollMode VerticalScrollMode [get, set]
  More...
 
new ScrollMode HorizontalScrollMode [get, set]
  More...
 
static new QMetaObject StaticMetaObject [get]
 
new IQAbstractItemViewSignals Emit [get]
 
- Properties inherited from QtGui.QAbstractScrollArea
virtual EventHandler
< QEventArgs< QEvent > > 
ViewportEvent
  More...
 
QWidget CornerWidget [get, set]
  More...
 
QScrollBar HorizontalScrollBar [get, set]
  More...
 
QScrollBar VerticalScrollBar [get, set]
  More...
 
QWidget Viewport [get, set]
  More...
 
override QSize MinimumSizeHint [get]
  More...
 
override QSize SizeHint [get]
  More...
 
QSize MaximumViewportSize [get]
  More...
 
override EventHandler
< QEventArgs< QActionEvent > > 
ActionEvent
  More...
 
override EventHandler
< QEventArgs< QEvent > > 
ChangeEvent
  More...
 
override EventHandler
< QEventArgs< QCloseEvent > > 
CloseEvent
  More...
 
override EventHandler
< QEventArgs
< QContextMenuEvent > > 
ContextMenuEvent
  More...
 
override EventHandler
< QEventArgs< QDragEnterEvent > > 
DragEnterEvent
  More...
 
override EventHandler
< QEventArgs< QDragLeaveEvent > > 
DragLeaveEvent
  More...
 
override EventHandler
< QEventArgs< QDragMoveEvent > > 
DragMoveEvent
  More...
 
override EventHandler
< QEventArgs< QDropEvent > > 
DropEvent
  More...
 
override EventHandler
< QEventArgs< QEvent > > 
EnterEvent
  More...
 
override EventHandler
< QEventArgs< QFocusEvent > > 
FocusInEvent
  More...
 
override EventHandler
< QEventArgs< QFocusEvent > > 
FocusOutEvent
  More...
 
override EventHandler
< QEventArgs< QHideEvent > > 
HideEvent
  More...
 
override EventHandler
< QEventArgs
< QInputMethodEvent > > 
InputMethodEvent
  More...
 
override EventHandler
< QEventArgs< QKeyEvent > > 
KeyPressEvent
  More...
 
override EventHandler
< QEventArgs< QKeyEvent > > 
KeyReleaseEvent
  More...
 
override EventHandler
< QEventArgs< QEvent > > 
LeaveEvent
  More...
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MouseDoubleClickEvent
  More...
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MouseMoveEvent
  More...
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MousePressEvent
  More...
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MouseReleaseEvent
  More...
 
override EventHandler
< QEventArgs< QMoveEvent > > 
MoveEvent
  More...
 
override EventHandler
< QEventArgs< QPaintEvent > > 
PaintEvent
  More...
 
override EventHandler
< QEventArgs< QResizeEvent > > 
ResizeEvent
  More...
 
override EventHandler
< QEventArgs< QShowEvent > > 
ShowEvent
  More...
 
override EventHandler
< QEventArgs< QTabletEvent > > 
TabletEvent
  More...
 
override EventHandler
< QEventArgs< QWheelEvent > > 
WheelEvent
  More...
 
new Qt.ScrollBarPolicy VerticalScrollBarPolicy [get, set]
  More...
 
new Qt.ScrollBarPolicy HorizontalScrollBarPolicy [get, set]
  More...
 
static new QMetaObject StaticMetaObject [get]
 
new IQAbstractScrollAreaSignals Emit [get]
 
- Properties inherited from QtGui.QFrame
int FrameStyle [get, set]
  More...
 
override QSize SizeHint [get]
  More...
 
new Shape FrameShape [get, set]
  More...
 
new Shadow FrameShadow [get, set]
  More...
 
new int LineWidth [get, set]
  More...
 
new int MidLineWidth [get, set]
  More...
 
new int FrameWidth [get]
  More...
 
new QRect FrameRect [get, set]
  More...
 
static new QMetaObject StaticMetaObject [get]
 
new IQFrameSignals Emit [get]
 
- Properties inherited from QtGui.QWidget
virtual EventHandler
< QEventArgs< QActionEvent > > 
ActionEvent
  More...
 
virtual EventHandler
< QEventArgs< QEvent > > 
ChangeEvent
  More...
 
virtual EventHandler
< QEventArgs< QCloseEvent > > 
CloseEvent
  More...
 
virtual EventHandler
< QEventArgs
< QContextMenuEvent > > 
ContextMenuEvent
  More...
 
virtual EventHandler
< QEventArgs< QDragEnterEvent > > 
DragEnterEvent
  More...
 
virtual EventHandler
< QEventArgs< QDragLeaveEvent > > 
DragLeaveEvent
  More...
 
virtual EventHandler
< QEventArgs< QDragMoveEvent > > 
DragMoveEvent
  More...
 
virtual EventHandler
< QEventArgs< QDropEvent > > 
DropEvent
  More...
 
virtual EventHandler
< QEventArgs< QEvent > > 
EnterEvent
  More...
 
virtual EventHandler
< QEventArgs< QFocusEvent > > 
FocusInEvent
  More...
 
virtual EventHandler
< QEventArgs< QFocusEvent > > 
FocusOutEvent
  More...
 
virtual EventHandler
< QEventArgs< QHideEvent > > 
HideEvent
  More...
 
virtual EventHandler
< QEventArgs
< QInputMethodEvent > > 
InputMethodEvent
  More...
 
virtual EventHandler
< QEventArgs< QKeyEvent > > 
KeyPressEvent
  More...
 
virtual EventHandler
< QEventArgs< QKeyEvent > > 
KeyReleaseEvent
  More...
 
virtual EventHandler
< QEventArgs< QEvent > > 
LeaveEvent
  More...
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MouseDoubleClickEvent
  More...
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MouseMoveEvent
  More...
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MousePressEvent
  More...
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MouseReleaseEvent
  More...
 
virtual EventHandler
< QEventArgs< QMoveEvent > > 
MoveEvent
  More...
 
virtual EventHandler
< QEventArgs< QPaintEvent > > 
PaintEvent
  More...
 
virtual EventHandler
< QEventArgs< QResizeEvent > > 
ResizeEvent
  More...
 
virtual EventHandler
< QEventArgs< QShowEvent > > 
ShowEvent
  More...
 
virtual EventHandler
< QEventArgs< QTabletEvent > > 
TabletEvent
  More...
 
virtual EventHandler
< QEventArgs< QWheelEvent > > 
WheelEvent
  More...
 
Slot< QPointCustomContextMenuRequested
  More...
 
QPalette.ColorRole BackgroundRole [get, set]
  More...
 
QMargins ContentsMargins [get, set]
  More...
 
QWidget FocusProxy [get, set]
  More...
 
QPalette.ColorRole ForegroundRole [get, set]
  More...
 
QGraphicsEffect GraphicsEffect [get, set]
  More...
 
QInputContext InputContext [get, set]
  More...
 
QLayout Layout [get, set]
  More...
 
QRegion Mask [get, set]
  More...
 
QStyle Style [get, set]
  More...
 
Qt.WindowType WindowFlags [get, set]
 
string WindowRole [get, set]
  More...
 
Qt.WindowState WindowState [get, set]
  More...
 
virtual int DevType [get]
 
virtual QPaintEngine PaintEngine [get]
  More...
 
int ColorCount [get]
  More...
 
int Depth [get]
  More...
 
int HeightMM [get]
  More...
 
int LogicalDpiX [get]
  More...
 
int LogicalDpiY [get]
  More...
 
int NumColors [get]
  More...
 
bool PaintingActive [get]
  More...
 
int PhysicalDpiX [get]
  More...
 
int PhysicalDpiY [get]
  More...
 
int WidthMM [get]
  More...
 
System.Collections.Generic.List
< QAction
Actions [get]
  More...
 
QRect ContentsRect [get]
  More...
 
NativeULong EffectiveWinId [get]
  More...
 
QFontInfo FontInfo [get]
  More...
 
QFontMetrics FontMetrics [get]
  More...
 
QGraphicsProxyWidget GraphicsProxyWidget [get]
  More...
 
NativeULong InternalWinId [get]
 
bool IsEnabledToTLW [get]
  More...
 
bool IsHidden [get]
  More...
 
bool IsLeftToRight [get]
 
bool IsRightToLeft [get]
 
bool IsTopLevel [get]
  More...
 
bool IsWindow [get]
  More...
 
static QWidget KeyboardGrabber [get]
  More...
 
static QWidget MouseGrabber [get]
  More...
 
QWidget NativeParentWidget [get]
  More...
 
QWidget NextInFocusChain [get]
  More...
 
QWidget ParentWidget [get]
  More...
 
QWidget PreviousInFocusChain [get]
  More...
 
QWidget TopLevelWidget [get]
  More...
 
bool UnderMouse [get]
  More...
 
QRegion VisibleRegion [get]
  More...
 
NativeULong WinId [get]
  More...
 
QWidget Window [get]
  More...
 
Qt.WindowType WindowType [get]
  More...
 
new bool Modal [get]
  More...
 
new Qt.WindowModality WindowModality [get, set]
  More...
 
new bool Enabled [get, set]
  More...
 
new QRect Geometry [get, set]
  More...
 
new QRect FrameGeometry [get]
  More...
 
new QRect NormalGeometry [get]
  More...
 
new int X [get]
  More...
 
new int Y [get]
  More...
 
new QPoint Pos [get, set]
  More...
 
new QSize FrameSize [get]
  More...
 
new QSize Size [get, set]
  More...
 
new int Width [get]
  More...
 
new int Height [get]
  More...
 
new QRect Rect [get]
  More...
 
new QRect ChildrenRect [get]
  More...
 
new QRegion ChildrenRegion [get]
  More...
 
new QSizePolicy SizePolicy [get, set]
  More...
 
new QSize MinimumSize [get, set]
  More...
 
new QSize MaximumSize [get, set]
  More...
 
new int MinimumWidth [get, set]
  More...
 
new int MinimumHeight [get, set]
  More...
 
new int MaximumWidth [get, set]
  More...
 
new int MaximumHeight [get, set]
  More...
 
new QSize SizeIncrement [get, set]
  More...
 
new QSize BaseSize [get, set]
  More...
 
new QPalette Palette [get, set]
  More...
 
new QFont Font [get, set]
  More...
 
new QCursor Cursor [get, set]
  More...
 
new bool MouseTracking [get, set]
  More...
 
new bool IsActiveWindow [get]
  More...
 
new Qt.FocusPolicy FocusPolicy [get, set]
  More...
 
new bool Focus [get]
  More...
 
new Qt.ContextMenuPolicy ContextMenuPolicy [get, set]
  More...
 
new bool UpdatesEnabled [get, set]
  More...
 
virtual new bool Visible [get, set]
  More...
 
new bool Minimized [get]
  More...
 
new bool Maximized [get]
  More...
 
new bool FullScreen [get]
  More...
 
virtual new QSize SizeHint [get]
  More...
 
virtual new QSize MinimumSizeHint [get]
  More...
 
new bool AcceptDrops [get, set]
  More...
 
new string WindowTitle [get, set]
  More...
 
new QIcon WindowIcon [get, set]
  More...
 
new string WindowIconText [get, set]
  More...
 
new double WindowOpacity [get, set]
  More...
 
new bool WindowModified [get, set]
  More...
 
new string ToolTip [get, set]
  More...
 
new string StatusTip [get, set]
  More...
 
new string WhatsThis [get, set]
  More...
 
new string AccessibleName [get, set]
  More...
 
new string AccessibleDescription [get, set]
  More...
 
new Qt.LayoutDirection LayoutDirection [get, set]
  More...
 
new bool AutoFillBackground [get, set]
  More...
 
new string StyleSheet [get, set]
  More...
 
new QLocale Locale [get, set]
  More...
 
new string WindowFilePath [get, set]
  More...
 
new Qt.InputMethodHint InputMethodHints [get, set]
  More...
 
static new QMetaObject StaticMetaObject [get]
 
new ushort Painters [get, set]
 
new IQWidgetSignals Emit [get]
 
- Properties inherited from QtCore.QObject
virtual EventHandler
< QEventArgs< QChildEvent > > 
ChildEvent
  More...
 
virtual EventHandler
< QEventArgs< QEvent > > 
CustomEvent
  More...
 
virtual EventHandler
< QEventArgs< QEvent > > 
Event
  More...
 
virtual EventHandler
< QEventArgs< QTimerEvent > > 
TimerEvent
  More...
 
Slot< QObjectDestroyedObj
  More...
 
Slot Destroyed
  More...
 
QObject Parent [get, set]
  More...
 
System.Collections.Generic.List
< QObject
Children [get]
  More...
 
System.Collections.Generic.List
< QByteArray
DynamicPropertyNames [get]
  More...
 
bool IsWidgetType [get]
  More...
 
static uint RegisterUserData [get]
 
QObject Sender [get]
  More...
 
int SenderSignalIndex [get]
  More...
 
bool SignalsBlocked [get]
  More...
 
virtual System.IntPtr SmokeObject [get, set]
 
new string ObjectName [get, set]
  More...
 
static new QMetaObject StaticMetaObject [get]
  More...
 
static new QMetaObject StaticQtMetaObject [get]
 
new IQObjectSignals Emit [get]
 
- Properties inherited from QtCore.Qt
static string QAppName [get]
 
static double QInf [get]
 
static double QQNaN [get]
 
static double QSNaN [get]
 
static bool QSharedBuild [get]
 
static string QVersion [get]
  More...
 
static int Qrand [get]
  More...
 
- Properties inherited from QtGui.IQPaintDevice
System.Int32 ColorCount [get]
  More...
 
System.Int32 Depth [get]
  More...
 
System.Int32 DevType [get]
 
System.Int32 Height [get]
  More...
 
System.Int32 HeightMM [get]
  More...
 
System.Int32 LogicalDpiX [get]
  More...
 
System.Int32 LogicalDpiY [get]
  More...
 
System.Int32 NumColors [get]
  More...
 
QPaintEngine PaintEngine [get]
  More...
 
System.Boolean PaintingActive [get]
  More...
 
System.Int32 PhysicalDpiX [get]
  More...
 
System.Int32 PhysicalDpiY [get]
  More...
 
System.Int32 Width [get]
  More...
 
System.Int32 WidthMM [get]
  More...
 

Additional Inherited Members

- Public Types inherited from QtGui.QAbstractItemView
enum  CursorAction {
  MoveDown = 1, MoveEnd = 5, MoveHome = 4, MoveLeft = 2,
  MoveNext = 8, MovePageDown = 7, MovePageUp = 6, MovePrevious = 9,
  MoveRight = 3, MoveUp = 0
}
  More...
 
enum  DragDropMode {
  DragDrop = 3, DragOnly = 1, DropOnly = 2, InternalMove = 4,
  NoDragDrop = 0
}
  More...
 
enum  DropIndicatorPosition { AboveItem = 1, BelowItem = 2, OnItem = 0, OnViewport = 3 }
  More...
 
enum  EditTrigger {
  AllEditTriggers = 31, AnyKeyPressed = 16, CurrentChanged = 1, DoubleClicked = 2,
  EditKeyPressed = 8, NoEditTriggers = 0, SelectedClicked = 4
}
  More...
 
enum  ScrollHint { EnsureVisible = 0, PositionAtBottom = 2, PositionAtCenter = 3, PositionAtTop = 1 }
 
enum  ScrollMode { ScrollPerItem = 0, ScrollPerPixel = 1 }
  More...
 
enum  SelectionBehavior { SelectColumns = 2, SelectItems = 0, SelectRows = 1 }
 
enum  SelectionMode {
  ContiguousSelection = 4, ExtendedSelection = 3, MultiSelection = 2, NoSelection = 0,
  SingleSelection = 1
}
  More...
 
enum  State {
  AnimatingState = 6, CollapsingState = 5, DragSelectingState = 2, DraggingState = 1,
  EditingState = 3, ExpandingState = 4, NoState = 0
}
  More...
 
- Static Public Attributes inherited from QtCore.Qt
</para > *< para > Creating QM
files suitable for use with
this[SmokeMethod("qtTrId(const
char*, int)")] static strin 
QtTrId )(string id, int n=-1)
 
- Protected Attributes inherited from QtCore.QObject
object Q_EMIT = null
 
SmokeInvocation interceptor
 
readonly List< QEventHandler > eventFilters = new List<QEventHandler>()
 

Detailed Description

The QTreeWidget class provides a tree view that uses a predefined tree model.

The QTreeWidget class is a convenience class that provides a standard tree widget with a classic item-based interface similar to that used by the QListView class in Qt 3. This class is based on Qt's Model/View architecture and uses a default model to hold items, each of which is a QTreeWidgetItem.

Developers who do not need the flexibility of the Model/View framework can use this class to create simple hierarchical lists very easily. A more flexible approach involves combining a QTreeView with a standard item model. This allows the storage of data to be separated from its representation.

In its simplest form, a tree widget can be constructed in the following way:

QTreeWidget treeWidget = new QTreeWidget();

treeWidget->setColumnCount(1);

QList<QTreeWidgetItem *> items;

for (int i = 0; i < 10; ++i)

items.append(new QTreeWidgetItem((QTreeWidget)0, QStringList(QString("item: %1").arg(i))));

treeWidget->insertTopLevelItems(0, items);

Before items can be added to the tree widget, the number of columns must be set with setColumnCount(). This allows each item to have one or more labels or other decorations. The number of columns in use can be found with the columnCount() function.

The tree can have a header that contains a section for each column in the widget. It is easiest to set up the labels for each section by supplying a list of strings with setHeaderLabels(), but a custom header can be constructed with a QTreeWidgetItem and inserted into the tree with the setHeaderItem() function.

The items in the tree can be sorted by column according to a predefined sort order. If sorting is enabled, the user can sort the items by clicking on a column header. Sorting can be enabled or disabled by calling setSortingEnabled(). The isSortingEnabled() function indicates whether sorting is enabled.

A Windows XP style tree widget. A Macintosh style tree widget. A Plastique style tree widget.

See also QTreeWidgetItem, QTreeWidgetItemIterator, QTreeView, Model/View Programming, and Settings Editor Example.

Constructor & Destructor Documentation

QtGui.QTreeWidget.QTreeWidget ( System.Type  dummy)
protected
QtGui.QTreeWidget.QTreeWidget ( QWidget  parent = null)

Constructs a tree widget with the given parent.

Here is the call graph for this function:

Member Function Documentation

new void QtGui.QTreeWidget.AddTopLevelItem ( QTreeWidgetItem  item)

Appends the item as a top-level item in the widget.

This function was introduced in Qt 4.1.

See also insertTopLevelItem().

new void QtGui.QTreeWidget.AddTopLevelItems ( System.Collections.Generic.List< QTreeWidgetItem items)

Appends the list of items as a top-level items in the widget.

See also insertTopLevelItems().

new void QtGui.QTreeWidget.Clear ( )

Clears the tree widget by removing all of its items and selections.

Note: Since each item is removed from the tree widget before being deleted, the return value of QTreeWidgetItem::treeWidget() will be invalid when called from an item's destructor.

See also takeTopLevelItem(), topLevelItemCount(), and columnCount().

new void QtGui.QTreeWidget.ClosePersistentEditor ( QTreeWidgetItem  item,
int  column = 0 
)

Closes the persistent editor for the item in the given column.

This function has no effect if no persistent editor is open for this combination of item and column.

See also openPersistentEditor().

new void QtGui.QTreeWidget.CollapseItem ( QTreeWidgetItem  item)

Closes the item. This causes the tree containing the item's children to be collapsed.

See also expandItem(), currentItem(), itemAt(), and topLevelItem().

override void QtGui.QTreeWidget.CreateProxy ( )
virtual

Reimplemented from QtGui.QTreeView.

Here is the caller graph for this function:

new void QtGui.QTreeWidget.Dispose ( )
virtual bool QtGui.QTreeWidget.DropMimeData ( QTreeWidgetItem  parent,
int  index,
QMimeData  data,
Qt.DropAction  action 
)
protectedvirtual

Handles the data supplied by a drag and drop operation that ended with the given action in the index in the given parent item.

The default implementation returns true if the drop was successfully handled by decoding the mime data and inserting it into the model; otherwise it returns false.

See also supportedDropActions().

new void QtGui.QTreeWidget.EditItem ( QTreeWidgetItem  item,
int  column = 0 
)

Starts editing the item in the given column if it is editable.

new void QtGui.QTreeWidget.ExpandItem ( QTreeWidgetItem  item)

Expands the item. This causes the tree containing the item's children to be expanded.

See also collapseItem(), currentItem(), itemAt(), topLevelItem(), and itemExpanded().

new System.Collections.Generic.List<QTreeWidgetItem> QtGui.QTreeWidget.FindItems ( string  text,
Qt.MatchFlag  flags,
int  column = 0 
)

Returns a list of items that match the given text, using the given flags, in the given column.

new QModelIndex QtGui.QTreeWidget.IndexFromItem ( QTreeWidgetItem  item,
int  column = 0 
)
protected

Returns the QModelIndex assocated with the given item in the given column.

See also itemFromIndex() and topLevelItem().

new int QtGui.QTreeWidget.IndexOfTopLevelItem ( QTreeWidgetItem  item)

Returns the index of the given top-level item, or -1 if the item cannot be found.

See also sortItems() and topLevelItemCount().

new void QtGui.QTreeWidget.InsertTopLevelItem ( int  index,
QTreeWidgetItem  item 
)

Inserts the item at index in the top level in the view.

If the item has already been inserted somewhere else it wont be inserted.

See also addTopLevelItem() and columnCount().

new void QtGui.QTreeWidget.InsertTopLevelItems ( int  index,
System.Collections.Generic.List< QTreeWidgetItem items 
)

Inserts the list of items at index in the top level in the view.

Items that have already been inserted somewhere else wont be inserted.

This function was introduced in Qt 4.1.

See also addTopLevelItems().

new bool QtGui.QTreeWidget.IsFirstItemColumnSpanned ( QTreeWidgetItem  item)

Returns true if the given item is set to show only one section over all columns; otherwise returns false.

This function was introduced in Qt 4.3.

See also setFirstItemColumnSpanned().

new bool QtGui.QTreeWidget.IsItemExpanded ( QTreeWidgetItem  item)

Returns true if the given item is open; otherwise returns false.

This function is deprecated. Use QTreeWidgetItem::isExpanded() instead.

See also itemExpanded().

new bool QtGui.QTreeWidget.IsItemHidden ( QTreeWidgetItem  item)

Returns true if the item is explicitly hidden, otherwise returns false.

This function is deprecated. Use QTreeWidgetItem::isHidden() instead.

new bool QtGui.QTreeWidget.IsItemSelected ( QTreeWidgetItem  item)

Returns true if the item is selected; otherwise returns false.

This function is deprecated. Use QTreeWidgetItem::isSelected() instead.

See also itemSelectionChanged().

new QTreeWidgetItem QtGui.QTreeWidget.ItemAbove ( QTreeWidgetItem  item)

Returns the item above the given item.

This function was introduced in Qt 4.3.

new QTreeWidgetItem QtGui.QTreeWidget.ItemAt ( QPoint  p)

Returns a pointer to the item at the coordinates p. The coordinates are relative to the tree widget's viewport().

See also visualItemRect().

new QTreeWidgetItem QtGui.QTreeWidget.ItemAt ( int  x,
int  y 
)

This is an overloaded function.

Returns a pointer to the item at the coordinates (x, y). The coordinates are relative to the tree widget's viewport().

new QTreeWidgetItem QtGui.QTreeWidget.ItemBelow ( QTreeWidgetItem  item)

Returns the item visually below the given item.

This function was introduced in Qt 4.3.

new QTreeWidgetItem QtGui.QTreeWidget.ItemFromIndex ( QModelIndex  index)
protected

Returns a pointer to the QTreeWidgetItem assocated with the given index.

See also indexFromItem().

new System.Collections.Generic.List<QTreeWidgetItem> QtGui.QTreeWidget.Items ( QMimeData  data)
protected

Returns an empty list

See also mimeData().

new QWidget QtGui.QTreeWidget.ItemWidget ( QTreeWidgetItem  item,
int  column 
)

Returns the widget displayed in the cell specified by item and the given column.

Note: The tree takes ownership of the widget.

This function was introduced in Qt 4.1.

See also setItemWidget().

virtual QMimeData QtGui.QTreeWidget.MimeData ( System.Collections.Generic.List< QTreeWidgetItem items)
protectedvirtual

Returns an object that contains a serialized description of the specified items. The format used to describe the items is obtained from the mimeTypes() function.

If the list of items is empty, 0 is returned rather than a serialized empty list.

new void QtGui.QTreeWidget.OnCurrentItemChanged ( QTreeWidgetItem  current,
QTreeWidgetItem  previous 
)
protected

This signal is emitted when the current item changes. The current item is specified by current, and this replaces the previous current item.

See also setCurrentItem().

override void QtGui.QTreeWidget.OnDropEvent ( QDropEvent event)
protectedvirtual

Reimplemented from QWidget::dropEvent().

Reimplemented from QtGui.QAbstractItemView.

override bool QtGui.QTreeWidget.OnEvent ( QEvent  e)
virtual

Reimplemented from QObject::event().

Reimplemented from QtGui.QFrame.

new void QtGui.QTreeWidget.OnItemActivated ( QTreeWidgetItem  item,
int  column 
)
protected

This signal is emitted when the user activates an item by single- or double-clicking (depending on the platform, i.e. on the QStyle::SH_ItemView_ActivateItemOnSingleClick style hint) or pressing a special key (e.g., Enter).

The specified item is the item that was clicked, or 0 if no item was clicked. The column is the item's column that was clicked, or -1 if no item was clicked.

new void QtGui.QTreeWidget.OnItemChanged ( QTreeWidgetItem  item,
int  column 
)
protected

This signal is emitted when the contents of the column in the specified item changes.

new void QtGui.QTreeWidget.OnItemClicked ( QTreeWidgetItem  item,
int  column 
)
protected

This signal is emitted when the user clicks inside the widget.

The specified item is the item that was clicked. The column is the item's column that was clicked. If no item was clicked, no signal will be emitted.

new void QtGui.QTreeWidget.OnItemCollapsed ( QTreeWidgetItem  item)
protected

This signal is emitted when the specified item is collapsed so that none of its children are displayed.

Note: This signal will not be emitted if an item changes its state when collapseAll() is invoked.

See also QTreeWidgetItem::isExpanded(), itemExpanded(), and collapseItem().

new void QtGui.QTreeWidget.OnItemDoubleClicked ( QTreeWidgetItem  item,
int  column 
)
protected

This signal is emitted when the user double clicks inside the widget.

The specified item is the item that was clicked, or 0 if no item was clicked. The column is the item's column that was clicked. If no item was double clicked, no signal will be emitted.

new void QtGui.QTreeWidget.OnItemEntered ( QTreeWidgetItem  item,
int  column 
)
protected

This signal is emitted when the mouse cursor enters an item over the specified column. QTreeWidget mouse tracking needs to be enabled for this feature to work.

new void QtGui.QTreeWidget.OnItemExpanded ( QTreeWidgetItem  item)
protected

This signal is emitted when the specified item is expanded so that all of its children are displayed.

Note: This signal will not be emitted if an item changes its state when expandAll() is invoked.

See also setItemExpanded(), QTreeWidgetItem::isExpanded(), itemCollapsed(), and expandItem().

new void QtGui.QTreeWidget.OnItemPressed ( QTreeWidgetItem  item,
int  column 
)
protected

This signal is emitted when the user presses a mouse button inside the widget.

The specified item is the item that was clicked, or 0 if no item was clicked. The column is the item's column that was clicked, or -1 if no item was clicked.

new void QtGui.QTreeWidget.OnItemSelectionChanged ( )
protected

This signal is emitted when the selection changes in the tree widget. The current selection can be found with selectedItems().

new void QtGui.QTreeWidget.OpenPersistentEditor ( QTreeWidgetItem  item,
int  column = 0 
)

Opens a persistent editor for the item in the given column.

See also closePersistentEditor().

new void QtGui.QTreeWidget.RemoveItemWidget ( QTreeWidgetItem  item,
int  column 
)

Removes the widget set in the given item in the given column.

This function was introduced in Qt 4.3.

new void QtGui.QTreeWidget.ScrollToItem ( QTreeWidgetItem  item,
QAbstractItemView.ScrollHint  hint = QAbstractItemView.ScrollHint.EnsureVisible 
)

Ensures that the item is visible, scrolling the view if necessary using the specified hint.

See also currentItem(), itemAt(), and topLevelItem().

new void QtGui.QTreeWidget.SetCurrentItem ( QTreeWidgetItem  item,
int  column 
)

Sets the current item in the tree widget and the current column to column.

This function was introduced in Qt 4.1.

See also currentItem().

new void QtGui.QTreeWidget.SetCurrentItem ( QTreeWidgetItem  item,
int  column,
QItemSelectionModel.SelectionFlag  command 
)

Sets the current item in the tree widget and the current column to column, using the given command.

This function was introduced in Qt 4.4.

See also currentItem().

new void QtGui.QTreeWidget.SetFirstItemColumnSpanned ( QTreeWidgetItem  item,
bool  span 
)

Sets the given item to only show one section for all columns if span is true; otherwise the item will show one section per column.

This function was introduced in Qt 4.3.

See also isFirstItemColumnSpanned().

new void QtGui.QTreeWidget.SetHeaderLabel ( string  label)

Same as setHeaderLabels(QStringList(label)).

This function was introduced in Qt 4.2.

new void QtGui.QTreeWidget.SetHeaderLabels ( System.Collections.Generic.List< string >  labels)

Adds a column in the header for each item in the labels list, and sets the label for each column.

Note that setHeaderLabels() won't remove existing columns.

See also setHeaderItem() and setHeaderLabel().

new void QtGui.QTreeWidget.SetItemExpanded ( QTreeWidgetItem  item,
bool  expand 
)

Sets the item referred to by item to either closed or opened, depending on the value of expand.

This function is deprecated. Use QTreeWidgetItem::setExpanded() instead.

See also expandItem(), collapseItem(), and itemExpanded().

new void QtGui.QTreeWidget.SetItemHidden ( QTreeWidgetItem  item,
bool  hide 
)

Hides the given item if hide is true; otherwise shows the item.

This function is deprecated. Use QTreeWidgetItem::setHidden() instead.

See also isItemHidden() and itemChanged().

new void QtGui.QTreeWidget.SetItemSelected ( QTreeWidgetItem  item,
bool  select 
)

If select is true, the given item is selected; otherwise it is deselected.

This function is deprecated. Use QTreeWidgetItem::setSelected() instead.

See also isItemSelected() and itemSelectionChanged().

new void QtGui.QTreeWidget.SetItemWidget ( QTreeWidgetItem  item,
int  column,
QWidget  widget 
)

Sets the given widget to be displayed in the cell specified by the given item and column.

The given widget's autoFillBackground property must be set to true, otherwise the widget's background will be transparent, showing both the model data and the tree widget item.

This function should only be used to display static content in the place of a tree widget item. If you want to display custom dynamic content or implement a custom editor widget, use QTreeView and subclass QItemDelegate instead.

This function cannot be called before the item hierarchy has been set up, i.e., the QTreeWidgetItem that will hold widget must have been added to the view before widget is set.

Note: The tree takes ownership of the widget.

This function was introduced in Qt 4.1.

See also itemWidget() and Delegate Classes.

new void QtGui.QTreeWidget.SetSortingEnabled ( bool  enable)
new void QtGui.QTreeWidget.SortItems ( int  column,
Qt.SortOrder  order 
)

Sorts the items in the widget in the specified order by the values in the given column.

See also sortColumn().

new QTreeWidgetItem QtGui.QTreeWidget.TakeTopLevelItem ( int  index)

Removes the top-level item at the given index in the tree and returns it, otherwise returns 0;

See also insertTopLevelItem(), topLevelItem(), and topLevelItemCount().

new QTreeWidgetItem QtGui.QTreeWidget.TopLevelItem ( int  index)

Returns the top level item at the given index, or 0 if the item does not exist.

See also topLevelItemCount() and insertTopLevelItem().

static string QtGui.QTreeWidget.Tr ( string  s,
string  c = null 
)
static
static string QtGui.QTreeWidget.Tr ( string  s,
string  c,
int  n 
)
static
static string QtGui.QTreeWidget.TrUtf8 ( string  s,
string  c = null 
)
static
static string QtGui.QTreeWidget.TrUtf8 ( string  s,
string  c,
int  n 
)
static
new QRect QtGui.QTreeWidget.VisualItemRect ( QTreeWidgetItem  item)

Returns the rectangle on the viewport occupied by the item at item.

See also itemAt().

Property Documentation

new int QtGui.QTreeWidget.ColumnCount
getset

This property holds the number of columns displayed in the tree widget.

By default, this property has a value of 1.

int QtGui.QTreeWidget.CurrentColumn
get

Returns the current column in the tree widget.

This function was introduced in Qt 4.1.

See also setCurrentItem() and columnCount().

QTreeWidgetItem QtGui.QTreeWidget.CurrentItem
getset

Returns the current item in the tree widget.

Sets the current item in the tree widget.

Unless the selection mode is NoSelection, the item is also be selected.

Slot<QTreeWidgetItem,QTreeWidgetItem> QtGui.QTreeWidget.CurrentItemChanged
addremove

This signal is emitted when the current item changes. The current item is specified by current, and this replaces the previous current item.

See also setCurrentItem().

new IQTreeWidgetSignals QtGui.QTreeWidget.Emit
getprotected
QTreeWidgetItem QtGui.QTreeWidget.HeaderItem
getset

Returns the item used for the tree widget's header.

Sets the header item for the tree widget. The label for each column in the header is supplied by the corresponding label in the item.

The tree widget takes ownership of the item.

QTreeWidgetItem QtGui.QTreeWidget.InvisibleRootItem
get

Returns the tree widget's invisible root item.

The invisible root item provides access to the tree widget's top-level items through the QTreeWidgetItem API, making it possible to write functions that can treat top-level items and their children in a uniform way; for example, recursive functions.

This function was introduced in Qt 4.2.

bool QtGui.QTreeWidget.IsSortingEnabled
get
Slot<QTreeWidgetItem,System.Int32> QtGui.QTreeWidget.ItemActivated
addremove

This signal is emitted when the user activates an item by single- or double-clicking (depending on the platform, i.e. on the QStyle::SH_ItemView_ActivateItemOnSingleClick style hint) or pressing a special key (e.g., Enter).

The specified item is the item that was clicked, or 0 if no item was clicked. The column is the item's column that was clicked, or -1 if no item was clicked.

Slot<QTreeWidgetItem,System.Int32> QtGui.QTreeWidget.ItemChanged
addremove

This signal is emitted when the contents of the column in the specified item changes.

Slot<QTreeWidgetItem,System.Int32> QtGui.QTreeWidget.ItemClicked
addremove

This signal is emitted when the user clicks inside the widget.

The specified item is the item that was clicked. The column is the item's column that was clicked. If no item was clicked, no signal will be emitted.

Slot<QTreeWidgetItem> QtGui.QTreeWidget.ItemCollapsed
addremove

This signal is emitted when the specified item is collapsed so that none of its children are displayed.

Note: This signal will not be emitted if an item changes its state when collapseAll() is invoked.

See also QTreeWidgetItem::isExpanded(), itemExpanded(), and collapseItem().

Slot<QTreeWidgetItem,System.Int32> QtGui.QTreeWidget.ItemDoubleClicked
addremove

This signal is emitted when the user double clicks inside the widget.

The specified item is the item that was clicked, or 0 if no item was clicked. The column is the item's column that was clicked. If no item was double clicked, no signal will be emitted.

Slot<QTreeWidgetItem,System.Int32> QtGui.QTreeWidget.ItemEntered
addremove

This signal is emitted when the mouse cursor enters an item over the specified column. QTreeWidget mouse tracking needs to be enabled for this feature to work.

Slot<QTreeWidgetItem> QtGui.QTreeWidget.ItemExpanded
addremove

This signal is emitted when the specified item is expanded so that all of its children are displayed.

Note: This signal will not be emitted if an item changes its state when expandAll() is invoked.

See also setItemExpanded(), QTreeWidgetItem::isExpanded(), itemCollapsed(), and expandItem().

Slot<QTreeWidgetItem,System.Int32> QtGui.QTreeWidget.ItemPressed
addremove

This signal is emitted when the user presses a mouse button inside the widget.

The specified item is the item that was clicked, or 0 if no item was clicked. The column is the item's column that was clicked, or -1 if no item was clicked.

Slot QtGui.QTreeWidget.ItemSelectionChanged
addremove

This signal is emitted when the selection changes in the tree widget. The current selection can be found with selectedItems().

virtual System.Collections.Generic.List<string> QtGui.QTreeWidget.MimeTypes
get

Returns a list of MIME types that can be used to describe a list of treewidget items.

See also mimeData().

System.Collections.Generic.List<QTreeWidgetItem> QtGui.QTreeWidget.SelectedItems
get

Returns a list of all selected non-hidden items.

See also itemSelectionChanged().

override QItemSelectionModel QtGui.QTreeWidget.SelectionModel
getset

Reimplemented from QAbstractItemView::setSelectionModel().

int QtGui.QTreeWidget.SortColumn
get

Returns the column used to sort the contents of the widget.

This function was introduced in Qt 4.1.

See also sortItems().

new QMetaObject QtGui.QTreeWidget.StaticMetaObject
staticget
virtual Qt.DropAction QtGui.QTreeWidget.SupportedDropActions
get

Returns the drop actions supported by this view.

See also Qt::DropActions.

new int QtGui.QTreeWidget.TopLevelItemCount
get

This property holds the number of top-level items.

By default, this property has a value of 0.