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

The QTableWidget class provides an item-based table view with a default model. More...

Inheritance diagram for QtGui.QTableWidget:
Collaboration diagram for QtGui.QTableWidget:

Public Member Functions

 QTableWidget (QWidget parent=null)
 
 
 QTableWidget (int rows, int columns, QWidget parent=null)
 
 
override void CreateProxy ()
 
new QWidget CellWidget (int row, int column)
 
 
new void Clear ()
 
 
new void ClearContents ()
 
 
new void ClosePersistentEditor (QTableWidgetItem item)
 
 
new int Column (QTableWidgetItem item)
 
 
new int CurrentColumn ()
 
 
new int CurrentRow ()
 
 
new void EditItem (QTableWidgetItem item)
 
 
override bool OnEvent (QEvent e)
 
 
new
System.Collections.Generic.List
< QTableWidgetItem
FindItems (string text, Qt.MatchFlag flags)
 
 
new QTableWidgetItem HorizontalHeaderItem (int column)
 
 
new void InsertColumn (int column)
 
 
new void InsertRow (int row)
 
 
new bool IsItemSelected (QTableWidgetItem item)
 
 
new bool IsSortingEnabled ()
 
new QTableWidgetItem Item (int row, int column)
 
 
new QTableWidgetItem ItemAt (QPoint p)
 
 
new QTableWidgetItem ItemAt (int x, int y)
 
 
new void OpenPersistentEditor (QTableWidgetItem item)
 
 
new void RemoveCellWidget (int row, int column)
 
 
new void RemoveColumn (int column)
 
 
new void RemoveRow (int row)
 
 
new int Row (QTableWidgetItem item)
 
 
new void ScrollToItem (QTableWidgetItem item, QAbstractItemView.ScrollHint hint=QAbstractItemView.ScrollHint.EnsureVisible)
 
 
new
System.Collections.Generic.List
< QTableWidgetItem
SelectedItems ()
 
 
new
System.Collections.Generic.List
< QTableWidgetSelectionRange
SelectedRanges ()
 
 
new void SetCellWidget (int row, int column, QWidget widget)
 
 
new void SetCurrentCell (int row, int column)
 
 
new void SetCurrentCell (int row, int column, QItemSelectionModel.SelectionFlag command)
 
 
new void SetCurrentItem (QTableWidgetItem item, QItemSelectionModel.SelectionFlag command)
 
 
new void SetHorizontalHeaderItem (int column, QTableWidgetItem item)
 
 
new void SetHorizontalHeaderLabels (System.Collections.Generic.List< string > labels)
 
 
new void SetItem (int row, int column, QTableWidgetItem item)
 
 
new void SetItemSelected (QTableWidgetItem item, bool select)
 
 
new void SetRangeSelected (QTableWidgetSelectionRange range, bool select)
 
 
new void SetSortingEnabled (bool enable)
 
new void SetVerticalHeaderItem (int row, QTableWidgetItem item)
 
 
new void SetVerticalHeaderLabels (System.Collections.Generic.List< string > labels)
 
 
new void SortItems (int column, Qt.SortOrder order=Qt.SortOrder.AscendingOrder)
 
 
new QTableWidgetItem TakeHorizontalHeaderItem (int column)
 
 
new QTableWidgetItem TakeItem (int row, int column)
 
 
new QTableWidgetItem TakeVerticalHeaderItem (int row)
 
 
new QTableWidgetItem VerticalHeaderItem (int row)
 
 
new int VisualColumn (int logicalColumn)
 
 
new QRect VisualItemRect (QTableWidgetItem item)
 
 
new int VisualRow (int logicalRow)
 
 
new void Dispose ()
 
- Public Member Functions inherited from QtGui.QTableView
 QTableView (QWidget parent=null)
 
 
new void ClearSpans ()
 
 
new int ColumnAt (int x)
 
 
new int ColumnSpan (int row, int column)
 
 
new int ColumnViewportPosition (int column)
 
 
new int ColumnWidth (int column)
 
 
override void DoItemsLayout ()
 
