Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations 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)
 
 
override void CreateProxy ()
 
new void AddTopLevelItem (QTreeWidgetItem item)
 
 
new void AddTopLevelItems (System.Collections.Generic.List< QTreeWidgetItem > items)
 
 
new void Clear ()
 
 
new void ClosePersistentEditor (QTreeWidgetItem item, int column=0)
 
 
new void CollapseItem (QTreeWidgetItem item)
 
 
new int CurrentColumn ()
 
 
new void EditItem (QTreeWidgetItem item, int column=0)
 
 
override bool OnEvent (QEvent e)
 
 
new void ExpandItem (QTreeWidgetItem item)
 
 
new
System.Collections.Generic.List
< QTreeWidgetItem
FindItems (string text, Qt.MatchFlag flags, int column=0)
 
 
new int IndexOfTopLevelItem (QTreeWidgetItem item)
 
 
new void InsertTopLevelItem (int index, QTreeWidgetItem item)
 
 
new void InsertTopLevelItems (int index, System.Collections.Generic.List< QTreeWidgetItem > items)
 
 
new QTreeWidgetItem InvisibleRootItem ()
 
 
new bool IsFirstItemColumnSpanned (QTreeWidgetItem item)
 
 
new bool IsItemExpanded (QTreeWidgetItem item)
 
 
new bool IsItemHidden (QTreeWidgetItem item)
 
 
new bool IsItemSelected (QTreeWidgetItem item)
 
 
new bool IsSortingEnabled ()
 
new QTreeWidgetItem ItemAbove (QTreeWidgetItem item)
 
 
new QTreeWidgetItem ItemAt (QPoint p)
 
 
new QTreeWidgetItem ItemAt (int x, int y)
 
 
new QTreeWidgetItem ItemBelow (QTreeWidgetItem item)
 
 
new QWidget ItemWidget (QTreeWidgetItem item, int column)
 
 
new void OpenPersistentEditor (QTreeWidgetItem item, int column=0)
 
 
new void RemoveItemWidget (QTreeWidgetItem item, int column)
 
 
new void ScrollToItem (QTreeWidgetItem item, QAbstractItemView.ScrollHint hint=QAbstractItemView.ScrollHint.EnsureVisible)
 
 
new
System.Collections.Generic.List
< QTreeWidgetItem
SelectedItems ()
 
 
new void SetCurrentItem (QTreeWidgetItem item, int column)
 
 
new void SetCurrentItem (QTreeWidgetItem item, int column, QItemSelectionModel.SelectionFlag command)
 
 
new void SetFirstItemColumnSpanned (QTreeWidgetItem item, bool span)
 
 
new void SetHeaderLabel (string label)
 
 
new void SetHeaderLabels (System.Collections.Generic.List< string > labels)
 
 
new void SetItemExpanded (QTreeWidgetItem item, bool expand)
 
 
new void SetItemHidden (QTreeWidgetItem item, bool hide)
 
 
new void SetItemSelected (QTreeWidgetItem item, bool select)
 
 
new void SetItemWidget (QTreeWidgetItem item, int column, QWidget widget)
 
 
new void SetSortingEnabled (bool enable)
 
new int SortColumn ()
 
 
new void SortItems (int column, Qt.SortOrder order)
 
 
new QTreeWidgetItem TakeTopLevelItem (int index)
 
 
new QTreeWidgetItem TopLevelItem (int index)
 
 
new QRect VisualItemRect (QTreeWidgetItem item)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QTreeView
 QTreeView (QWidget parent=null)
 
 
new void Collapse (QModelIndex index)
 
 
new void CollapseAll ()
 
 
new int ColumnAt (int x)
 
 
new int ColumnViewportPosition (int column)
 
 
new int ColumnWidth (int column)
 
 
override void DoItemsLayout ()
 
new void Expand (QModelIndex index)
 
 
new void ExpandAll ()
 
 
new void ExpandToDepth (int depth)
 
 
new void HideColumn (int column)
 
 
new QModelIndex IndexAbove (QModelIndex index)
 
 
override QModelIndex IndexAt (QPoint p)
 
 
new QModelIndex IndexBelow (QModelIndex index)
 
 
new bool IsColumnHidden (int column)
 
 
new bool IsExpanded (QModelIndex index)
 
 
new bool IsFirstColumnSpanned (int row, QModelIndex parent)
 
 
new bool IsRowHidden (int row, QModelIndex parent)
 
 
override void KeyboardSearch (string search)
 
 
override void Reset ()
 
 
new void ResizeColumnToContents (int column)
 
 
override void ScrollTo (QModelIndex index, QAbstractItemView.ScrollHint hint=QAbstractItemView.ScrollHint.EnsureVisible)
 
 
override void SelectAll ()
 
 
new void SetColumnHidden (int column, bool hide)
 
 
new void SetColumnWidth (int column, int width)
 
 
new void SetExpanded (QModelIndex index, bool expand)
 
 
new void SetFirstColumnSpanned (int row, QModelIndex parent, bool span)
 
 
new void SetRowHidden (int row, QModelIndex parent, bool hide)
 
 
new void ShowColumn (int column)
 
 
override int SizeHintForColumn (int column)
 
 
new void SortByColumn (int column)
 
 
new void SortByColumn (int column, Qt.SortOrder order)
 
 
override QRect VisualRect (QModelIndex index)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QAbstractItemView
 QAbstractItemView (QWidget parent=null)
 
 
new void ClearSelection ()
 
 
new void ClosePersistentEditor (QModelIndex index)
 
 
new void Edit (QModelIndex index)
 
 
new QAbstractItemView.EditTrigger editTriggers ()
 
override bool OnEvent (QEvent @event)
 
 
new QWidget IndexWidget (QModelIndex index)
 
 
override object InputMethodQuery (Qt.InputMethodQuery query)
 
 
new QAbstractItemDelegate ItemDelegate ()
 
 
new QAbstractItemDelegate ItemDelegate (QModelIndex index)
 
 
new QAbstractItemDelegate ItemDelegateForColumn (int column)
 
 
new QAbstractItemDelegate ItemDelegateForRow (int row)
 
 
new void OpenPersistentEditor (QModelIndex index)
 
 
new void ScrollToBottom ()
 
 
new void ScrollToTop ()
 
 
new void SetEditTriggers (QAbstractItemView.EditTrigger triggers)
 
new void SetIndexWidget (QModelIndex index, QWidget widget)
 
 
new void SetItemDelegate (QAbstractItemDelegate @delegate)
 
 
new void SetItemDelegateForColumn (int column, QAbstractItemDelegate @delegate)
 
 
new void SetItemDelegateForRow (int row, QAbstractItemDelegate @delegate)
 
 
new QSize SizeHintForIndex (QModelIndex index)
 
 
virtual int SizeHintForRow (int row)
 
 
new void Update (QModelIndex index)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QAbstractScrollArea
 QAbstractScrollArea (QWidget parent=null)
 
 
new void AddScrollBarWidget (QWidget widget, Qt.AlignmentFlag alignment)
 
 
new QSize MaximumViewportSize ()
 
 
override QSize MinimumSizeHint ()
 
 
new
System.Collections.Generic.List
< QWidget
ScrollBarWidgets (Qt.AlignmentFlag alignment)
 
 
override QSize SizeHint ()
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QFrame
 QFrame (QWidget parent=null, Qt.WindowType f=0)
 
 
override QSize SizeHint ()
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QWidget
 QWidget (QWidget parent=null, Qt.WindowType f=0)
 
 
override void CreateProxy ()
 
new
System.Collections.Generic.List
< QAction
Actions ()
 
 
new void ActivateWindow ()
 
 
new void AddAction (QAction action)
 
 
new void AddActions (System.Collections.Generic.List< QAction > actions)
 
 
new void AdjustSize ()
 
 
new QWidget ChildAt (QPoint p)
 
 
new QWidget ChildAt (int x, int y)
 
 
new void ClearFocus ()
 
 
new void ClearMask ()
 
 
new bool Close ()
 
 
new QRect ContentsRect ()
 
 
new void CreateWinId ()
 
virtual int DevType ()
 
new NativeULong EffectiveWinId ()
 
 
new void EnsurePolished ()
 
 
override bool OnEvent (QEvent arg1)
 
 
new QWidget FocusWidget ()
 
 
new QFont font ()
 
new QFontInfo FontInfo ()
 
 
new QFontMetrics FontMetrics ()
 
 
new QRect geometry ()
 
new void GetContentsMargins (ref int left, ref int top, ref int right, ref int bottom)
 
 
virtual System.IntPtr GetDC ()
 
 
new void GrabGesture (Qt.GestureType type, Qt.GestureFlag flags=0)
 
 
new void GrabKeyboard ()
 
 
new void GrabMouse ()
 
 
new void GrabMouse (QCursor arg1)
 
 
new int GrabShortcut (QKeySequence key, Qt.ShortcutContext context=Qt.ShortcutContext.WindowShortcut)
 
 
new QGraphicsProxyWidget GraphicsProxyWidget ()
 
 
virtual int HeightForWidth (int arg1)
 
 
new void Hide ()
 
 
new Qt.InputMethodHint inputMethodHints ()
 
new void InsertAction (QAction before, QAction action)
 
 
new void InsertActions (QAction before, System.Collections.Generic.List< QAction > actions)
 
 
new NativeULong InternalWinId ()
 