new void HideColumn (int column)
 
 
new void HideRow (int row)
 
 
override QModelIndex IndexAt (QPoint p)
 
 
new bool IsColumnHidden (int column)
 
 
new bool IsRowHidden (int row)
 
 
new void ResizeColumnToContents (int column)
 
 
new void ResizeColumnsToContents ()
 
 
new void ResizeRowToContents (int row)
 
 
new void ResizeRowsToContents ()
 
 
new int RowAt (int y)
 
 
new int RowHeight (int row)
 
 
new int RowSpan (int row, int column)
 
 
new int RowViewportPosition (int row)
 
 
override void ScrollTo (QModelIndex index, QAbstractItemView.ScrollHint hint=QAbstractItemView.ScrollHint.EnsureVisible)
 
 
new void SelectColumn (int column)
 
 
new void SelectRow (int row)
 
 
new void SetColumnHidden (int column, bool hide)
 
 
new void SetColumnWidth (int column, int width)
 
 
new void SetRowHeight (int row, int height)
 
 
new void SetRowHidden (int row, bool hide)
 
 
new void SetSpan (int row, int column, int rowSpan, int columnSpan)
 
 
new void ShowColumn (int column)
 
 
new void ShowRow (int row)
 
 
override int SizeHintForColumn (int column)
 
 
override int SizeHintForRow (int row)
 
 
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)
 
 
virtual void KeyboardSearch (string search)
 
 
new void OpenPersistentEditor (QModelIndex index)
 
 
virtual void Reset ()
 
 
new void ScrollToBottom ()
 
 
new void ScrollToTop ()
 
 
virtual void SelectAll ()
 
 
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)
 
 
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.QTableView
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

 QTableWidget (System.Type dummy)
 
new void OnCellActivated (int row, int column)
 
 
new void OnCellChanged (int row, int column)
 
 
new void OnCellClicked (int row, int column)
 
 
new void OnCellDoubleClicked (int row, int column)
 
 
new void OnCellEntered (int row, int column)
 
 
new void OnCellPressed (int row, int column)
 
 
new void OnCurrentCellChanged (int currentRow, int currentColumn, int previousRow, int previousColumn)
 
 
new void OnCurrentItemChanged (QTableWidgetItem current, QTableWidgetItem previous)
 
 
override void OnDropEvent (QDropEvent @event)
 
 
virtual bool DropMimeData (int row, int column, QMimeData data, Qt.DropAction action)
 
 
new QModelIndex IndexFromItem (QTableWidgetItem item)
 
 
new void OnItemActivated (QTableWidgetItem item)
 
 
new void OnItemChanged (QTableWidgetItem item)
 
 
new void OnItemClicked (QTableWidgetItem item)
 
 
new void OnItemDoubleClicked (QTableWidgetItem item)
 
 
new void OnItemEntered (QTableWidgetItem item)
 
 
new QTableWidgetItem ItemFromIndex (QModelIndex index)
 
 
new void OnItemPressed (QTableWidgetItem item)
 
 
new void OnItemSelectionChanged ()
 
 
new
System.Collections.Generic.List
< QTableWidgetItem
Items (QMimeData data)
 
 
virtual QMimeData MimeData (System.Collections.Generic.List< QTableWidgetItem > items)
 
 
virtual
System.Collections.Generic.List
< string > 
MimeTypes ()
 
 
virtual Qt.DropAction SupportedDropActions ()
 
 
- Protected Member Functions inherited from QtGui.QTableView
 QTableView (System.Type dummy)
 
new void ColumnCountChanged (int oldCount, int newCount)
 
 
new void ColumnMoved (int column, int oldIndex, int newIndex)
 
 
new void ColumnResized (int column, int oldWidth, int newWidth)
 
 
override void CurrentChanged (QModelIndex current, QModelIndex previous)
 
 
override int HorizontalOffset ()
 
 
override void HorizontalScrollbarAction (int action)
 
override bool IsIndexHidden (QModelIndex index)
 
 
override QModelIndex MoveCursor (QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifier modifiers)
 
 
override void OnPaintEvent (QPaintEvent e)
 
 
new void RowCountChanged (int oldCount, int newCount)
 
 
new void RowMoved (int row, int oldIndex, int newIndex)
 
 
new void RowResized (int row, int oldHeight, int newHeight)
 
 
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 void VerticalScrollbarAction (int action)
 