new bool IsAncestorOf (QWidget child)
 
 
new bool IsEnabledTo (QWidget arg1)
 
 
new bool IsEnabledToTLW ()
 
 
new bool IsHidden ()
 
 
new bool IsLeftToRight ()
 
new bool IsRightToLeft ()
 
new bool IsTopLevel ()
 
 
new bool IsVisibleTo (QWidget arg1)
 
 
new bool IsWindow ()
 
 
new void Lower ()
 
 
new QPoint MapFrom (QWidget arg1, QPoint arg2)
 
 
new QPoint MapFromGlobal (QPoint arg1)
 
 
new QPoint MapFromParent (QPoint arg1)
 
 
new QPoint MapTo (QWidget arg1, QPoint arg2)
 
 
new QPoint MapToGlobal (QPoint arg1)
 
 
new QPoint MapToParent (QPoint arg1)
 
 
new void Move (int x, int y)
 
new QWidget NativeParentWidget ()
 
 
new QWidget NextInFocusChain ()
 
 
new void OverrideWindowFlags (Qt.WindowType type)
 
 
new void OverrideWindowState (Qt.WindowState state)
 
virtual QPaintEngine PaintEngine ()
 
 
new QPalette palette ()
 
new QWidget ParentWidget ()
 
 
new QWidget PreviousInFocusChain ()
 
 
new void Raise ()
 
 
virtual void ReleaseDC (System.IntPtr arg1)
 
 
new void ReleaseKeyboard ()
 
 
new void ReleaseMouse ()
 
 
new void ReleaseShortcut (int id)
 
 
new void RemoveAction (QAction action)
 
 
new void Render (IQPaintDevice target)
 
 
new void Render (QPainter painter)
 
 
new void Render (IQPaintDevice target, QPoint targetOffset)
 
 
new void Render (QPainter painter, QPoint targetOffset)
 
 
new void Render (IQPaintDevice target, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren)
 
 
new void Render (QPainter painter, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren)
 
 
new void Repaint ()
 
 
new void Repaint (QRect arg1)
 
 
new void Repaint (QRegion arg1)
 
 
new void Repaint (int x, int y, int w, int h)
 
 
new void Resize (int w, int h)
 
new bool RestoreGeometry (QByteArray geometry)
 
 
new QByteArray SaveGeometry ()
 
 
new void Scroll (int dx, int dy)
 
 
new void Scroll (int dx, int dy, QRect arg3)
 
 
new void SetAttribute (Qt.WidgetAttribute arg1, bool on=true)
 
 
new void SetBaseSize (int basew, int baseh)
 
new void SetContentsMargins (int left, int top, int right, int bottom)
 
 
new void SetDisabled (bool arg1)
 
 
new void SetFixedHeight (int h)
 
 
new void SetFixedSize (QSize arg1)
 
 
new void SetFixedSize (int w, int h)
 
 
new void SetFixedWidth (int w)
 
 
new void SetFocus ()
 
 
new void SetFocus (Qt.FocusReason reason)
 
 
new void SetGeometry (int x, int y, int w, int h)
 
new void SetHidden (bool hidden)
 
 
new void SetInputMethodHints (Qt.InputMethodHint hints)
 
new void SetMask (QBitmap arg1)
 
 
new void SetMaximumSize (int maxw, int maxh)
 
new void SetMinimumSize (int minw, int minh)
 
new void SetParent (QWidget parent)
 
 
new void SetParent (QWidget parent, Qt.WindowType f)
 
 
new void SetShortcutAutoRepeat (int id, bool enable=true)
 
 
new void SetShortcutEnabled (int id, bool enable=true)
 
 
new void SetShown (bool shown)
 
new void SetSizeIncrement (int w, int h)
 
new void SetSizePolicy (QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical)
 
virtual void SetVisible (bool visible)
 
new void Show ()
 
 
new void ShowFullScreen ()
 
 
new void ShowMaximized ()
 
 
new void ShowMinimized ()
 
 
new void ShowNormal ()
 
 
new void StackUnder (QWidget arg1)
 
 
new bool TestAttribute (Qt.WidgetAttribute arg1)
 
 
new QWidget TopLevelWidget ()
 
 
new bool UnderMouse ()
 
 
new void UngrabGesture (Qt.GestureType type)
 
 
new void UnsetCursor ()
 
new void UnsetLayoutDirection ()
 
new void UnsetLocale ()
 
new void Update ()
 
 
new void Update (QRect arg1)
 
 
new void Update (QRegion arg1)
 
 
new void Update (int x, int y, int w, int h)
 
 
new void UpdateGeometry ()
 
 
new QRegion VisibleRegion ()
 
 
new NativeULong WinId ()
 
 
new QWidget Window ()
 
 
new Qt.WindowType WindowType ()
 
 
new void Dispose ()
 
new int ColorCount ()
 
new int Depth ()
 