override QStyleOptionViewItem ViewOptions ()
 
 
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)
 
 
virtual void DataChanged (QModelIndex topLeft, QModelIndex bottomRight)
 
 
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)
 
 
virtual void RowsAboutToBeRemoved (QModelIndex parent, int start, int end)
 
 
virtual void RowsInserted (QModelIndex parent, int start, int end)
 
 
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 VerticalScrollbarValueChanged (int value)
 
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 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)
 
- 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< QTableWidgetItemItemPressed
 
 
Slot< QTableWidgetItemItemClicked
 
 
Slot< QTableWidgetItemItemDoubleClicked
 
 
Slot< QTableWidgetItemItemActivated
 
 
Slot< QTableWidgetItemItemEntered
 
 
Slot< QTableWidgetItemItemChanged
 
 
Slot< QTableWidgetItem,
QTableWidgetItem
CurrentItemChanged
 
 
Slot ItemSelectionChanged
 
 
Slot< System.Int32, System.Int32 > CellPressed
 
 
Slot< System.Int32, System.Int32 > CellClicked
 
 
Slot< System.Int32, System.Int32 > CellDoubleClicked
 
 
Slot< System.Int32, System.Int32 > CellActivated
 
 
Slot< System.Int32, System.Int32 > CellEntered
 
 
Slot< System.Int32, System.Int32 > CellChanged
 
 
Slot< System.Int32,
System.Int32, System.Int32,
System.Int32 > 
CurrentCellChanged
 
 
new QTableWidgetItem CurrentItem [get, set]
 
 
new QTableWidgetItem ItemPrototype [get, set]
 
 
new int RowCount [get, set]
 
 
new int ColumnCount [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQTableWidgetSignals Emit [get]
 
- Properties inherited from QtGui.QTableView
new QHeaderView HorizontalHeader [get, set]
 
 
override QAbstractItemModel Model [get, set]
 
 
override QModelIndex RootIndex [get, set]
 
 
override QItemSelectionModel SelectionModel [get, set]
 
 
new QHeaderView VerticalHeader [get, set]
 
 
new bool ShowGrid [get, set]
 
 
new Qt.PenStyle GridStyle [get, set]
 
 
new bool SortingEnabled [get, set]
 
 
new bool WordWrap [get, set]
 
 
new bool CornerButtonEnabled [get, set]
 
 
static new QMetaObject StaticMetaObject [get]
 
new IQTableViewSignals 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 QTableWidget class provides an item-based table view with a default model.

Table widgets provide standard table display facilities for applications. The items in a QTableWidget are provided by QTableWidgetItem.

If you want a table that uses your own data model you should use QTableView rather than this class.

Table widgets can be constructed with the required numbers of rows and columns:

tableWidget = new QTableWidget(12, 3, this);

Alternatively, tables can be constructed without a given size and resized later:

tableWidget = new QTableWidget(this);

tableWidget->setRowCount(10);

tableWidget->setColumnCount(5);

Items are created ouside the table (with no parent widget) and inserted into the table with setItem():

QTableWidgetItem newItem = new QTableWidgetItem(tr("%1").arg(

(row+1)(column+1)));

tableWidget->setItem(row, column, newItem);

If you want to enable sorting in your table widget, do so after you have populated it with items, otherwise sorting may interfere with the insertion order (see setItem() for details).

Tables can be given both horizontal and vertical headers. The simplest way to create the headers is to supply a list of strings to the setHorizontalHeaderLabels() and setVerticalHeaderLabels() functions. These will provide simple textual headers for the table's columns and rows. More sophisticated headers can be created from existing table items that are usually constructed outside the table. For example, we can construct a table item with an icon and aligned text, and use it as the header for a particular column:

QTableWidgetItem *cubesHeaderItem = new QTableWidgetItem(tr("Cubes"));

cubesHeaderItem->setIcon(QIcon(QPixmap(":/Images/cubed.png")));

cubesHeaderItem->setTextAlignment(Qt::AlignVCenter);

The number of rows in the table can be found with rowCount(), and the number of columns with columnCount(). The table can be cleared with the clear() function.

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

See also QTableWidgetItem, QTableView, and Model/View Programming.

Constructor & Destructor Documentation

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

Creates a new table view with the given parent.

QtGui.QTableWidget.QTableWidget ( int  rows,
int  columns,
QWidget  parent = null 
)

Creates a new table view with the given rows and columns, and with the given parent.

Member Function Documentation

new QWidget QtGui.QTableWidget.CellWidget ( int  row,
int  column 
)

Returns the widget displayed in the cell in the given row and column.

Note: The table takes ownership of the widget.

This function was introduced in Qt 4.1.

See also setCellWidget().

new void QtGui.QTableWidget.Clear ( )

Removes all items in the view. This will also remove all selections. The table dimensions stay the same.

new void QtGui.QTableWidget.ClearContents ( )

Removes all items not in the headers from the view. This will also remove all selections. The table dimensions stay the same.

This function was introduced in Qt 4.2.

new void QtGui.QTableWidget.ClosePersistentEditor ( QTableWidgetItem  item)

Closes the persistent editor for item.

See also openPersistentEditor().

new int QtGui.QTableWidget.Column ( QTableWidgetItem  item)

Returns the column for the item.

override void QtGui.QTableWidget.CreateProxy ( )
virtual

Reimplemented from QtGui.QTableView.

new int QtGui.QTableWidget.CurrentColumn ( )

Returns the column of the current item.

See also currentRow() and setCurrentCell().

new int QtGui.QTableWidget.CurrentRow ( )

Returns the row of the current item.

See also currentColumn() and setCurrentCell().

new void QtGui.QTableWidget.Dispose ( )
virtual bool QtGui.QTableWidget.DropMimeData ( int  row,
int  column,
QMimeData  data,
Qt.DropAction  action 
)
protectedvirtual

Handles the data supplied by a drag and drop operation that ended with the given action in the given row and column. Returns true if the data and action can be handled by the model; otherwise returns false.

See also supportedDropActions().

new void QtGui.QTableWidget.EditItem ( QTableWidgetItem  item)

Starts editing the item if it is editable.

new System.Collections.Generic.List<QTableWidgetItem> QtGui.QTableWidget.FindItems ( string  text,
Qt.MatchFlag  flags 
)

Finds items that matches the text using the given flags.

new QTableWidgetItem QtGui.QTableWidget.HorizontalHeaderItem ( int  column)

Returns the horizontal header item for column, column, if one has been set; otherwise returns 0.

See also setHorizontalHeaderItem().

new QModelIndex QtGui.QTableWidget.IndexFromItem ( QTableWidgetItem  item)
protected

Returns the QModelIndex assocated with the given item.

new void QtGui.QTableWidget.InsertColumn ( int  column)

Inserts an empty column into the table at column.

new void QtGui.QTableWidget.InsertRow ( int  row)

Inserts an empty row into the table at row.

new bool QtGui.QTableWidget.IsItemSelected ( QTableWidgetItem  item)

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

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

new bool QtGui.QTableWidget.IsSortingEnabled ( )
new QTableWidgetItem QtGui.QTableWidget.Item ( int  row,
int  column 
)

Returns the item for the given row and column if one has been set; otherwise returns 0.

See also setItem().

new QTableWidgetItem QtGui.QTableWidget.ItemAt ( QPoint  p)

Returns a pointer to the item at the given point, or returns 0 if point is not covered by an item in the table widget.

See also item().

new QTableWidgetItem QtGui.QTableWidget.ItemAt ( int  x,
int  y 
)

Returns the item at the position equivalent to QPoint(ax, ay) in the table widget's coordinate system, or returns 0 if the specified point is not covered by an item in the table widget.

See also item().

new QTableWidgetItem QtGui.QTableWidget.ItemFromIndex ( QModelIndex  index)
protected

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

new System.Collections.Generic.List<QTableWidgetItem> QtGui.QTableWidget.Items ( QMimeData  data)
protected

Returns a list of pointers to the items contained in the data object. If the object was not created by a QTreeWidget in the same process, the list is empty.

virtual QMimeData QtGui.QTableWidget.MimeData ( System.Collections.Generic.List< QTableWidgetItem 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.QTableWidget.MimeTypes ( )
protectedvirtual

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

See also mimeData().

new void QtGui.QTableWidget.OnCellActivated ( int  row,
int  column 
)
protected

This signal is emitted when the cell specified by row and column has been activated

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCellChanged ( int  row,
int  column 
)
protected

This signal is emitted whenever the data of the item in the cell specified by row and column has changed.

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCellClicked ( int  row,
int  column 
)
protected

This signal is emitted whenever a cell in the table is clicked. The row and column specified is the cell that was clicked.

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCellDoubleClicked ( int  row,
int  column 
)
protected

This signal is emitted whenever a cell in the table is double clicked. The row and column specified is the cell that was double clicked.

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCellEntered ( int  row,
int  column 
)
protected

This signal is emitted when the mouse cursor enters a cell. The cell is specified by row and column.

This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCellPressed ( int  row,
int  column 
)
protected

This signal is emitted whenever a cell in the table is pressed. The row and column specified is the cell that was pressed.

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCurrentCellChanged ( int  currentRow,
int  currentColumn,
int  previousRow,
int  previousColumn 
)
protected

This signal is emitted whenever the current cell changes. The cell specified by previousRow and previousColumn is the cell that previously had the focus, the cell specified by currentRow and currentColumn is the new current cell.

This function was introduced in Qt 4.1.

new void QtGui.QTableWidget.OnCurrentItemChanged ( QTableWidgetItem  current,
QTableWidgetItem  previous 
)
protected

This signal is emitted whenever the current item changes. The previous item is the item that previously had the focus, current is the new current item.

override void QtGui.QTableWidget.OnDropEvent ( QDropEvent event)
protected

Reimplemented from QWidget::dropEvent().

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

Reimplemented from QObject::event().

Reimplemented from QtGui.QAbstractScrollArea.

new void QtGui.QTableWidget.OnItemActivated ( QTableWidgetItem  item)
protected

This signal is emitted when the specified item has been activated

new void QtGui.QTableWidget.OnItemChanged ( QTableWidgetItem  item)
protected

This signal is emitted whenever the data of item has changed.

new void QtGui.QTableWidget.OnItemClicked ( QTableWidgetItem  item)
protected

This signal is emitted whenever an item in the table is clicked. The item specified is the item that was clicked.

new void QtGui.QTableWidget.OnItemDoubleClicked ( QTableWidgetItem  item)
protected

This signal is emitted whenever an item in the table is double clicked. The item specified is the item that was double clicked.

new void QtGui.QTableWidget.OnItemEntered ( QTableWidgetItem  item)
protected

This signal is emitted when the mouse cursor enters an item. The item is the item entered.

This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.

new void QtGui.QTableWidget.OnItemPressed ( QTableWidgetItem  item)
protected

This signal is emitted whenever an item in the table is pressed. The item specified is the item that was pressed.

new void QtGui.QTableWidget.OnItemSelectionChanged ( )
protected

This signal is emitted whenever the selection changes.

See also selectedItems() and QTableWidgetItem::isSelected().

new void QtGui.QTableWidget.OpenPersistentEditor ( QTableWidgetItem  item)

Opens an editor for the give item. The editor remains open after editing.

See also closePersistentEditor().

new void QtGui.QTableWidget.RemoveCellWidget ( int  row,
int  column 
)

Removes the widget set on the cell indicated by row and column.

This function was introduced in Qt 4.3.

new void QtGui.QTableWidget.RemoveColumn ( int  column)

Removes the column column and all its items from the table.

new void QtGui.QTableWidget.RemoveRow ( int  row)

Removes the row row and all its items from the table.

new int QtGui.QTableWidget.Row ( QTableWidgetItem  item)

Returns the row for the item.

new void QtGui.QTableWidget.ScrollToItem ( QTableWidgetItem  item,
QAbstractItemView.ScrollHint  hint = QAbstractItemView.ScrollHint.EnsureVisible 
)

Scrolls the view if necessary to ensure that the item is visible. The hint parameter specifies more precisely where the item should be located after the operation.

new System.Collections.Generic.List<QTableWidgetItem> QtGui.QTableWidget.SelectedItems ( )

Returns a list of all selected items.

This function returns a list of pointers to the contents of the selected cells. Use the selectedIndexes() function to retrieve the complete selection including empty cells.

See also selectedIndexes().

new System.Collections.Generic.List<QTableWidgetSelectionRange> QtGui.QTableWidget.SelectedRanges ( )

Returns a list of all selected ranges.

See also QTableWidgetSelectionRange.

new void QtGui.QTableWidget.SetCellWidget ( int  row,
int  column,
QWidget  widget 
)

Sets the given widget to be displayed in the cell in the given row and column, passing the ownership of the widget to the table.

If cell widget A is replaced with cell widget B, cell widget A will be deleted. For example, in the code snippet below, the QLineEdit object will be deleted.

setCellWidget(index, new QLineEdit);

...

setCellWidget(index, new QTextEdit);

This function was introduced in Qt 4.1.

See also cellWidget().

new void QtGui.QTableWidget.SetCurrentCell ( int  row,
int  column 
)

Sets the current cell to be the cell at position (row, column).

Depending on the current selection mode, the cell may also be selected.

This function was introduced in Qt 4.1.

See also setCurrentItem(), currentRow(), and currentColumn().

new void QtGui.QTableWidget.SetCurrentCell ( int  row,
int  column,
QItemSelectionModel.SelectionFlag  command 
)

Sets the current cell to be the cell at position (row, column).

Depending on the current selection mode, the cell may also be selected.

This function was introduced in Qt 4.1.

See also setCurrentItem(), currentRow(), and currentColumn().

new void QtGui.QTableWidget.SetCurrentItem ( QTableWidgetItem  item,
QItemSelectionModel.SelectionFlag  command 
)

Sets the current item to item.

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

See also currentItem() and setCurrentCell().

new void QtGui.QTableWidget.SetHorizontalHeaderItem ( int  column,
QTableWidgetItem  item 
)

Sets the horizontal header item for column column to item.

See also horizontalHeaderItem().

new void QtGui.QTableWidget.SetHorizontalHeaderLabels ( System.Collections.Generic.List< string >  labels)

Sets the horizontal header labels using labels.

new void QtGui.QTableWidget.SetItem ( int  row,
int  column,
QTableWidgetItem  item 
)

Sets the item for the given row and column to item.

The table takes ownership of the item.

Note that if sorting is enabled (see sortingEnabled) and column is the current sort column, the row will be moved to the sorted position determined by item.

If you want to set several items of a particular row (say, by calling setItem() in a loop), you may want to turn off sorting before doing so, and turn it back on afterwards; this will allow you to use the same row argument for all items in the same row (i.e. setItem() will not move the row).

See also item() and takeItem().

new void QtGui.QTableWidget.SetItemSelected ( QTableWidgetItem  item,
bool  select 
)

Selects or deselects item depending on select.

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

See also isItemSelected().

new void QtGui.QTableWidget.SetRangeSelected ( QTableWidgetSelectionRange  range,
bool  select 
)

Selects or deselects the range depending on select.

new void QtGui.QTableWidget.SetSortingEnabled ( bool  enable)
new void QtGui.QTableWidget.SetVerticalHeaderItem ( int  row,
QTableWidgetItem  item 
)

Sets the vertical header item for row row to item.

See also verticalHeaderItem().

new void QtGui.QTableWidget.SetVerticalHeaderLabels ( System.Collections.Generic.List< string >  labels)

Sets the vertical header labels using labels.

new void QtGui.QTableWidget.SortItems ( int  column,
Qt.SortOrder  order = Qt.SortOrder.AscendingOrder 
)

Sorts all the rows in the table widget based on column and order.

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

Returns the drop actions supported by this view.

See also Qt::DropActions.

new QTableWidgetItem QtGui.QTableWidget.TakeHorizontalHeaderItem ( int  column)

Removes the horizontal header item at column from the header without deleting it.

This function was introduced in Qt 4.1.

new QTableWidgetItem QtGui.QTableWidget.TakeItem ( int  row,
int  column 
)

Removes the item at row and column from the table without deleting it.

new QTableWidgetItem QtGui.QTableWidget.TakeVerticalHeaderItem ( int  row)

Removes the vertical header item at row from the header without deleting it.

This function was introduced in Qt 4.1.

static string QtGui.QTableWidget.Tr ( string  s,
string  c = null 
)
static
static string QtGui.QTableWidget.Tr ( string  s,
string  c,
int  n 
)
static
static string QtGui.QTableWidget.TrUtf8 ( string  s,
string  c = null 
)
static
static string QtGui.QTableWidget.TrUtf8 ( string  s,
string  c,
int  n 
)
static
new QTableWidgetItem QtGui.QTableWidget.VerticalHeaderItem ( int  row)

Returns the vertical header item for row row.

See also setVerticalHeaderItem().

new int QtGui.QTableWidget.VisualColumn ( int  logicalColumn)

Returns the visual column of the given logicalColumn.

new QRect QtGui.QTableWidget.VisualItemRect ( QTableWidgetItem  item)

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

new int QtGui.QTableWidget.VisualRow ( int  logicalRow)

Returns the visual row of the given logicalRow.

Property Documentation

Slot<System.Int32,System.Int32> QtGui.QTableWidget.CellActivated
addremove

This signal is emitted when the cell specified by row and column has been activated

This function was introduced in Qt 4.1.

Slot<System.Int32,System.Int32> QtGui.QTableWidget.CellChanged
addremove

This signal is emitted whenever the data of the item in the cell specified by row and column has changed.

This function was introduced in Qt 4.1.

Slot<System.Int32,System.Int32> QtGui.QTableWidget.CellClicked
addremove

This signal is emitted whenever a cell in the table is clicked. The row and column specified is the cell that was clicked.

This function was introduced in Qt 4.1.

Slot<System.Int32,System.Int32> QtGui.QTableWidget.CellDoubleClicked
addremove

This signal is emitted whenever a cell in the table is double clicked. The row and column specified is the cell that was double clicked.

This function was introduced in Qt 4.1.

Slot<System.Int32,System.Int32> QtGui.QTableWidget.CellEntered
addremove

This signal is emitted when the mouse cursor enters a cell. The cell is specified by row and column.

This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.

This function was introduced in Qt 4.1.

Slot<System.Int32,System.Int32> QtGui.QTableWidget.CellPressed
addremove

This signal is emitted whenever a cell in the table is pressed. The row and column specified is the cell that was pressed.

This function was introduced in Qt 4.1.

new int QtGui.QTableWidget.ColumnCount
getset

This property holds the number of columns in the table.

By default, for a table constructed without row and column counts, this property contains a value of 0.

Slot<System.Int32,System.Int32,System.Int32,System.Int32> QtGui.QTableWidget.CurrentCellChanged
addremove

This signal is emitted whenever the current cell changes. The cell specified by previousRow and previousColumn is the cell that previously had the focus, the cell specified by currentRow and currentColumn is the new current cell.

This function was introduced in Qt 4.1.

new QTableWidgetItem QtGui.QTableWidget.CurrentItem
getset

Returns the current item.

Sets the current item to item.

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

Slot<QTableWidgetItem,QTableWidgetItem> QtGui.QTableWidget.CurrentItemChanged
addremove

This signal is emitted whenever the current item changes. The previous item is the item that previously had the focus, current is the new current item.

new IQTableWidgetSignals QtGui.QTableWidget.Emit
getprotected
Slot<QTableWidgetItem> QtGui.QTableWidget.ItemActivated
addremove

This signal is emitted when the specified item has been activated

Slot<QTableWidgetItem> QtGui.QTableWidget.ItemChanged
addremove

This signal is emitted whenever the data of item has changed.

Slot<QTableWidgetItem> QtGui.QTableWidget.ItemClicked
addremove

This signal is emitted whenever an item in the table is clicked. The item specified is the item that was clicked.

Slot<QTableWidgetItem> QtGui.QTableWidget.ItemDoubleClicked
addremove

This signal is emitted whenever an item in the table is double clicked. The item specified is the item that was double clicked.

Slot<QTableWidgetItem> QtGui.QTableWidget.ItemEntered
addremove

This signal is emitted when the mouse cursor enters an item. The item is the item entered.

This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.

Slot<QTableWidgetItem> QtGui.QTableWidget.ItemPressed
addremove

This signal is emitted whenever an item in the table is pressed. The item specified is the item that was pressed.

new QTableWidgetItem QtGui.QTableWidget.ItemPrototype
getset

Returns the item prototype used by the table.

Sets the item prototype for the table to the specified item.

The table widget will use the item prototype clone function when it needs to create a new table item. For example when the user is editing in an empty cell. This is useful when you have a QTableWidgetItem subclass and want to make sure that QTableWidget creates instances of your subclass.

The table takes ownership of the prototype.

Slot QtGui.QTableWidget.ItemSelectionChanged
addremove

This signal is emitted whenever the selection changes.

See also selectedItems() and QTableWidgetItem::isSelected().

new int QtGui.QTableWidget.RowCount
getset

This property holds the number of rows in the table.

By default, for a table constructed without row and column counts, this property contains a value of 0.

new QMetaObject QtGui.QTableWidget.StaticMetaObject
staticget