new int HeightMM ()
 
new int LogicalDpiX ()
 
new int LogicalDpiY ()
 
new int NumColors ()
 
new bool PaintingActive ()
 
new int PhysicalDpiX ()
 
new int PhysicalDpiY ()
 
new int WidthMM ()
 
- Public Member Functions inherited from QtCore.QObject
 QObject (QObject parent=null)
 
 
new bool BlockSignals (bool b)
 
 
new
System.Collections.Generic.List
< QObject
Children ()
 
 
new bool Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection)
 
 
new void DeleteLater ()
 
 
new bool Disconnect (QObject receiver, string member=null)
 
 
new bool Disconnect (string signal=null, QObject receiver=null, string member=null)
 
 
new void DumpObjectInfo ()
 
 
new void DumpObjectTree ()
 
 
new
System.Collections.Generic.List
< QByteArray
DynamicPropertyNames ()
 
 
virtual bool EventFilter (QObject arg1, QEvent arg2)
 
 
new bool Inherits (string classname)
 
 
new void InstallEventFilter (QObject arg1)
 
 
new bool IsWidgetType ()
 
 
new void KillTimer (int id)
 
 
new object Property (string name)
 
 
new void RemoveEventFilter (QObject arg1)
 
 
new bool SetProperty (string name, object value)
 
 
new void SetUserData (uint id, QObjectUserData data)
 
new bool SignalsBlocked ()
 
 
new int StartTimer (int interval)
 
 
new QObjectUserData UserData (uint id)
 
new void Dispose ()
 
- Public Member Functions inherited from QtCore.Qt
delegate QTextStream FuncQTextStreamQTextStream (QTextStream qTextStream)
 
delegate string FuncStringQByteArray (QByteArray qByteArray)
 
delegate QByteArray FuncQByteArrayString (string @string)
 
delegate void ActionQtMsgTypeString (QtMsgType qtMsgType, string @string)
 
delegate QObject FuncQObject ()
 
- Public Member Functions inherited from QtGui.IQPaintDevice
new int ColorCount ()
 
new int Depth ()
 
int DevType ()
 
System.IntPtr GetDC ()
 
new int Height ()
 
new int HeightMM ()
 
new int LogicalDpiX ()
 
new int LogicalDpiY ()
 
new int NumColors ()
 
QPaintEngine PaintEngine ()
 
new bool PaintingActive ()
 
new int PhysicalDpiX ()
 
new int PhysicalDpiY ()
 
void ReleaseDC (System.IntPtr hdc)
 
new int Width ()
 
new int WidthMM ()
 

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 arg1)
 
 
static QWidget KeyboardGrabber ()
 
 
static QWidget MouseGrabber ()
 
 
static void SetTabOrder (QWidget arg1, QWidget arg2)
 
 
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)
 
 
static bool Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType arg5=Qt.ConnectionType.AutoConnection)
 
 
static bool Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member)
 
 
static bool Disconnect (QObject sender, string signal, QObject receiver, string member)
 
 
static uint RegisterUserData ()
 
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.Qt
static QDataStream Write (QDataStream s, object p)
 
static QDataStream Write (QDataStream arg1, QSizeF arg2)
 
static QTextStream Write (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Write (QDataStream arg1, QPoint arg2)
 
static QDataStream Write (QDataStream arg1, QLineF arg2)
 
static QDataStream Write (QDataStream arg1, QPointF arg2)
 
static QDataStream Write (QDataStream arg1, QChar arg2)
 
static QDataStream Write (QDataStream arg1, QByteArray arg2)
 
static QDataStream Write (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Write (QDataStream arg1, QRectF arg2)
 
static QDataStream Write (QDataStream arg1, QDateTime arg2)
 
static QDataStream Write (QDataStream arg1, QUrl arg2)
 
static QDataStream Write (QDataStream arg1, QTime arg2)
 
static QDataStream Write (QDataStream arg1, QLocale arg2)
 
static QDataStream Write (QDataStream arg1, QBitArray arg2)
 
static QDataStream Write (QDataStream arg1, QUuid arg2)
 
static QDataStream Write (QDataStream arg1, QLine arg2)
 
static QDataStream Write (QDataStream arg1, QDate arg2)
 
static QDataStream Write (QDataStream @out, QRegExp regExp)
 
static QDataStream Write (QDataStream arg1, QRect arg2)
 
static QDataStream Write (QDataStream arg1, QSize arg2)
 
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)
 
static QDataStream Read (QDataStream arg1, QChar arg2)
 
static QDataStream Read (QDataStream arg1, QLocale arg2)
 
static QDataStream Read (QDataStream arg1, QRect arg2)
 
static QDataStream Read (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Read (QDataStream arg1, QDate arg2)
 
static QDataStream Read (QDataStream arg1, QUrl arg2)
 
static QDataStream Read (QDataStream arg1, QUuid arg2)
 
static QTextStream Read (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Read (QDataStream arg1, QLineF arg2)
 
static QDataStream Read (QDataStream arg1, QRectF arg2)
 
static QDataStream Read (QDataStream arg1, QPointF arg2)
 
static QDataStream Read (QDataStream arg1, QLine arg2)
 
static QDataStream Read (QDataStream arg1, QBitArray arg2)
 
static QDataStream Read (QDataStream arg1, QSize arg2)
 
static QDataStream Read (QDataStream arg1, QDateTime arg2)
 
static QDataStream Read (QDataStream arg1, QTime arg2)
 
static QDataStream Read (QDataStream arg1, QPoint arg2)
 
static QDataStream Read (QDataStream @in, QRegExp regExp)
 
static QDataStream Read (QDataStream s, object p)
 
static QDataStream Read (QDataStream arg1, QByteArray arg2)
 
static QDataStream Read (QDataStream arg1, QSizeF arg2)
 
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)
 
static double qAcos (double v)
 
static void qAddPostRoutine (System.Action arg1)
 
static string qAppName ()
 
static double qAsin (double v)
 
static double qAtan (double v)
 
static double qAtan2 (double x, double y)
 
static void qBadAlloc ()
 
static int qCeil (double v)
 
static ushort qChecksum (string s, uint len)
 
static QByteArray qCompress (QByteArray data)
 
static QByteArray qCompress (QByteArray data, int compressionLevel=-1)
 
static QByteArray qCompress (Pointer< byte > data, int nbytes)
 
static QByteArray qCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1)
 
static double qCos (double v)
 
static double qExp (double v)
 
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)
 
static bool qFuzzyCompare (double p1, double p2)
 
static bool qFuzzyCompare (float p1, float p2)
 
static bool qFuzzyIsNull (double d)
 
static bool qFuzzyIsNull (float f)
 
static uint qHash (QBitArray key)
 
static uint qHash (QChar key)
 
static uint qHash (QStringRef key)
 
static uint qHash (QUrl url)
 
static uint qHash (QPersistentModelIndex index)
 
static uint qHash (QByteArray key)
 
static uint qHash (QModelIndex index)
 
static uint qHash (uint key)
 
static uint qHash (sbyte key)
 
static uint qHash (byte key)
 
static uint qHash (short key)
 
static uint qHash (NativeLong key)
 
static uint qHash (ushort key)
 
static uint qHash (long key)
 
static uint qHash (ulong key)
 
static uint qHash (int key)
 
static uint qHash (string key)
 
static uint qHash (NativeULong key)
 
static double qInf ()
 
static Qt.ActionQtMsgTypeString qInstallMsgHandler (Qt.ActionQtMsgTypeString arg1)
 
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)
 
static double qPow (double x, double y)
 
static double qQNaN ()
 
static void qRegisterStaticPluginInstanceFunction (Qt.FuncQObject function)
 
static void qRemovePostRoutine (System.Action arg1)
 
static int qRound (double d)
 
static long qRound64 (double d)
 
static double qSNaN ()
 
static bool qSharedBuild ()
 
static double qSin (double v)
 
static double qSqrt (double v)
 
static bool qStringComparisonHelper (QStringRef s1, string s2)
 
static double qTan (double v)
 
static QByteArray qUncompress (QByteArray data)
 
static QByteArray qUncompress (Pointer< byte > data, int nbytes)
 
static string qVersion ()
 
static void Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size)
 
static QByteArray Qgetenv (string varName)
 
static bool Qputenv (string varName, QByteArray value)
 
static int Qrand ()
 
static void Qsrand (uint seed)
 
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)
 
static Pointer< sbyte > Qstrcpy (Pointer< sbyte > dst, string src)
 
static Pointer< sbyte > Qstrdup (string arg1)
 
static int Qstricmp (string arg1, string arg2)
 
static uint Qstrlen (string str)
 
static int Qstrncmp (string str1, string str2, uint len)
 
static Pointer< sbyte > Qstrncpy (Pointer< sbyte > dst, string src, uint len)
 
static int Qstrnicmp (string arg1, string arg2, uint len)
 
static uint Qstrnlen (string str, uint maxlen)
 
static string QtTrId (string id, int n=-1)
 

Protected Member Functions

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

Properties

Slot< QTreeWidgetItem,
System.Int32 > 
ItemPressed
 
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemClicked
 
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemDoubleClicked
 
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemActivated
 
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemEntered
 
 
Slot< QTreeWidgetItem,
System.Int32 > 
ItemChanged
 
 
Slot< QTreeWidgetItemItemExpanded
 
 
Slot< QTreeWidgetItemItemCollapsed
 
 
Slot< QTreeWidgetItem,
QTreeWidgetItem
CurrentItemChanged
 
 
Slot ItemSelectionChanged
 
 
new QTreeWidgetItem CurrentItem [get, set]
 
 
new QTreeWidgetItem HeaderItem [get, set]
 
 
override QItemSelectionModel SelectionModel [get, set]
 
 
new int ColumnCount [get, set]
 
 
new int TopLevelItemCount [get]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQTreeWidgetSignals Emit [get]
 
- Properties inherited from QtGui.QTreeView
Slot< QModelIndexExpanded
 
 
Slot< QModelIndexCollapsed
 
 
new QHeaderView Header [get, set]
 
 
override QAbstractItemModel Model [get, set]
 
 
override QModelIndex RootIndex [get, set]
 
 
override QItemSelectionModel SelectionModel [get, set]
 
 
new int AutoExpandDelay [get, set]
 
 
new int Indentation [get, set]
 
 
new bool RootIsDecorated [get, set]
 
 
new bool UniformRowHeights [get, set]
 
 
new bool ItemsExpandable [get, set]
 
 
new bool SortingEnabled [get, set]
 
 
new bool Animated [get, set]
 
 
new bool AllColumnsShowFocus [get, set]
 
 
new bool WordWrap [get, set]
 
 
new bool HeaderHidden [get, set]
 
 
new bool ExpandsOnDoubleClick [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQTreeViewSignals Emit [get]
 
- Properties inherited from QtGui.QAbstractItemView
Slot< QModelIndexPressed
 
 
Slot< QModelIndexClicked
 
 
Slot< QModelIndexDoubleClicked
 
 
Slot< QModelIndexActivated
 
 
Slot< QModelIndexEntered
 
 
Slot ViewportEntered
 
 
new QModelIndex CurrentIndex [get, set]
 
 
new int HorizontalStepsPerItem [get, set]
 
 
virtual QAbstractItemModel Model [get, set]
 
 
virtual QModelIndex RootIndex [get, set]
 
 
virtual QItemSelectionModel SelectionModel [get, set]
 
 
new QAbstractItemView.State state [get, set]
 
 
new int VerticalStepsPerItem [get, set]
 
 
new bool AutoScroll [get, set]
 
 
new int AutoScrollMargin [get, set]
 
 
new EditTrigger EditTriggers [get, set]
 
 
new bool TabKeyNavigation [get, set]
 
 
new bool ShowDropIndicator [get, set]
 
 
new bool DragEnabled [get, set]
 
 
new bool DragDropOverwriteMode [get, set]
 
 
new DragDropMode dragDropMode [get, set]
 
 
new Qt.DropAction DefaultDropAction [get, set]
 
 
new bool AlternatingRowColors [get, set]
 
 
new SelectionMode selectionMode [get, set]
 
 
new SelectionBehavior selectionBehavior [get, set]
 
 
new QSize IconSize [get, set]
 
 
new Qt.TextElideMode TextElideMode [get, set]
 
 
new ScrollMode VerticalScrollMode [get, set]
 
 
new ScrollMode HorizontalScrollMode [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQAbstractItemViewSignals Emit [get]
 
- Properties inherited from QtGui.QAbstractScrollArea
virtual EventHandler
< QEventArgs< QEvent > > 
ViewportEvent
 
 
new QWidget CornerWidget [get, set]
 
 
new QScrollBar HorizontalScrollBar [get, set]
 
 
new QScrollBar VerticalScrollBar [get, set]
 
 
new QWidget Viewport [get, set]
 
 
override EventHandler
< QEventArgs< QPaintEvent > > 
PaintEvent
 
 
override EventHandler
< QEventArgs< QActionEvent > > 
ActionEvent
 
 
override EventHandler
< QEventArgs< QEvent > > 
ChangeEvent
 
 
override EventHandler
< QEventArgs< QCloseEvent > > 
CloseEvent
 
 
override EventHandler
< QEventArgs
< QContextMenuEvent > > 
ContextMenuEvent
 
 
override EventHandler
< QEventArgs< QDragEnterEvent > > 
DragEnterEvent
 
 
override EventHandler
< QEventArgs< QDragLeaveEvent > > 
DragLeaveEvent
 
 
override EventHandler
< QEventArgs< QDragMoveEvent > > 
DragMoveEvent
 
 
override EventHandler
< QEventArgs< QDropEvent > > 
DropEvent
 
 
override EventHandler
< QEventArgs< QEvent > > 
EnterEvent
 
 
override EventHandler
< QEventArgs< QFocusEvent > > 
FocusInEvent
 
 
override EventHandler
< QEventArgs< QFocusEvent > > 
FocusOutEvent
 
 
override EventHandler
< QEventArgs< QHideEvent > > 
HideEvent
 
 
override EventHandler
< QEventArgs
< QInputMethodEvent > > 
InputMethodEvent
 
 
override EventHandler
< QEventArgs< QKeyEvent > > 
KeyPressEvent
 
 
override EventHandler
< QEventArgs< QKeyEvent > > 
KeyReleaseEvent
 
 
override EventHandler
< QEventArgs< QEvent > > 
LeaveEvent
 
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MouseDoubleClickEvent
 
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MouseMoveEvent
 
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MousePressEvent
 
 
override EventHandler
< QEventArgs< QMouseEvent > > 
MouseReleaseEvent
 
 
override EventHandler
< QEventArgs< QMoveEvent > > 
MoveEvent
 
 
override EventHandler
< QEventArgs< QResizeEvent > > 
ResizeEvent
 
 
override EventHandler
< QEventArgs< QShowEvent > > 
ShowEvent
 
 
override EventHandler
< QEventArgs< QTabletEvent > > 
TabletEvent
 
 
override EventHandler
< QEventArgs< QWheelEvent > > 
WheelEvent
 
 
new Qt.ScrollBarPolicy VerticalScrollBarPolicy [get, set]
 
 
new Qt.ScrollBarPolicy HorizontalScrollBarPolicy [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQAbstractScrollAreaSignals Emit [get]
 
- Properties inherited from QtGui.QFrame
new int FrameStyle [get, set]
 
 
new Shape FrameShape [get, set]
 
 
new Shadow FrameShadow [get, set]
 
 
new int LineWidth [get, set]
 
 
new int MidLineWidth [get, set]
 
 
new int FrameWidth [get]
 
 
new QRect FrameRect [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQFrameSignals Emit [get]
 
- Properties inherited from QtGui.QWidget
virtual EventHandler
< QEventArgs< QActionEvent > > 
ActionEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
ChangeEvent
 
 
virtual EventHandler
< QEventArgs< QCloseEvent > > 
CloseEvent
 
 
virtual EventHandler
< QEventArgs
< QContextMenuEvent > > 
ContextMenuEvent
 
 
virtual EventHandler
< QEventArgs< QDragEnterEvent > > 
DragEnterEvent
 
 
virtual EventHandler
< QEventArgs< QDragLeaveEvent > > 
DragLeaveEvent
 
 
virtual EventHandler
< QEventArgs< QDragMoveEvent > > 
DragMoveEvent
 
 
virtual EventHandler
< QEventArgs< QDropEvent > > 
DropEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
EnterEvent
 
 
virtual EventHandler
< QEventArgs< QFocusEvent > > 
FocusInEvent
 
 
virtual EventHandler
< QEventArgs< QFocusEvent > > 
FocusOutEvent
 
 
virtual EventHandler
< QEventArgs< QHideEvent > > 
HideEvent
 
 
virtual EventHandler
< QEventArgs
< QInputMethodEvent > > 
InputMethodEvent
 
 
virtual EventHandler
< QEventArgs< QKeyEvent > > 
KeyPressEvent
 
 
virtual EventHandler
< QEventArgs< QKeyEvent > > 
KeyReleaseEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
LeaveEvent
 
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MouseDoubleClickEvent
 
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MouseMoveEvent
 
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MousePressEvent
 
 
virtual EventHandler
< QEventArgs< QMouseEvent > > 
MouseReleaseEvent
 
 
virtual EventHandler
< QEventArgs< QMoveEvent > > 
MoveEvent
 
 
virtual EventHandler
< QEventArgs< QPaintEvent > > 
PaintEvent
 
 
virtual EventHandler
< QEventArgs< QResizeEvent > > 
ResizeEvent
 
 
virtual EventHandler
< QEventArgs< QShowEvent > > 
ShowEvent
 
 
virtual EventHandler
< QEventArgs< QTabletEvent > > 
TabletEvent
 
 
virtual EventHandler
< QEventArgs< QWheelEvent > > 
WheelEvent
 
 
Slot< QPointCustomContextMenuRequested
 
 
new QPalette.ColorRole BackgroundRole [get, set]
 
 
new QMargins ContentsMargins [get, set]
 
 
new QWidget FocusProxy [get, set]
 
 
new QPalette.ColorRole ForegroundRole [get, set]
 
 
new QGraphicsEffect GraphicsEffect [get, set]
 
 
new QInputContext InputContext [get, set]
 
 
new QLayout Layout [get, set]
 
 
new QRegion Mask [get, set]
 
 
new QStyle Style [get, set]
 
 
new Qt.WindowType WindowFlags [get, set]
 
new string WindowRole [get, set]
 
 
new Qt.WindowState WindowState [get, set]
 
 
new bool Modal [get]
 
 
new Qt.WindowModality WindowModality [get, set]
 
 
new bool Enabled [get, set]
 
 
new QRect Geometry [get, set]
 
 
new QRect FrameGeometry [get]
 
 
new QRect NormalGeometry [get]
 
 
new int X [get]
 
 
new int Y [get]
 
 
new QPoint Pos [get, set]
 
 
new QSize FrameSize [get]
 
 
new QSize Size [get, set]
 
 
new int Width [get]
 
 
new int Height [get]
 
 
new QRect Rect [get]
 
 
new QRect ChildrenRect [get]
 
 
new QRegion ChildrenRegion [get]
 
 
new QSizePolicy SizePolicy [get, set]
 
 
new QSize MinimumSize [get, set]
 
 
new QSize MaximumSize [get, set]
 
 
new int MinimumWidth [get, set]
 
 
new int MinimumHeight [get, set]
 
 
new int MaximumWidth [get, set]
 
 
new int MaximumHeight [get, set]
 
 
new QSize SizeIncrement [get, set]
 
 
new QSize BaseSize [get, set]
 
 
new QPalette Palette [get, set]
 
 
new QFont Font [get, set]
 
 
new QCursor Cursor [get, set]
 
 
new bool MouseTracking [get, set]
 
 
new bool IsActiveWindow [get]
 
 
new Qt.FocusPolicy FocusPolicy [get, set]
 
 
new bool Focus [get]
 
 
new Qt.ContextMenuPolicy ContextMenuPolicy [get, set]
 
 
new bool UpdatesEnabled [get, set]
 
 
new bool Visible [get, set]
 
 
new bool Minimized [get]
 
 
new bool Maximized [get]
 
 
new bool FullScreen [get]
 
 
new bool AcceptDrops [get, set]
 
 
new string WindowTitle [get, set]
 
 
new QIcon WindowIcon [get, set]
 
 
new string WindowIconText [get, set]
 
 
new double WindowOpacity [get, set]
 
 
new bool WindowModified [get, set]
 
 
new string ToolTip [get, set]
 
 
new string StatusTip [get, set]
 
 
new string WhatsThis [get, set]
 
 
new string AccessibleName [get, set]
 
 
new string AccessibleDescription [get, set]
 
 
new Qt.LayoutDirection LayoutDirection [get, set]
 
 
new bool AutoFillBackground [get, set]
 
 
new string StyleSheet [get, set]
 
 
new QLocale Locale [get, set]
 
 
new string WindowFilePath [get, set]
 
 
new Qt.InputMethodHint InputMethodHints [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new ushort Painters [get, set]
 
new IQWidgetSignals Emit [get]
 
- Properties inherited from QtCore.QObject
virtual EventHandler
< QEventArgs< QChildEvent > > 
ChildEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
CustomEvent
 
 
virtual EventHandler
< QEventArgs< QEvent > > 
Event
 
 
virtual EventHandler
< QEventArgs< QTimerEvent > > 
TimerEvent
 
 
Slot< QObjectDestroyedQObject
 
Slot Destroyed
 
 
new QObject Parent [get, set]
 
 
virtual System.IntPtr SmokeObject [get, set]
 
new string ObjectName [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
 
static new QMetaObject StaticQtMetaObject [get]
 
new IQObjectSignals Emit [get]
 

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...
 
- 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.

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.

new int QtGui.QTreeWidget.CurrentColumn ( )

Returns the current column in the tree widget.

This function was introduced in Qt 4.1.

See also setCurrentItem() and columnCount().

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 QTreeWidgetItem QtGui.QTreeWidget.InvisibleRootItem ( )

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.

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 bool QtGui.QTreeWidget.IsSortingEnabled ( )
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.

virtual System.Collections.Generic.List<string> QtGui.QTreeWidget.MimeTypes ( )
protectedvirtual

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

See also mimeData().

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)
protected

Reimplemented from QWidget::dropEvent().

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

Reimplemented from QObject::event().

Reimplemented from QtGui.QAbstractScrollArea.

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 System.Collections.Generic.List<QTreeWidgetItem> QtGui.QTreeWidget.SelectedItems ( )

Returns a list of all selected non-hidden items.

See also itemSelectionChanged().

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.

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

See also currentItem() and currentItemChanged().

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 int QtGui.QTreeWidget.SortColumn ( )

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

This function was introduced in Qt 4.1.

See also sortItems().

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().

virtual Qt.DropAction QtGui.QTreeWidget.SupportedDropActions ( )
protectedvirtual

Returns the drop actions supported by this view.

See also Qt::DropActions.

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.

new 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
new 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.

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().

override QItemSelectionModel QtGui.QTreeWidget.SelectionModel
getset

Reimplemented from QAbstractItemView::setSelectionModel().

new QMetaObject QtGui.QTreeWidget.StaticMetaObject
staticget
new int QtGui.QTreeWidget.TopLevelItemCount
get

This property holds the number of top-level items.

By default, this property has a value of 0.