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

The QGraphicsWidget class is the base class for all widget items in a QGraphicsScene. More...

Inheritance diagram for QtGui.QGraphicsWidget:
Collaboration diagram for QtGui.QGraphicsWidget:

Public Member Functions

 QGraphicsWidget (IQGraphicsItem parent=null, Qt.WindowType wFlags=0)
 
 
override void CreateProxy ()
 
new
System.Collections.Generic.List
< QAction
Actions ()
 
 
new void AddAction (QAction action)
 
 
new void AddActions (System.Collections.Generic.List< QAction > actions)
 
 
new void AdjustSize ()
 
 
override QRectF BoundingRect ()
 
 
new
System.Collections.Generic.List
< QObject
Children ()
 
new bool Close ()
 
 
override bool OnEvent (QEvent @event)
 
 
new QGraphicsWidget FocusWidget ()
 
 
virtual void GetContentsMargins (ref double left, ref double top, ref double right, ref double bottom)
 
 
new void GetWindowFrameMargins (ref double left, ref double top, ref double right, ref double bottom)
 
 
new int GrabShortcut (QKeySequence sequence, Qt.ShortcutContext context=Qt.ShortcutContext.WindowShortcut)
 
 
new void InsertAction (QAction before, QAction action)
 
 
new void InsertActions (QAction before, System.Collections.Generic.List< QAction > actions)
 
 
new bool IsActiveWindow ()
 
 
override void Paint (QPainter painter, QStyleOptionGraphicsItem option, QWidget widget=null)
 
 
virtual void PaintWindowFrame (QPainter painter, QStyleOptionGraphicsItem option, QWidget widget=null)
 
 
new QRectF Rect ()
 
 
new void ReleaseShortcut (int id)
 
 
new void RemoveAction (QAction action)
 
 
new void Resize (double w, double h)
 
new void SetAttribute (Qt.WidgetAttribute attribute, bool on=true)
 
 
new void SetContentsMargins (double left, double top, double right, double bottom)
 
 
new void SetGeometry (double x, double y, double w, double h)
 
new void SetShortcutAutoRepeat (int id, bool enabled=true)
 
 
new void SetShortcutEnabled (int id, bool enabled=true)
 
 
new void SetWindowFlags (Qt.WindowType wFlags)
 
new void SetWindowFrameMargins (double left, double top, double right, double bottom)
 
 
override QPainterPath Shape ()
 
 
new bool TestAttribute (Qt.WidgetAttribute attribute)
 
 
override int Type ()
 
 
new void UnsetLayoutDirection ()
 
new void UnsetWindowFrameMargins ()
 
 
virtual void UpdateGeometry ()
 
 
new Qt.WindowType windowFlags ()
 
new QRectF WindowFrameGeometry ()
 
 
new QRectF WindowFrameRect ()
 
 
new Qt.WindowType WindowType ()
 
 
new void Dispose ()
 
new QRectF ContentsRect ()
 
new QSizeF EffectiveSizeHint (Qt.SizeHint which)
 
new QSizeF EffectiveSizeHint (Qt.SizeHint which, QSizeF constraint)
 
new IQGraphicsItem GraphicsItem ()
 
new bool IsLayout ()
 
new bool OwnedByLayout ()
 
new void SetMaximumSize (double w, double h)
 
new void SetMinimumSize (double w, double h)
 
new void SetPreferredSize (double w, double h)
 
new void SetSizePolicy (QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType=QSizePolicy.ControlType.DefaultType)
 
- Public Member Functions inherited from QtGui.QGraphicsObject
 QGraphicsObject (IQGraphicsItem parent=null)
 
 
new
System.Collections.Generic.List
< QObject
Children ()
 
new void GrabGesture (Qt.GestureType type, Qt.GestureFlag flags=0)
 
 
new void UngrabGesture (Qt.GestureType type)
 
 
new void Dispose ()
 
virtual void Advance (int phase)
 
new QRegion BoundingRegion (QTransform itemToDeviceTransform)
 
new
System.Collections.Generic.List
< IQGraphicsItem
ChildItems ()
 
new QRectF ChildrenBoundingRect ()
 
new void ClearFocus ()
 
new QPainterPath ClipPath ()
 
virtual bool CollidesWithItem (IQGraphicsItem other, Qt.ItemSelectionMode mode=Qt.ItemSelectionMode.IntersectsItemShape)
 
virtual bool CollidesWithPath (QPainterPath path, Qt.ItemSelectionMode mode=Qt.ItemSelectionMode.IntersectsItemShape)
 
new
System.Collections.Generic.List
< IQGraphicsItem
CollidingItems (Qt.ItemSelectionMode mode=Qt.ItemSelectionMode.IntersectsItemShape)
 
new IQGraphicsItem CommonAncestorItem (IQGraphicsItem other)
 
virtual bool Contains (QPointF point)
 
new object Data (int key)
 
new QTransform DeviceTransform (QTransform viewportTransform)
 
new double EffectiveOpacity ()
 
new void EnsureVisible ()
 
new void EnsureVisible (QRectF rect, int xmargin=50, int ymargin=50)
 
new void EnsureVisible (double x, double y, double w, double h, int xmargin=50, int ymargin=50)
 
new IQGraphicsItem FocusItem ()
 
new IQGraphicsItem FocusScopeItem ()
 
new void GrabKeyboard ()
 
new void GrabMouse ()
 
new bool HasCursor ()
 
new bool HasFocus ()
 
new void Hide ()
 
new void InstallSceneEventFilter (IQGraphicsItem filterItem)
 
new bool IsActive ()
 
new bool IsAncestorOf (IQGraphicsItem child)
 
new bool IsBlockedByModalPanel (IQGraphicsItem blockingPanel=null)
 
new bool IsClipped ()
 
new bool IsEnabled ()
 
new bool IsObscured ()
 
new bool IsObscured (QRectF rect)
 
new bool IsObscured (double x, double y, double w, double h)
 
virtual bool IsObscuredBy (IQGraphicsItem item)
 
new bool IsPanel ()
 
new bool IsSelected ()
 
new bool IsUnderMouse ()
 
new bool IsVisible ()
 
new bool IsVisibleTo (IQGraphicsItem parent)
 
new bool IsWidget ()
 
new bool IsWindow ()
 
new QTransform ItemTransform (IQGraphicsItem other)
 
new QTransform ItemTransform (IQGraphicsItem other, ref bool ok)
 
new QPointF MapFromItem (IQGraphicsItem item, QPointF point)
 
new QPolygonF MapFromItem (IQGraphicsItem item, QRectF rect)
 
new QPolygonF MapFromItem (IQGraphicsItem item, QPolygonF polygon)
 
new QPainterPath MapFromItem (IQGraphicsItem item, QPainterPath path)
 
new QPointF MapFromItem (IQGraphicsItem item, double x, double y)
 
new QPolygonF MapFromItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QPointF MapFromParent (QPointF point)
 
new QPolygonF MapFromParent (QRectF rect)
 
new QPolygonF MapFromParent (QPolygonF polygon)
 
new QPainterPath MapFromParent (QPainterPath path)
 
new QPointF MapFromParent (double x, double y)
 
new QPolygonF MapFromParent (double x, double y, double w, double h)
 
new QPointF MapFromScene (QPointF point)
 
new QPolygonF MapFromScene (QRectF rect)
 
new QPolygonF MapFromScene (QPolygonF polygon)
 
new QPainterPath MapFromScene (QPainterPath path)
 
new QPointF MapFromScene (double x, double y)
 
new QPolygonF MapFromScene (double x, double y, double w, double h)
 
new QRectF MapRectFromItem (IQGraphicsItem item, QRectF rect)
 
new QRectF MapRectFromItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QRectF MapRectFromParent (QRectF rect)
 
new QRectF MapRectFromParent (double x, double y, double w, double h)
 
new QRectF MapRectFromScene (QRectF rect)
 
new QRectF MapRectFromScene (double x, double y, double w, double h)
 
new QRectF MapRectToItem (IQGraphicsItem item, QRectF rect)
 
new QRectF MapRectToItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QRectF MapRectToParent (QRectF rect)
 
new QRectF MapRectToParent (double x, double y, double w, double h)
 
new QRectF MapRectToScene (QRectF rect)
 
new QRectF MapRectToScene (double x, double y, double w, double h)
 
new QPointF MapToItem (IQGraphicsItem item, QPointF point)
 
new QPolygonF MapToItem (IQGraphicsItem item, QRectF rect)
 
new QPolygonF MapToItem (IQGraphicsItem item, QPolygonF polygon)
 
new QPainterPath MapToItem (IQGraphicsItem item, QPainterPath path)
 
new QPointF MapToItem (IQGraphicsItem item, double x, double y)
 
new QPolygonF MapToItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QPointF MapToParent (QPointF point)
 
new QPolygonF MapToParent (QRectF rect)
 
new QPolygonF MapToParent (QPolygonF polygon)
 
new QPainterPath MapToParent (QPainterPath path)
 
new QPointF MapToParent (double x, double y)
 
new QPolygonF MapToParent (double x, double y, double w, double h)
 
new QPointF MapToScene (QPointF point)
 
new QPolygonF MapToScene (QRectF rect)
 
new QPolygonF MapToScene (QPolygonF polygon)
 
new QPainterPath MapToScene (QPainterPath path)
 
new QPointF MapToScene (double x, double y)
 
new QPolygonF MapToScene (double x, double y, double w, double h)
 
new void MoveBy (double dx, double dy)
 
virtual QPainterPath OpaqueArea ()
 
new IQGraphicsItem Panel ()
 
new QGraphicsObject ParentObject ()
 
new QGraphicsWidget ParentWidget ()
 
new void RemoveSceneEventFilter (IQGraphicsItem filterItem)
 
new void ResetMatrix ()
 
new void ResetTransform ()
 
new void Rotate (double angle)
 
new double Scale ()
 
new void Scale (double sx, double sy)
 
new QGraphicsScene Scene ()
 
new QRectF SceneBoundingRect ()
 
new QMatrix SceneMatrix ()
 
new QPointF ScenePos ()
 
new QTransform SceneTransform ()
 
new void Scroll (double dx, double dy)
 
new void Scroll (double dx, double dy, QRectF rect)
 
new void SetActive (bool active)
 
new void SetCacheMode (QGraphicsItem.CacheMode mode, QSize cacheSize)
 
new void SetData (int key, object value)
 
new void SetEnabled (bool enabled)
 
new void SetFlag (QGraphicsItem.GraphicsItemFlag flag, bool enabled=true)
 
new void SetFocus (Qt.FocusReason focusReason=Qt.FocusReason.OtherFocusReason)
 
new void SetMatrix (QMatrix matrix, bool combine=false)
 
new void SetPos (double x, double y)
 
new void SetScale (double scale)
 
new void SetSelected (bool selected)
 
new void SetTransform (QTransform matrix, bool combine=false)
 
new void SetTransformOriginPoint (double ax, double ay)
 
new void SetVisible (bool visible)
 
new void Shear (double sh, double sv)
 
new void Show ()
 
new void StackBefore (IQGraphicsItem sibling)
 
new QGraphicsObject ToGraphicsObject ()
 
new IQGraphicsItem TopLevelItem ()
 
new QGraphicsWidget TopLevelWidget ()
 
new void Translate (double dx, double dy)
 
new void UngrabKeyboard ()
 
new void UngrabMouse ()
 
new void UnsetCursor ()
 
new void Update ()
 
new void Update (QRectF rect)
 
new void Update (double x, double y, double width, double height)
 
new QGraphicsWidget Window ()
 
- 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 OnEvent (QEvent arg1)
 
 
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.IQGraphicsItem
void Advance (int phase)
 
QRectF BoundingRect ()
 
new QRegion BoundingRegion (QTransform itemToDeviceTransform)
 
new
System.Collections.Generic.List
< IQGraphicsItem
ChildItems ()
 
new
System.Collections.Generic.List
< IQGraphicsItem
Children ()
 
new QRectF ChildrenBoundingRect ()
 
new void ClearFocus ()
 
new QPainterPath ClipPath ()
 
bool CollidesWithItem (IQGraphicsItem other, Qt.ItemSelectionMode mode=Qt.ItemSelectionMode.IntersectsItemShape)
 
bool CollidesWithPath (QPainterPath path, Qt.ItemSelectionMode mode=Qt.ItemSelectionMode.IntersectsItemShape)
 
new
System.Collections.Generic.List
< IQGraphicsItem
CollidingItems (Qt.ItemSelectionMode mode=Qt.ItemSelectionMode.IntersectsItemShape)
 
new IQGraphicsItem CommonAncestorItem (IQGraphicsItem other)
 
bool Contains (QPointF point)
 
new object Data (int key)
 
new QTransform DeviceTransform (QTransform viewportTransform)
 
new double EffectiveOpacity ()
 
new void EnsureVisible ()
 
new void EnsureVisible (QRectF rect, int xmargin=50, int ymargin=50)
 
new void EnsureVisible (double x, double y, double w, double h, int xmargin=50, int ymargin=50)
 
new IQGraphicsItem FocusItem ()
 
new IQGraphicsItem FocusScopeItem ()
 
new void GrabKeyboard ()
 
new void GrabMouse ()
 
new bool HasCursor ()
 
new bool HasFocus ()
 
new void Hide ()
 
new void InstallSceneEventFilter (IQGraphicsItem filterItem)
 
new bool IsActive ()
 
new bool IsAncestorOf (IQGraphicsItem child)
 
new bool IsBlockedByModalPanel (IQGraphicsItem blockingPanel=null)
 
new bool IsClipped ()
 
new bool IsEnabled ()
 
new bool IsObscured ()
 
new bool IsObscured (QRectF rect)
 
new bool IsObscured (double x, double y, double w, double h)
 
bool IsObscuredBy (IQGraphicsItem item)
 
new bool IsPanel ()
 
new bool IsSelected ()
 
new bool IsUnderMouse ()
 
new bool IsVisible ()
 
new bool IsVisibleTo (IQGraphicsItem parent)
 
new bool IsWidget ()
 
new bool IsWindow ()
 
new QTransform ItemTransform (IQGraphicsItem other)
 
new QTransform ItemTransform (IQGraphicsItem other, ref bool ok)
 
new QPolygonF MapFromItem (IQGraphicsItem item, QRectF rect)
 
new QPainterPath MapFromItem (IQGraphicsItem item, QPainterPath path)
 
new QPointF MapFromItem (IQGraphicsItem item, QPointF point)
 
new QPolygonF MapFromItem (IQGraphicsItem item, QPolygonF polygon)
 
new QPointF MapFromItem (IQGraphicsItem item, double x, double y)
 
new QPolygonF MapFromItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QPolygonF MapFromParent (QPolygonF polygon)
 
new QPolygonF MapFromParent (QRectF rect)
 
new QPainterPath MapFromParent (QPainterPath path)
 
new QPointF MapFromParent (QPointF point)
 
new QPointF MapFromParent (double x, double y)
 
new QPolygonF MapFromParent (double x, double y, double w, double h)
 
new QPolygonF MapFromScene (QPolygonF polygon)
 
new QPolygonF MapFromScene (QRectF rect)
 
new QPainterPath MapFromScene (QPainterPath path)
 
new QPointF MapFromScene (QPointF point)
 
new QPointF MapFromScene (double x, double y)
 
new QPolygonF MapFromScene (double x, double y, double w, double h)
 
new QRectF MapRectFromItem (IQGraphicsItem item, QRectF rect)
 
new QRectF MapRectFromItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QRectF MapRectFromParent (QRectF rect)
 
new QRectF MapRectFromParent (double x, double y, double w, double h)
 
new QRectF MapRectFromScene (QRectF rect)
 
new QRectF MapRectFromScene (double x, double y, double w, double h)
 
new QRectF MapRectToItem (IQGraphicsItem item, QRectF rect)
 
new QRectF MapRectToItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QRectF MapRectToParent (QRectF rect)
 
new QRectF MapRectToParent (double x, double y, double w, double h)
 
new QRectF MapRectToScene (QRectF rect)
 
new QRectF MapRectToScene (double x, double y, double w, double h)
 
new QPainterPath MapToItem (IQGraphicsItem item, QPainterPath path)
 
new QPolygonF MapToItem (IQGraphicsItem item, QRectF rect)
 
new QPolygonF MapToItem (IQGraphicsItem item, QPolygonF polygon)
 
new QPointF MapToItem (IQGraphicsItem item, QPointF point)
 
new QPointF MapToItem (IQGraphicsItem item, double x, double y)
 
new QPolygonF MapToItem (IQGraphicsItem item, double x, double y, double w, double h)
 
new QPolygonF MapToParent (QPolygonF polygon)
 
new QPainterPath MapToParent (QPainterPath path)
 
new QPointF MapToParent (QPointF point)
 
new QPolygonF MapToParent (QRectF rect)
 
new QPointF MapToParent (double x, double y)
 
new QPolygonF MapToParent (double x, double y, double w, double h)
 
new QPolygonF MapToScene (QPolygonF polygon)
 
new QPointF MapToScene (QPointF point)
 
new QPainterPath MapToScene (QPainterPath path)
 
new QPolygonF MapToScene (QRectF rect)
 
new QPointF MapToScene (double x, double y)
 
new QPolygonF MapToScene (double x, double y, double w, double h)
 
new void MoveBy (double dx, double dy)
 
QPainterPath OpaqueArea ()
 
void Paint (QPainter painter, QStyleOptionGraphicsItem option, QWidget widget=null)
 
new IQGraphicsItem Panel ()
 
new QGraphicsObject ParentObject ()
 
new QGraphicsWidget ParentWidget ()
 
new void RemoveSceneEventFilter (IQGraphicsItem filterItem)
 
new void ResetMatrix ()
 
new void ResetTransform ()
 
new void Rotate (double angle)
 
new double Scale ()
 
new void Scale (double sx, double sy)
 
new QGraphicsScene Scene ()
 
new QRectF SceneBoundingRect ()
 
new QMatrix SceneMatrix ()
 
new QPointF ScenePos ()
 
new QTransform SceneTransform ()
 
new void Scroll (double dx, double dy)
 
new void Scroll (double dx, double dy, QRectF rect)
 
new void SetActive (bool active)
 
new void SetCacheMode (QGraphicsItem.CacheMode mode, QSize cacheSize)
 
new void SetData (int key, object value)
 
new void SetEnabled (bool enabled)
 
new void SetFlag (QGraphicsItem.GraphicsItemFlag flag, bool enabled=true)
 
new void SetFocus (Qt.FocusReason focusReason=Qt.FocusReason.OtherFocusReason)
 
new void SetMatrix (QMatrix matrix, bool combine=false)
 
new void SetPos (double x, double y)
 
new void SetScale (double scale)
 
new void SetSelected (bool selected)
 
new void SetTransform (QTransform matrix, bool combine=false)
 
new void SetTransformOriginPoint (double ax, double ay)
 
new void SetVisible (bool visible)
 
QPainterPath Shape ()
 
new void Shear (double sh, double sv)
 
new void Show ()
 
new void StackBefore (IQGraphicsItem sibling)
 
new QGraphicsObject ToGraphicsObject ()
 
new IQGraphicsItem TopLevelItem ()
 
new QGraphicsWidget TopLevelWidget ()
 
new void Translate (double dx, double dy)
 
int Type ()
 
new void UngrabKeyboard ()
 
new void UngrabMouse ()
 
new void UnsetCursor ()
 
new void Update ()
 
new void Update (QRectF rect)
 
new void Update (double x, double y, double width, double height)
 
new QGraphicsWidget Window ()
 
- Public Member Functions inherited from QtGui.IQGraphicsLayoutItem
new QRectF ContentsRect ()
 
new QSizeF EffectiveSizeHint (Qt.SizeHint which)
 
new QSizeF EffectiveSizeHint (Qt.SizeHint which, QSizeF constraint)
 
void GetContentsMargins (ref double left, ref double top, ref double right, ref double bottom)
 
new IQGraphicsItem GraphicsItem ()
 
new bool IsLayout ()
 
new bool OwnedByLayout ()
 
new void SetMaximumSize (double w, double h)
 
new void SetMinimumSize (double w, double h)
 
new void SetPreferredSize (double w, double h)
 
new void SetSizePolicy (QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType=QSizePolicy.ControlType.DefaultType)
 
void UpdateGeometry ()
 

Static Public Member Functions

static void SetTabOrder (QGraphicsWidget first, QGraphicsWidget second)
 
 
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.QGraphicsObject
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

 QGraphicsWidget (System.Type dummy)
 
virtual void OnChangeEvent (QEvent @event)
 
 
virtual void OnCloseEvent (QCloseEvent @event)
 
 
override void OnFocusInEvent (QFocusEvent @event)
 
 
virtual bool FocusNextPrevChild (bool next)
 
 
override void OnFocusOutEvent (QFocusEvent @event)
 
 
new void OnGeometryChanged ()
 
 
virtual void OnGrabKeyboardEvent (QEvent @event)
 
 
virtual void OnGrabMouseEvent (QEvent @event)
 
 
virtual void OnHideEvent (QHideEvent @event)
 
 
override void OnHoverLeaveEvent (QGraphicsSceneHoverEvent @event)
 
 
override void OnHoverMoveEvent (QGraphicsSceneHoverEvent @event)
 
 
virtual void InitStyleOption (QStyleOption option)
 
 
override object ItemChange (QGraphicsItem.GraphicsItemChange change, object value)
 
 
new void OnLayoutChanged ()
 
virtual void OnMoveEvent (QGraphicsSceneMoveEvent @event)
 
 
virtual void OnPolishEvent ()
 
 
virtual object PropertyChange (string propertyName, object value)
 
virtual void OnResizeEvent (QGraphicsSceneResizeEvent @event)
 
 
override bool OnSceneEvent (QEvent @event)
 
 
virtual void OnShowEvent (QShowEvent @event)
 
 
new QSizeF SizeHint (Qt.SizeHint which)
 
 
virtual QSizeF SizeHint (Qt.SizeHint which, QSizeF constraint)
 
 
virtual void OnUngrabKeyboardEvent (QEvent @event)
 
 
virtual void OnUngrabMouseEvent (QEvent @event)
 
 
virtual bool OnWindowFrameEvent (QEvent e)
 
 
virtual Qt.WindowFrameSection WindowFrameSectionAt (QPointF pos)
 
 
new void SetGraphicsItem (IQGraphicsItem item)
 
new void SetOwnedByLayout (bool ownedByLayout)
 
- Protected Member Functions inherited from QtGui.QGraphicsObject
 QGraphicsObject (System.Type dummy)
 
new void OnChildrenChanged ()
 
new void OnEnabledChanged ()
 
 
new void OnHeightChanged ()
 
new void OnOpacityChanged ()
 
 
new void OnParentChanged ()
 
 
new void OnRotationChanged ()
 
 
new void OnScaleChanged ()
 
 
new void UpdateMicroFocus ()
 
 
new void OnVisibleChanged ()
 
 
new void OnWidthChanged ()
 
new void xChanged ()
 
 
new void yChanged ()
 
 
new void zChanged ()
 
 
new void AddToIndex ()
 
virtual void OnContextMenuEvent (QGraphicsSceneContextMenuEvent @event)
 
virtual void OnDragEnterEvent (QGraphicsSceneDragDropEvent @event)
 
virtual void OnDragLeaveEvent (QGraphicsSceneDragDropEvent @event)
 
virtual void OnDragMoveEvent (QGraphicsSceneDragDropEvent @event)
 
virtual void OnDropEvent (QGraphicsSceneDragDropEvent @event)
 
virtual object extension (object variant)
 
virtual void OnHoverEnterEvent (QGraphicsSceneHoverEvent @event)
 
virtual void OnInputMethodEvent (QInputMethodEvent @event)
 
virtual object InputMethodQuery (Qt.InputMethodQuery query)
 
virtual void OnKeyPressEvent (QKeyEvent @event)
 
virtual void OnKeyReleaseEvent (QKeyEvent @event)
 
virtual void OnMouseDoubleClickEvent (QGraphicsSceneMouseEvent @event)
 
virtual void OnMouseMoveEvent (QGraphicsSceneMouseEvent @event)
 
virtual void OnMousePressEvent (QGraphicsSceneMouseEvent @event)
 
virtual void OnMouseReleaseEvent (QGraphicsSceneMouseEvent @event)
 
new void PrepareGeometryChange ()
 
new void RemoveFromIndex ()
 
virtual bool SceneEventFilter (IQGraphicsItem watched, QEvent @event)
 
virtual void SetExtension (QGraphicsItem.Extension extension, object variant)
 
virtual bool SupportsExtension (QGraphicsItem.Extension extension)
 
virtual void OnWheelEvent (QGraphicsSceneWheelEvent @event)
 
- 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 GeometryChanged
 
 
Slot LayoutChanged
 
virtual QRectF Geometry [get, set]
 
new QStyle Style [get, set]
 
 
new double MaximumHeight [get, set]
 
new QSizeF MaximumSize [get, set]
 
new double MaximumWidth [get, set]
 
new double MinimumHeight [get, set]
 
new QSizeF MinimumSize [get, set]
 
new double MinimumWidth [get, set]
 
new IQGraphicsLayoutItem ParentLayoutItem [get, set]
 
new double PreferredHeight [get, set]
 
new QSizeF PreferredSize [get, set]
 
new double PreferredWidth [get, set]
 
new QSizePolicy SizePolicy [get, set]
 
new QPalette Palette [get, set]
 
 
new QFont Font [get, set]
 
 
new Qt.LayoutDirection LayoutDirection [get, set]
 
 
new QSizeF Size [get, set]
 
 
new Qt.FocusPolicy FocusPolicy [get, set]
 
 
new Qt.WindowType WindowFlags [get, set]
 
 
new string WindowTitle [get, set]
 
 
new bool AutoFillBackground [get, set]
 
 
new QGraphicsLayout Layout [get, set]
 
static new QMetaObject StaticMetaObject [get]
 
new IQGraphicsWidgetSignals Emit [get]
 
- Properties inherited from QtGui.QGraphicsObject
Slot ParentChanged
 
 
Slot OpacityChanged
 
 
Slot VisibleChanged
 
 
Slot EnabledChanged
 
 
Slot XChanged
 
Slot YChanged
 
Slot ZChanged
 
Slot RotationChanged
 
 
Slot ScaleChanged
 
 
Slot ChildrenChanged
 
Slot WidthChanged
 
Slot HeightChanged
 
new bool AcceptDrops [get, set]
 
new bool AcceptHoverEvents [get, set]
 
new bool AcceptTouchEvents [get, set]
 
new Qt.MouseButton AcceptedMouseButtons [get, set]
 
new bool AcceptsHoverEvents [get, set]
 
new double BoundingRegionGranularity [get, set]
 
new QGraphicsItem.CacheMode cacheMode [get, set]
 
new QCursor Cursor [get, set]
 
new bool FiltersChildEvents [get, set]
 
new QGraphicsItem.GraphicsItemFlag Flags [get, set]
 
new IQGraphicsItem FocusProxy [get, set]
 
new QGraphicsEffect GraphicsEffect [get, set]
 
new QGraphicsItemGroup Group [get, set]
 
new bool HandlesChildEvents [get, set]
 
new Qt.InputMethodHint InputMethodHints [get, set]
 
new double Opacity [get, set]
 
new QGraphicsItem.PanelModality panelModality [get, set]
 
new IQGraphicsItem ParentItem [get, set]
 
new QPointF Pos [get, set]
 
new double Rotation [get, set]
 
new string ToolTip [get, set]
 
new QPointF TransformOriginPoint [get, set]
 
new
System.Collections.Generic.List
< QGraphicsTransform
Transformations [get, set]
 
new double X [get, set]
 
new double Y [get, set]
 
new double zValue [get, set]
 
new QMatrix Matrix [get]
 
new QTransform Transform [get]
 
new QGraphicsObject Parent [get, set]
 
new double Z [get, set]
 
new QGraphicsEffect Effect [get, set]
 
new double Width [get, set]
 
new double Height [get, set]
 
static new QMetaObject StaticMetaObject [get]
 
new IQGraphicsObjectSignals 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]
 
- Properties inherited from QtGui.IQGraphicsItem
System.Boolean AcceptDrops [get, set]
 
System.Boolean AcceptHoverEvents [get, set]
 
System.Boolean AcceptTouchEvents [get, set]
 
Qt.MouseButton AcceptedMouseButtons [get, set]
 
System.Boolean AcceptsHoverEvents [get, set]
 
System.Double BoundingRegionGranularity [get, set]
 
QGraphicsItem.CacheMode cacheMode [get, set]
 
QCursor Cursor [get, set]
 
System.Boolean FiltersChildEvents [get, set]
 
QGraphicsItem.GraphicsItemFlag Flags [get, set]
 
IQGraphicsItem FocusProxy [get, set]
 
QGraphicsEffect GraphicsEffect [get, set]
 
QGraphicsItemGroup Group [get, set]
 
System.Boolean HandlesChildEvents [get, set]
 
Qt.InputMethodHint InputMethodHints [get, set]
 
System.Double Opacity [get, set]
 
QGraphicsItem.PanelModality panelModality [get, set]
 
IQGraphicsItem ParentItem [get, set]
 
QPointF Pos [get, set]
 
System.Double Rotation [get, set]
 
System.String ToolTip [get, set]
 
QPointF TransformOriginPoint [get, set]
 
System.Collections.Generic.List
< QGraphicsTransform
Transformations [get, set]
 
System.Double X [get, set]
 
System.Double Y [get, set]
 
System.Double zValue [get, set]
 
QMatrix Matrix [get]
 
QTransform Transform [get]
 
- Properties inherited from QtGui.IQGraphicsLayoutItem
QRectF Geometry [get, set]
 
System.Double MaximumHeight [get, set]
 
QSizeF MaximumSize [get, set]
 
System.Double MaximumWidth [get, set]
 
System.Double MinimumHeight [get, set]
 
QSizeF MinimumSize [get, set]
 
System.Double MinimumWidth [get, set]
 
IQGraphicsLayoutItem ParentLayoutItem [get, set]
 
System.Double PreferredHeight [get, set]
 
QSizeF PreferredSize [get, set]
 
System.Double PreferredWidth [get, set]
 
QSizePolicy SizePolicy [get, set]
 

Additional Inherited Members

- Public Types inherited from QtCore.Qt
enum  AlignmentFlag {
  AlignAbsolute = 16, AlignBottom = 64, AlignCenter = 132, AlignHCenter = 4,
  AlignHorizontal_Mask = 31, AlignJustify = 8, AlignLeading = 1, AlignLeft = 1,
  AlignRight = 2, AlignTop = 32, AlignTrailing = 2, AlignVCenter = 128,
  AlignVertical_Mask = 224
}
  More...
 
enum  AnchorAttribute { AnchorHref = 1, AnchorName = 0 }
  More...
 
enum  AnchorPoint {
  AnchorBottom = 5, AnchorHorizontalCenter = 1, AnchorLeft = 0, AnchorRight = 2,
  AnchorTop = 3, AnchorVerticalCenter = 4
}
  More...
 
enum  ApplicationAttribute {
  AA_AttributeCount = 12, AA_CaptureMultimediaKeys = 11, AA_DontCreateNativeWidgetSiblings = 4, AA_DontShowIconsInMenus = 2,
  AA_DontUseNativeMenuBar = 6, AA_ImmediateWidgetCreation = 0, AA_MSWindowsUseDirect3DByDefault = 1, AA_MacDontSwapCtrlAndMeta = 7,
  AA_MacPluginApplication = 5, AA_NativeWindows = 3, AA_S60DisablePartialScreenInputMode = 9, AA_S60DontConstructApplicationPanes = 8,
  AA_X11InitThreads = 10
}
  More...
 
enum  ArrowType {
  DownArrow = 2, LeftArrow = 3, NoArrow = 0, RightArrow = 4,
  UpArrow = 1
}
 
enum  AspectRatioMode { IgnoreAspectRatio = 0, KeepAspectRatio = 1, KeepAspectRatioByExpanding = 2 }
  More...
 
enum  Axis { XAxis = 0, YAxis = 1, ZAxis = 2 }
  More...
 
enum  BGMode { OpaqueMode = 1, TransparentMode = 0 }
  More...
 
enum  BrushStyle {
  BDiagPattern = 12, ConicalGradientPattern = 17, CrossPattern = 11, Dense1Pattern = 2,
  Dense2Pattern = 3, Dense3Pattern = 4, Dense4Pattern = 5, Dense5Pattern = 6,
  Dense6Pattern = 7, Dense7Pattern = 8, DiagCrossPattern = 14, FDiagPattern = 13,
  HorPattern = 9, LinearGradientPattern = 15, NoBrush = 0, RadialGradientPattern = 16,
  SolidPattern = 1, TexturePattern = 24, VerPattern = 10
}
  More...
 
enum  CaseSensitivity { CaseInsensitive = 0, CaseSensitive = 1 }
 
enum  CheckState { Checked = 2, PartiallyChecked = 1, Unchecked = 0 }
  More...
 
enum  ClipOperation { IntersectClip = 2, NoClip = 0, ReplaceClip = 1, UniteClip = 3 }
 
enum  ConnectionType {
  AutoCompatConnection = 3, AutoConnection = 0, BlockingQueuedConnection = 4, DirectConnection = 1,
  QueuedConnection = 2, UniqueConnection = 128
}
  More...
 
enum  ContextMenuPolicy {
  ActionsContextMenu = 2, CustomContextMenu = 3, DefaultContextMenu = 1, NoContextMenu = 0,
  PreventContextMenu = 4
}
  More...
 
enum  CoordinateSystem { DeviceCoordinates = 0, LogicalCoordinates = 1 }
  More...
 
enum  Corner { BottomLeftCorner = 2, BottomRightCorner = 3, TopLeftCorner = 0, TopRightCorner = 1 }
  More...
 
enum  CursorMoveStyle { LogicalMoveStyle = 0, VisualMoveStyle = 1 }
  More...
 
enum  CursorShape {
  ArrowCursor = 0, BitmapCursor = 24, BlankCursor = 10, BusyCursor = 16,
  ClosedHandCursor = 18, CrossCursor = 2, CustomCursor = 25, DragCopyCursor = 19,
  DragLinkCursor = 21, DragMoveCursor = 20, ForbiddenCursor = 14, IBeamCursor = 4,
  LastCursor = 21, OpenHandCursor = 17, PointingHandCursor = 13, SizeAllCursor = 9,
  SizeBDiagCursor = 7, SizeFDiagCursor = 8, SizeHorCursor = 6, SizeVerCursor = 5,
  SplitHCursor = 12, SplitVCursor = 11, UpArrowCursor = 1, WaitCursor = 3,
  WhatsThisCursor = 15
}
  More...
 
enum  DateFormat {
  DefaultLocaleLongDate = 7, DefaultLocaleShortDate = 6, ISODate = 1, LocalDate = 2,
  LocaleDate = 3, SystemLocaleDate = 2, SystemLocaleLongDate = 5, SystemLocaleShortDate = 4,
  TextDate = 0
}
  More...
 
enum  DayOfWeek {
  Friday = 5, Monday = 1, Saturday = 6, Sunday = 7,
  Thursday = 4, Tuesday = 2, Wednesday = 3
}
 
enum  DockWidgetArea {
  AllDockWidgetAreas = 15, BottomDockWidgetArea = 8, DockWidgetArea_Mask = 15, LeftDockWidgetArea = 1,
  NoDockWidgetArea = 0, RightDockWidgetArea = 2, TopDockWidgetArea = 4
}
 
enum  DockWidgetAreaSizes { NDockWidgetAreas = 4 }
 
enum  DropAction {
  ActionMask = 255, CopyAction = 1, IgnoreAction = 0, LinkAction = 4,
  MoveAction = 2, TargetMoveAction = 32770
}
 
enum  EventPriority { HighEventPriority = 1, LowEventPriority = -1, NormalEventPriority = 0 }
  More...
 
enum  FillRule { OddEvenFill = 0, WindingFill = 1 }
  More...
 
enum  FocusPolicy {
  ClickFocus = 2, NoFocus = 0, StrongFocus = 11, TabFocus = 1,
  WheelFocus = 15
}
  More...
 
enum  FocusReason {
  ActiveWindowFocusReason = 3, BacktabFocusReason = 2, MenuBarFocusReason = 6, MouseFocusReason = 0,
  NoFocusReason = 8, OtherFocusReason = 7, PopupFocusReason = 4, ShortcutFocusReason = 5,
  TabFocusReason = 1
}
  More...
 
enum  GestureFlag { DontStartGestureOnChildren = 1, IgnoredGesturesPropagateToParent = 4, ReceivePartialGestures = 2 }
  More...
 
enum  GestureState {
  GestureCanceled = 4, GestureFinished = 3, GestureStarted = 1, GestureUpdated = 2,
  NoGesture = 0
}
  More...
 
enum  GestureType {
  CustomGesture = 256, LastGestureType = -1, PanGesture = 3, PinchGesture = 4,
  SwipeGesture = 5, TapAndHoldGesture = 2, TapGesture = 1
}
  More...
 
enum  GlobalColor {
  black = 2, blue = 9, color0 = 0, color1 = 1,
  cyan = 10, darkBlue = 15, darkCyan = 16, darkGray = 4,
  darkGreen = 14, darkMagenta = 17, darkRed = 13, darkYellow = 18,
  gray = 5, green = 8, lightGray = 6, magenta = 11,
  red = 7, transparent = 19, white = 3, yellow = 12
}
  More...
 
enum  ImageConversionFlag {
  AlphaDither_Mask = 12, AutoColor = 0, AutoDither = 0, AvoidDither = 128,
  ColorMode_Mask = 3, ColorOnly = 3, DiffuseAlphaDither = 8, DiffuseDither = 0,
  DitherMode_Mask = 192, Dither_Mask = 48, MonoOnly = 2, NoAlpha = 12,
  NoFormatConversion = 512, NoOpaqueDetection = 256, OrderedAlphaDither = 4, OrderedDither = 16,
  PreferDither = 64, ThresholdAlphaDither = 0, ThresholdDither = 32
}
  More...
 
enum  Initialization { Uninitialized = 0 }
 
enum  InputMethodHint {
  ImhDialableCharactersOnly = 1048576, ImhDigitsOnly = 65536, ImhEmailCharactersOnly = 2097152, ImhExclusiveInputMask = -65536,
  ImhFormattedNumbersOnly = 131072, ImhHiddenText = 1, ImhLowercaseOnly = 524288, ImhNoAutoUppercase = 2,
  ImhNoPredictiveText = 32, ImhNone = 0, ImhPreferLowercase = 16, ImhPreferNumbers = 4,
  ImhPreferUppercase = 8, ImhUppercaseOnly = 262144, ImhUrlCharactersOnly = 4194304
}
  More...
 
enum  InputMethodQuery {
  ImAnchorPosition = 6, ImCurrentSelection = 4, ImCursorPosition = 2, ImFont = 1,
  ImMaximumTextLength = 5, ImMicroFocus = 0, ImSurroundingText = 3
}
 
enum  ItemDataRole {
  AccessibleDescriptionRole = 12, AccessibleTextRole = 11, BackgroundColorRole = 8, BackgroundRole = 8,
  CheckStateRole = 10, DecorationPropertyRole = 28, DecorationRole = 1, DisplayPropertyRole = 27,
  DisplayRole = 0, EditRole = 2, FontRole = 6, ForegroundRole = 9,
  InitialSortOrderRole = 14, SizeHintRole = 13, StatusTipPropertyRole = 30, StatusTipRole = 4,
  TextAlignmentRole = 7, TextColorRole = 9, ToolTipPropertyRole = 29, ToolTipRole = 3,
  UserRole = 32, WhatsThisPropertyRole = 31, WhatsThisRole = 5
}
  More...
 
enum  ItemFlag {
  ItemIsDragEnabled = 4, ItemIsDropEnabled = 8, ItemIsEditable = 2, ItemIsEnabled = 32,
  ItemIsSelectable = 1, ItemIsTristate = 64, ItemIsUserCheckable = 16, NoItemFlags = 0
}
  More...
 
enum  ItemSelectionMode { ContainsItemBoundingRect = 2, ContainsItemShape = 0, IntersectsItemBoundingRect = 3, IntersectsItemShape = 1 }
  More...
 
enum  Key {
  Key_0 = 48, Key_1 = 49, Key_2 = 50, Key_3 = 51,
  Key_4 = 52, Key_5 = 53, Key_6 = 54, Key_7 = 55,
  Key_8 = 56, Key_9 = 57, Key_A = 65, Key_AE = 198,
  Key_Aacute = 193, Key_Acircumflex = 194, Key_AddFavorite = 16777408, Key_Adiaeresis = 196,
  Key_Agrave = 192, Key_Alt = 16777251, Key_AltGr = 16781571, Key_Ampersand = 38,
  Key_Any = 32, Key_Apostrophe = 39, Key_ApplicationLeft = 16777415, Key_ApplicationRight = 16777416,
  Key_Aring = 197, Key_AsciiCircum = 94, Key_AsciiTilde = 126, Key_Asterisk = 42,
  Key_At = 64, Key_Atilde = 195, Key_AudioCycleTrack = 16777478, Key_AudioForward = 16777474,
  Key_AudioRandomPlay = 16777476, Key_AudioRepeat = 16777475, Key_AudioRewind = 16777413, Key_Away = 16777464,
  Key_B = 66, Key_Back = 16777313, Key_BackForward = 16777414, Key_Backslash = 92,
  Key_Backspace = 16777219, Key_Backtab = 16777218, Key_Bar = 124, Key_BassBoost = 16777331,
  Key_BassDown = 16777333, Key_BassUp = 16777332, Key_Battery = 16777470, Key_Bluetooth = 16777471,
  Key_Book = 16777417, Key_BraceLeft = 123, Key_BraceRight = 125, Key_BracketLeft = 91,
  Key_BracketRight = 93, Key_BrightnessAdjust = 16777410, Key_C = 67, Key_CD = 16777418,
  Key_Calculator = 16777419, Key_Calendar = 16777444, Key_Call = 17825796, Key_Camera = 17825824,
  Key_CameraFocus = 17825825, Key_Cancel = 16908289, Key_CapsLock = 16777252, Key_Ccedilla = 199,
  Key_Clear = 16777227, Key_ClearGrab = 16777421, Key_Close = 16777422, Key_Codeinput = 16781623,
  Key_Colon = 58, Key_Comma = 44, Key_Community = 16777412, Key_Context1 = 17825792,
  Key_Context2 = 17825793, Key_Context3 = 17825794, Key_Context4 = 17825795, Key_ContrastAdjust = 16777485,
  Key_Control = 16777249, Key_Copy = 16777423, Key_Cut = 16777424, Key_D = 68,
  Key_DOS = 16777426, Key_Dead_Abovedot = 16781910, Key_Dead_Abovering = 16781912, Key_Dead_Acute = 16781905,
  Key_Dead_Belowdot = 16781920, Key_Dead_Breve = 16781909, Key_Dead_Caron = 16781914, Key_Dead_Cedilla = 16781915,
  Key_Dead_Circumflex = 16781906, Key_Dead_Diaeresis = 16781911, Key_Dead_Doubleacute = 16781913, Key_Dead_Grave = 16781904,
  Key_Dead_Hook = 16781921, Key_Dead_Horn = 16781922, Key_Dead_Iota = 16781917, Key_Dead_Macron = 16781908,
  Key_Dead_Ogonek = 16781916, Key_Dead_Semivoiced_Sound = 16781919, Key_Dead_Tilde = 16781907, Key_Dead_Voiced_Sound = 16781918,
  Key_Delete = 16777223, Key_Direction_L = 16777305, Key_Direction_R = 16777312, Key_Display = 16777425,
  Key_Documents = 16777427, Key_Dollar = 36, Key_Down = 16777237, Key_E = 69,
  Key_ETH = 208, Key_Eacute = 201, Key_Ecircumflex = 202, Key_Ediaeresis = 203,
  Key_Egrave = 200, Key_Eisu_Shift = 16781615, Key_Eisu_toggle = 16781616, Key_Eject = 16777401,
  Key_End = 16777233, Key_Enter = 16777221, Key_Equal = 61, Key_Escape = 16777216,
  Key_Excel = 16777428, Key_Exclam = 33, Key_Execute = 16908291, Key_Explorer = 16777429,
  Key_F = 70, Key_F1 = 16777264, Key_F10 = 16777273, Key_F11 = 16777274,
  Key_F12 = 16777275, Key_F13 = 16777276, Key_F14 = 16777277, Key_F15 = 16777278,
  Key_F16 = 16777279, Key_F17 = 16777280, Key_F18 = 16777281, Key_F19 = 16777282,
  Key_F2 = 16777265, Key_F20 = 16777283, Key_F21 = 16777284, Key_F22 = 16777285,
  Key_F23 = 16777286, Key_F24 = 16777287, Key_F25 = 16777288, Key_F26 = 16777289,
  Key_F27 = 16777290, Key_F28 = 16777291, Key_F29 = 16777292, Key_F3 = 16777266,
  Key_F30 = 16777293, Key_F31 = 16777294, Key_F32 = 16777295, Key_F33 = 16777296,
  Key_F34 = 16777297, Key_F35 = 16777298, Key_F4 = 16777267, Key_F5 = 16777268,
  Key_F6 = 16777269, Key_F7 = 16777270, Key_F8 = 16777271, Key_F9 = 16777272,
  Key_Favorites = 16777361, Key_Finance = 16777411, Key_Flip = 17825798, Key_Forward = 16777314,
  Key_G = 71, Key_Game = 16777430, Key_Go = 16777431, Key_Greater = 62,
  Key_H = 72, Key_Hangul = 16781617, Key_Hangul_Banja = 16781625, Key_Hangul_End = 16781619,
  Key_Hangul_Hanja = 16781620, Key_Hangul_Jamo = 16781621, Key_Hangul_Jeonja = 16781624, Key_Hangul_PostHanja = 16781627,
  Key_Hangul_PreHanja = 16781626, Key_Hangul_Romaja = 16781622, Key_Hangul_Special = 16781631, Key_Hangul_Start = 16781618,
  Key_Hangup = 17825797, Key_Hankaku = 16781609, Key_Help = 16777304, Key_Henkan = 16781603,
  Key_Hibernate = 16777480, Key_Hiragana = 16781605, Key_Hiragana_Katakana = 16781607, Key_History = 16777407,
  Key_Home = 16777232, Key_HomePage = 16777360, Key_HotLinks = 16777409, Key_Hyper_L = 16777302,
  Key_Hyper_R = 16777303, Key_I = 73, Key_Iacute = 205, Key_Icircumflex = 206,
  Key_Idiaeresis = 207, Key_Igrave = 204, Key_Insert = 16777222, Key_J = 74,
  Key_K = 75, Key_Kana_Lock = 16781613, Key_Kana_Shift = 16781614, Key_Kanji = 16781601,
  Key_Katakana = 16781606, Key_KeyboardBrightnessDown = 16777398, Key_KeyboardBrightnessUp = 16777397, Key_KeyboardLightOnOff = 16777396,
  Key_L = 76, Key_LastNumberRedial = 17825801, Key_Launch0 = 16777378, Key_Launch1 = 16777379,
  Key_Launch2 = 16777380, Key_Launch3 = 16777381, Key_Launch4 = 16777382, Key_Launch5 = 16777383,
  Key_Launch6 = 16777384, Key_Launch7 = 16777385, Key_Launch8 = 16777386, Key_Launch9 = 16777387,
  Key_LaunchA = 16777388, Key_LaunchB = 16777389, Key_LaunchC = 16777390, Key_LaunchD = 16777391,
  Key_LaunchE = 16777392, Key_LaunchF = 16777393, Key_LaunchG = 16777486, Key_LaunchH = 16777487,
  Key_LaunchMail = 16777376, Key_LaunchMedia = 16777377, Key_Left = 16777234, Key_Less = 60,
  Key_LightBulb = 16777405, Key_LogOff = 16777433, Key_M = 77, Key_MailForward = 16777467,
  Key_Market = 16777434, Key_Massyo = 16781612, Key_MediaLast = 16842751, Key_MediaNext = 16777347,
  Key_MediaPause = 16777349, Key_MediaPlay = 16777344, Key_MediaPrevious = 16777346, Key_MediaRecord = 16777348,
  Key_MediaStop = 16777345, Key_MediaTogglePlayPause = 16777350, Key_Meeting = 16777435, Key_Memo = 16777404,
  Key_Menu = 16777301, Key_MenuKB = 16777436, Key_MenuPB = 16777437, Key_Messenger = 16777465,
  Key_Meta = 16777250, Key_Minus = 45, Key_Mode_switch = 16781694, Key_MonBrightnessDown = 16777395,
  Key_MonBrightnessUp = 16777394, Key_Muhenkan = 16781602, Key_Multi_key = 16781600, Key_MultipleCandidate = 16781629,
  Key_Music = 16777469, Key_MySites = 16777438, Key_N = 78, Key_News = 16777439,
  Key_No = 16842754, Key_Ntilde = 209, Key_NumLock = 16777253, Key_NumberSign = 35,
  Key_O = 79, Key_Oacute = 211, Key_Ocircumflex = 212, Key_Odiaeresis = 214,
  Key_OfficeHome = 16777440, Key_Ograve = 210, Key_Ooblique = 216, Key_OpenUrl = 16777364,
  Key_Option = 16777441, Key_Otilde = 213, Key_P = 80, Key_PageDown = 16777239,
  Key_PageUp = 16777238, Key_ParenLeft = 40, Key_ParenRight = 41, Key_Paste = 16777442,
  Key_Pause = 16777224, Key_Percent = 37, Key_Period = 46, Key_Phone = 16777443,
  Key_Pictures = 16777468, Key_Play = 16908293, Key_Plus = 43, Key_PowerDown = 16777483,
  Key_PowerOff = 16777399, Key_PreviousCandidate = 16781630, Key_Print = 16777225, Key_Printer = 16908290,
  Key_Q = 81, Key_Question = 63, Key_QuoteDbl = 34, Key_QuoteLeft = 96,
  Key_R = 82, Key_Refresh = 16777316, Key_Reload = 16777446, Key_Reply = 16777445,
  Key_Return = 16777220, Key_Right = 16777236, Key_Romaji = 16781604, Key_RotateWindows = 16777447,
  Key_RotationKB = 16777449, Key_RotationPB = 16777448, Key_S = 83, Key_Save = 16777450,
  Key_ScreenSaver = 16777402, Key_ScrollLock = 16777254, Key_Search = 16777362, Key_Select = 16842752,
  Key_Semicolon = 59, Key_Send = 16777451, Key_Shift = 16777248, Key_Shop = 16777406,
  Key_SingleCandidate = 16781628, Key_Slash = 47, Key_Sleep = 16908292, Key_Space = 32,
  Key_Spell = 16777452, Key_SplitScreen = 16777453, Key_Standby = 16777363, Key_Stop = 16777315,
  Key_Subtitle = 16777477, Key_Super_L = 16777299, Key_Super_R = 16777300, Key_Support = 16777454,
  Key_Suspend = 16777484, Key_SysReq = 16777226, Key_T = 84, Key_THORN = 222,
  Key_Tab = 16777217, Key_TaskPane = 16777455, Key_Terminal = 16777456, Key_Time = 16777479,
  Key_ToDoList = 16777420, Key_ToggleCallHangup = 17825799, Key_Tools = 16777457, Key_TopMenu = 16777482,
  Key_Touroku = 16781611, Key_Travel = 16777458, Key_TrebleDown = 16777335, Key_TrebleUp = 16777334,
  Key_U = 85, Key_UWB = 16777473, Key_Uacute = 218, Key_Ucircumflex = 219,
  Key_Udiaeresis = 220, Key_Ugrave = 217, Key_Underscore = 95, Key_Up = 16777235,
  Key_V = 86, Key_Video = 16777459, Key_View = 16777481, Key_VoiceDial = 17825800,
  Key_VolumeDown = 16777328, Key_VolumeMute = 16777329, Key_VolumeUp = 16777330, Key_W = 87,
  Key_WLAN = 16777472, Key_WWW = 16777403, Key_WakeUp = 16777400, Key_WebCam = 16777466,
  Key_Word = 16777460, Key_X = 88, Key_Xfer = 16777461, Key_Y = 89,
  Key_Yacute = 221, Key_Yes = 16842753, Key_Z = 90, Key_Zenkaku = 16781608,
  Key_Zenkaku_Hankaku = 16781610, Key_Zoom = 16908294, Key_ZoomIn = 16777462, Key_ZoomOut = 16777463,
  Key_acute = 180, Key_brokenbar = 166, Key_cedilla = 184, Key_cent = 162,
  Key_copyright = 169, Key_currency = 164, Key_degree = 176, Key_diaeresis = 168,
  Key_division = 247, Key_exclamdown = 161, Key_guillemotleft = 171, Key_guillemotright = 187,
  Key_hyphen = 173, Key_iTouch = 16777432, Key_macron = 175, Key_masculine = 186,
  Key_mu = 181, Key_multiply = 215, Key_nobreakspace = 160, Key_notsign = 172,
  Key_onehalf = 189, Key_onequarter = 188, Key_onesuperior = 185, Key_ordfeminine = 170,
  Key_paragraph = 182, Key_periodcentered = 183, Key_plusminus = 177, Key_questiondown = 191,
  Key_registered = 174, Key_section = 167, Key_ssharp = 223, Key_sterling = 163,
  Key_threequarters = 190, Key_threesuperior = 179, Key_twosuperior = 178, Key_unknown = 33554431,
  Key_ydiaeresis = 255, Key_yen = 165
}
  More...
 
enum  KeyboardModifier {
  AltModifier = 134217728, ControlModifier = 67108864, GroupSwitchModifier = 1073741824, KeyboardModifierMask = -33554432,
  KeypadModifier = 536870912, MetaModifier = 268435456, NoModifier = 0, ShiftModifier = 33554432
}
  More...
 
enum  LayoutDirection { LayoutDirectionAuto = 2, LeftToRight = 0, RightToLeft = 1 }
  More...
 
enum  MaskMode { MaskInColor = 0, MaskOutColor = 1 }
  More...
 
enum  MatchFlag {
  MatchCaseSensitive = 16, MatchContains = 1, MatchEndsWith = 3, MatchExactly = 0,
  MatchFixedString = 8, MatchRecursive = 64, MatchRegExp = 4, MatchStartsWith = 2,
  MatchWildcard = 5, MatchWrap = 32
}
  More...
 
enum  Modifier {
  ALT = 134217728, CTRL = 67108864, META = 268435456, MODIFIER_MASK = -33554432,
  SHIFT = 33554432, UNICODE_ACCEL = 0
}
  More...
 
enum  MouseButton {
  LeftButton = 1, MidButton = 4, MiddleButton = 4, MouseButtonMask = 255,
  NoButton = 0, RightButton = 2, XButton1 = 8, XButton2 = 16
}
  More...
 
enum  NavigationMode {
  NavigationModeCursorAuto = 3, NavigationModeCursorForceVisible = 4, NavigationModeKeypadDirectional = 2, NavigationModeKeypadTabOrder = 1,
  NavigationModeNone = 0
}
  More...
 
enum  Orientation { Horizontal = 1, Vertical = 2 }
  More...
 
enum  PenCapStyle { FlatCap = 0, MPenCapStyle = 48, RoundCap = 32, SquareCap = 16 }
  More...
 
enum  PenJoinStyle {
  BevelJoin = 64, MPenJoinStyle = 448, MiterJoin = 0, RoundJoin = 128,
  SvgMiterJoin = 256
}
  More...
 
enum  PenStyle {
  CustomDashLine = 6, DashDotDotLine = 5, DashDotLine = 4, DashLine = 2,
  DotLine = 3, MPenStyle = 15, NoPen = 0, SolidLine = 1
}
  More...
 
enum  ScrollBarPolicy { ScrollBarAlwaysOff = 1, ScrollBarAlwaysOn = 2, ScrollBarAsNeeded = 0 }
  More...
 
enum  ShortcutContext { ApplicationShortcut = 2, WidgetShortcut = 0, WidgetWithChildrenShortcut = 3, WindowShortcut = 1 }
  More...
 
enum  SizeHint {
  MaximumSize = 2, MinimumDescent = 3, MinimumSize = 0, NSizeHints = 4,
  PreferredSize = 1
}
  More...
 
enum  SizeMode { AbsoluteSize = 0, RelativeSize = 1 }
  More...
 
enum  SortOrder { AscendingOrder = 0, DescendingOrder = 1 }
  More...
 
enum  TextElideMode { ElideLeft = 0, ElideMiddle = 2, ElideNone = 3, ElideRight = 1 }
  More...
 
enum  TextFlag {
  TextBypassShaping = 1048576, TextDontClip = 512, TextDontPrint = 16384, TextExpandTabs = 1024,
  TextForceLeftToRight = 131072, TextForceRightToLeft = 262144, TextHideMnemonic = 32768, TextIncludeTrailingSpaces = 134217728,
  TextJustificationForced = 65536, TextLongestVariant = 524288, TextShowMnemonic = 2048, TextSingleLine = 256,
  TextWordWrap = 4096, TextWrapAnywhere = 8192
}
  More...
 
enum  TextFormat { AutoText = 2, LogText = 3, PlainText = 0, RichText = 1 }
  More...
 
enum  TextInteractionFlag {
  LinksAccessibleByKeyboard = 8, LinksAccessibleByMouse = 4, NoTextInteraction = 0, TextBrowserInteraction = 13,
  TextEditable = 16, TextEditorInteraction = 19, TextSelectableByKeyboard = 2, TextSelectableByMouse = 1
}
  More...
 
enum  TileRule { RepeatTile = 1, RoundTile = 2, StretchTile = 0 }
  More...
 
enum  TimeSpec { LocalTime = 0, OffsetFromUTC = 2, UTC = 1 }
 
enum  ToolBarArea {
  AllToolBarAreas = 15, BottomToolBarArea = 8, LeftToolBarArea = 1, NoToolBarArea = 0,
  RightToolBarArea = 2, ToolBarArea_Mask = 15, TopToolBarArea = 4
}
 
enum  ToolBarAreaSizes { NToolBarAreas = 4 }
 
enum  ToolButtonStyle {
  ToolButtonFollowStyle = 4, ToolButtonIconOnly = 0, ToolButtonTextBesideIcon = 2, ToolButtonTextOnly = 1,
  ToolButtonTextUnderIcon = 3
}
  More...
 
enum  TouchPointState {
  TouchPointMoved = 2, TouchPointPressed = 1, TouchPointPrimary = 16, TouchPointReleased = 8,
  TouchPointStateMask = 15, TouchPointStationary = 4
}
  More...
 
enum  TransformationMode { FastTransformation = 0, SmoothTransformation = 1 }
  More...
 
enum  UIEffect {
  UI_AnimateCombo = 3, UI_AnimateMenu = 1, UI_AnimateToolBox = 6, UI_AnimateTooltip = 4,
  UI_FadeMenu = 2, UI_FadeTooltip = 5, UI_General = 0
}
  More...
 
enum  WidgetAttribute {
  WA_AcceptDrops = 78, WA_AcceptTouchEvents = 121, WA_AlwaysShowToolTips = 84, WA_AttributeCount = 135,
  WA_AutoOrientation = 130, WA_CanHostQMdiSubWindowTitleBar = 95, WA_ContentsPropagated = 3, WA_CustomWhatsThis = 47,
  WA_DeleteOnClose = 55, WA_Disabled = 0, WA_DontCreateNativeAncestors = 101, WA_DontShowOnScreen = 103,
  WA_DropSiteRegistered = 79, WA_ForceAcceptDrops = 79, WA_ForceDisabled = 32, WA_ForceUpdatesDisabled = 59,
  WA_GrabbedShortcut = 50, WA_GroupLeader = 72, WA_Hover = 74, WA_InputMethodEnabled = 14,
  WA_InputMethodTransparent = 75, WA_InvalidSize = 45, WA_KeyCompression = 33, WA_KeyboardFocusChange = 77,
  WA_LaidOut = 7, WA_LayoutOnEntireRect = 48, WA_LayoutUsesWidgetRect = 92, WA_LockLandscapeOrientation = 129,
  WA_LockPortraitOrientation = 128, WA_MSWindowsUseDirect3D = 94, WA_MacAlwaysShowToolWindow = 96, WA_MacBrushedMetal = 46,
  WA_MacFrameworkScaled = 117, WA_MacMetalStyle = 46, WA_MacMiniSize = 91, WA_MacNoClickThrough = 12,
  WA_MacNoShadow = 134, WA_MacNormalSize = 89, WA_MacOpaqueSizeGrip = 85, WA_MacShowFocusRect = 88,
  WA_MacSmallSize = 90, WA_MacVariableSize = 102, WA_Mapped = 11, WA_MergeSoftkeys = 124,
  WA_MergeSoftkeysRecursively = 125, WA_MouseNoMask = 71, WA_MouseTracking = 2, WA_Moved = 43,
  WA_NativeWindow = 100, WA_NoBackground = 4, WA_NoChildEventsForParent = 58, WA_NoChildEventsFromChildren = 39,
  WA_NoMousePropagation = 73, WA_NoMouseReplay = 54, WA_NoSystemBackground = 9, WA_NoX11EventCompression = 81,
  WA_OpaquePaintEvent = 4, WA_OutsideWSRange = 49, WA_PaintOnScreen = 8, WA_PaintOutsidePaintEvent = 13,
  WA_PaintUnclipped = 52, WA_PendingMoveEvent = 34, WA_PendingResizeEvent = 35, WA_PendingUpdate = 44,
  WA_QuitOnClose = 76, WA_Resized = 42, WA_RightToLeft = 56, WA_SetCursor = 38,
  WA_SetFont = 37, WA_SetLayoutDirection = 57, WA_SetLocale = 87, WA_SetPalette = 36,
  WA_SetStyle = 86, WA_SetWindowIcon = 53, WA_SetWindowModality = 118, WA_ShowModal = 70,
  WA_ShowWithoutActivating = 98, WA_StaticContents = 5, WA_StyleSheet = 97, WA_StyledBackground = 93,
  WA_SymbianNoSystemRotation = 133, WA_TintedBackground = 82, WA_TouchPadAcceptSingleTouchEvents = 123, WA_TranslucentBackground = 120,
  WA_TransparentForMouseEvents = 51, WA_UnderMouse = 1, WA_UpdatesDisabled = 10, WA_WState_AcceptedTouchBeginEvent = 122,
  WA_WState_CompressKeys = 61, WA_WState_ConfigPending = 64, WA_WState_Created = 60, WA_WState_DND = 67,
  WA_WState_ExplicitShowHide = 69, WA_WState_Hidden = 16, WA_WState_InPaintEvent = 62, WA_WState_OwnSizePolicy = 68,
  WA_WState_Polished = 66, WA_WState_Reparented = 63, WA_WState_Visible = 15, WA_WState_WindowOpacitySet = 119,
  WA_WindowModified = 41, WA_WindowPropagation = 80, WA_X11BypassTransientForHint = 99, WA_X11DoNotAcceptFocus = 132,
  WA_X11NetWmWindowTypeCombo = 115, WA_X11NetWmWindowTypeDND = 116, WA_X11NetWmWindowTypeDesktop = 104, WA_X11NetWmWindowTypeDialog = 110,
  WA_X11NetWmWindowTypeDock = 105, WA_X11NetWmWindowTypeDropDownMenu = 111, WA_X11NetWmWindowTypeMenu = 107, WA_X11NetWmWindowTypeNotification = 114,
  WA_X11NetWmWindowTypePopupMenu = 112, WA_X11NetWmWindowTypeSplash = 109, WA_X11NetWmWindowTypeToolBar = 106, WA_X11NetWmWindowTypeToolTip = 113,
  WA_X11NetWmWindowTypeUtility = 108, WA_X11OpenGLOverlay = 83
}
  More...
 
enum  WindowFrameSection {
  BottomLeftSection = 8, BottomRightSection = 6, BottomSection = 7, LeftSection = 1,
  NoSection = 0, RightSection = 5, TitleBarArea = 9, TopLeftSection = 2,
  TopRightSection = 4, TopSection = 3
}
  More...
 
enum  WindowModality { ApplicationModal = 2, NonModal = 0, WindowModal = 1 }
  More...
 
enum  WindowState {
  WindowActive = 8, WindowFullScreen = 4, WindowMaximized = 2, WindowMinimized = 1,
  WindowNoState = 0
}
  More...
 
enum  WindowType {
  BypassGraphicsProxyWidget = 536870912, CustomizeWindowHint = 33554432, Desktop = 17, Dialog = 3,
  Drawer = 7, FramelessWindowHint = 2048, MSWindowsFixedSizeDialogHint = 256, MSWindowsOwnDC = 512,
  MacWindowToolBarButtonHint = 268435456, Popup = 9, Sheet = 5, SplashScreen = 15,
  SubWindow = 18, Tool = 11, ToolTip = 13, Widget = 0,
  Window = 1, WindowCancelButtonHint = 1048576, WindowCloseButtonHint = 134217728, WindowContextHelpButtonHint = 65536,
  WindowMaximizeButtonHint = 32768, WindowMinMaxButtonsHint = 49152, WindowMinimizeButtonHint = 16384, WindowOkButtonHint = 524288,
  WindowShadeButtonHint = 131072, WindowSoftkeysRespondHint = -2147483648, WindowSoftkeysVisibleHint = 1073741824, WindowStaysOnBottomHint = 67108864,
  WindowStaysOnTopHint = 262144, WindowSystemMenuHint = 8192, WindowTitleHint = 4096, WindowType_Mask = 255,
  X11BypassWindowManagerHint = 1024
}
  More...
 
- Protected Attributes inherited from QtCore.QObject
object Q_EMIT = null
 
SmokeInvocation interceptor
 
readonly List< QEventHandler > eventFilters = new List<QEventHandler>()
 

Detailed Description

The QGraphicsWidget class is the base class for all widget items in a QGraphicsScene.

QGraphicsWidget is an extended base item that provides extra functionality over QGraphicsItem. It is similar to QWidget in many ways:

Provides a palette, a font and a style().

Has a defined geometry().

Supports layouts with setLayout() and layout().

Supports shortcuts and actions with grabShortcut() and insertAction()

Unlike QGraphicsItem, QGraphicsWidget is not an abstract class; you can create instances of a QGraphicsWidget without having to subclass it. This approach is useful for widgets that only serve the purpose of organizing child widgets into a layout.

QGraphicsWidget can be used as a base item for your own custom item if you require advanced input focus handling, e.g., tab focus and activation, or layouts.

Since QGraphicsWidget resembles QWidget and has similar API, it is easier to port a widget from QWidget to QGraphicsWidget, instead of QGraphicsItem.

Note: QWidget-based widgets can be directly embedded into a QGraphicsScene using QGraphicsProxyWidget.

Noticeable differences between QGraphicsWidget and QWidget are:

QGraphicsWidgetQWidget

Coordinates and geometry are defined with qreals (doubles or floats, depending on the platform). QWidget uses integer geometry (QPoint, QRect).

The widget is already visible by default; you do not have to call show() to display the widget. QWidget is hidden by default until you call show().

A subset of widget attributes are supported. All widget attributes are supported.

A top-level item's style defaults to QGraphicsScene::style A top-level widget's style defaults to QApplication::style

Graphics View provides a custom drag and drop framework, different from QWidget. Standard drag and drop framework.

Widget items do not support modality. Full modality support.

QGraphicsWidget supports a subset of Qt's widget attributes, (Qt::WidgetAttribute), as shown in the table below. Any attributes not listed in this table are unsupported, or otherwise unused.

Widget AttributeUsage

Qt::WA_SetLayoutDirection Set by setLayoutDirection(), cleared by unsetLayoutDirection(). You can test this attribute to check if the widget has been explicitly assigned a layoutDirection. If the attribute is not set, the layoutDirection() is inherited.

Qt::WA_RightToLeft Toggled by setLayoutDirection(). Inherited from the parent/scene. If set, the widget's layout will order horizontally arranged widgets from right to left.

Qt::WA_SetStyle Set and cleared by setStyle(). If this attribute is set, the widget has been explicitly assigned a style. If it is unset, the widget will use the scene's or the application's style.

Qt::WA_Resized Set by setGeometry() and resize().

Qt::WA_SetPalette Set by setPalette().

Qt::WA_SetFont Set by setFont().

Qt::WA_WindowPropagation Enables propagation to window widgets.

Although QGraphicsWidget inherits from both QObject and QGraphicsItem, you should use the functions provided by QGraphicsItem, not QObject, to manage the relationships between parent and child items. These functions control the stacking order of items as well as their ownership.

Note: The QObject::parent() should always return 0 for QGraphicsWidgets, but this policy is not strictly defined.

See also QGraphicsProxyWidget, QGraphicsItem, and Widgets and Layouts.

Constructor & Destructor Documentation

QtGui.QGraphicsWidget.QGraphicsWidget ( System.Type  dummy)
protected
QtGui.QGraphicsWidget.QGraphicsWidget ( IQGraphicsItem  parent = null,
Qt.WindowType  wFlags = 0 
)

Constructs a QGraphicsWidget instance. The optional parent argument is passed to QGraphicsItem's constructor. The optional wFlags argument specifies the widget's window flags (e.g., whether the widget should be a window, a tool, a popup, etc).

Member Function Documentation

new System.Collections.Generic.List<QAction> QtGui.QGraphicsWidget.Actions ( )

Returns the (possibly empty) list of this widget's actions.

This function was introduced in Qt 4.5.

See also insertAction(), removeAction(), QWidget::actions(), QAction::associatedWidgets(), and QAction::associatedGraphicsWidgets().

new void QtGui.QGraphicsWidget.AddAction ( QAction  action)

Appends the action action to this widget's list of actions.

All QGraphicsWidgets have a list of QActions, however they can be represented graphically in many different ways. The default use of the QAction list (as returned by actions()) is to create a context QMenu.

A QGraphicsWidget should only have one of each action and adding an action it already has will not cause the same action to be in the widget twice.

This function was introduced in Qt 4.5.

See also removeAction(), insertAction(), actions(), and QWidget::addAction().

new void QtGui.QGraphicsWidget.AddActions ( System.Collections.Generic.List< QAction actions)

Appends the actions actions to this widget's list of actions.

This function was introduced in Qt 4.5.

See also removeAction(), QMenu, addAction(), and QWidget::addActions().

new void QtGui.QGraphicsWidget.AdjustSize ( )

Adjusts the size of the widget to its effective preferred size hint.

This function is called implicitly when the item is shown for the first time.

See also effectiveSizeHint() and Qt::MinimumSize.

override QRectF QtGui.QGraphicsWidget.BoundingRect ( )
virtual

Reimplemented from QGraphicsItem::boundingRect().

Implements QtGui.QGraphicsObject.

new System.Collections.Generic.List<QObject> QtGui.QGraphicsWidget.Children ( )
new bool QtGui.QGraphicsWidget.Close ( )

Call this function to close the widget.

Returns true if the widget was closed; otherwise returns false. This slot will first send a QCloseEvent to the widget, which may or may not accept the event. If the event was ignored, nothing happens. If the event was accepted, it will hide() the widget.

If the widget has the Qt::WA_DeleteOnClose attribute set it will be deleted.

new QRectF QtGui.QGraphicsWidget.ContentsRect ( )
override void QtGui.QGraphicsWidget.CreateProxy ( )
virtual

Reimplemented from QtGui.QGraphicsObject.

new void QtGui.QGraphicsWidget.Dispose ( )
new QSizeF QtGui.QGraphicsWidget.EffectiveSizeHint ( Qt.SizeHint  which)
new QSizeF QtGui.QGraphicsWidget.EffectiveSizeHint ( Qt.SizeHint  which,
QSizeF  constraint 
)
virtual bool QtGui.QGraphicsWidget.FocusNextPrevChild ( bool  next)
protectedvirtual

Finds a new widget to give the keyboard focus to, as appropriate for Tab and Shift+Tab, and returns true if it can find a new widget; returns false otherwise. If next is true, this function searches forward; if next is false, it searches backward.

Sometimes, you will want to reimplement this function to provide special focus handling for your widget and its subwidgets. For example, a web browser might reimplement it to move its current active link forward or backward, and call the base implementation only when it reaches the last or first link on the page.

Child widgets call focusNextPrevChild() on their parent widgets, but only the window that contains the child widgets decides where to redirect focus. By reimplementing this function for an object, you gain control of focus traversal for all child widgets.

See also focusPolicy().

Reimplemented in QtGui.QGraphicsProxyWidget.

new QGraphicsWidget QtGui.QGraphicsWidget.FocusWidget ( )

If this widget, a child or descendant of this widget currently has input focus, this function will return a pointer to that widget. If no descendant widget has input focus, 0 is returned.

See also QGraphicsItem::focusItem() and QWidget::focusWidget().

virtual void QtGui.QGraphicsWidget.GetContentsMargins ( ref double  left,
ref double  top,
ref double  right,
ref double  bottom 
)
virtual

Reimplemented from QGraphicsLayoutItem::getContentsMargins().

Gets the widget's contents margins. The margins are stored in left, top, right and bottom, as pointers to qreals. Each argument can be omitted by passing 0.

See also setContentsMargins().

new void QtGui.QGraphicsWidget.GetWindowFrameMargins ( ref double  left,
ref double  top,
ref double  right,
ref double  bottom 
)

Gets the widget's window frame margins. The margins are stored in left, top, right and bottom as pointers to qreals. Each argument can be omitted by passing 0.

See also setWindowFrameMargins() and windowFrameRect().

new int QtGui.QGraphicsWidget.GrabShortcut ( QKeySequence  sequence,
Qt.ShortcutContext  context = Qt.ShortcutContext.WindowShortcut 
)

Adds a shortcut to Qt's shortcut system that watches for the given key sequence in the given context. If the context is Qt::ApplicationShortcut, the shortcut applies to the application as a whole. Otherwise, it is either local to this widget, Qt::WidgetShortcut, or to the window itself, Qt::WindowShortcut. For widgets that are not part of a window (i.e., top-level widgets and their children), Qt::WindowShortcut shortcuts apply to the scene.

If the same key sequence has been grabbed by several widgets, when the key sequence occurs a QEvent::Shortcut event is sent to all the widgets to which it applies in a non-deterministic order, but with the ``ambiguous'' flag set to true.

Warning: You should not normally need to use this function; instead create QActions with the shortcut key sequences you require (if you also want equivalent menu options and toolbar buttons), or create QShortcuts if you just need key sequences. Both QAction and QShortcut handle all the event filtering for you, and provide signals which are triggered when the user triggers the key sequence, so are much easier to use than this low-level function.

This function was introduced in Qt 4.5.

See also releaseShortcut(), setShortcutEnabled(), and QWidget::grabShortcut().

new IQGraphicsItem QtGui.QGraphicsWidget.GraphicsItem ( )
virtual void QtGui.QGraphicsWidget.InitStyleOption ( QStyleOption  option)
protectedvirtual

Populates a style option object for this widget based on its current state, and stores the output in option. The default implementation populates option with the following properties.

Style Option PropertyValue

state & QStyle::State_Enabled Corresponds to QGraphicsItem::isEnabled().

state & QStyle::State_HasFocus Corresponds to QGraphicsItem::hasFocus().

state & QStyle::State_MouseOver Corresponds to QGraphicsItem::isUnderMouse().

direction Corresponds to QGraphicsWidget::layoutDirection().

rect Corresponds to QGraphicsWidget::rect().toRect().

palette Corresponds to QGraphicsWidget::palette().

fontMetrics Corresponds to QFontMetrics(QGraphicsWidget::font()).

Subclasses of QGraphicsWidget should call the base implementation, and then test the type of option using qstyleoption_cast<>() or test QStyleOption::Type before storing widget-specific options.

For example:

void MyGroupBoxWidget::initStyleOption(QStyleOption *option) const

{

QGraphicsWidget::initStyleOption(option);

if (QStyleOptionGroupBox *box = qstyleoption_cast<QStyleOptionGroupBox *>(option)) {

// Add group box specific state.

box->flat = isFlat();

...

}

}

See also QStyleOption::initFrom().

new void QtGui.QGraphicsWidget.InsertAction ( QAction  before,
QAction  action 
)

Inserts the action action to this widget's list of actions, before the action before. It appends the action if before is 0 or before is not a valid action for this widget.

A QGraphicsWidget should only have one of each action.

This function was introduced in Qt 4.5.

See also removeAction(), addAction(), QMenu, actions(), and QWidget::insertActions().

new void QtGui.QGraphicsWidget.InsertActions ( QAction  before,
System.Collections.Generic.List< QAction actions 
)

Inserts the actions actions to this widget's list of actions, before the action before. It appends the action if before is 0 or before is not a valid action for this widget.

A QGraphicsWidget can have at most one of each action.

This function was introduced in Qt 4.5.

See also removeAction(), QMenu, insertAction(), and QWidget::insertActions().

new bool QtGui.QGraphicsWidget.IsActiveWindow ( )

Returns true if this widget's window is in the active window, or if the widget does not have a window but is in an active scene (i.e., a scene that currently has focus).

The active window is the window that either contains a child widget that currently has input focus, or that itself has input focus.

See also QGraphicsScene::activeWindow(), QGraphicsScene::setActiveWindow(), and isActive().

new bool QtGui.QGraphicsWidget.IsLayout ( )
override object QtGui.QGraphicsWidget.ItemChange ( QGraphicsItem.GraphicsItemChange  change,
object  value 
)
protectedvirtual

Reimplemented from QGraphicsItem::itemChange().

QGraphicsWidget uses the base implementation of this function to catch and deliver events related to state changes in the item. Because of this, it is very important that subclasses call the base implementation.

change specifies the type of change, and value is the new value.

For example, QGraphicsWidget uses ItemVisibleChange to deliver Show and Hide events, ItemPositionHasChanged to deliver Move events, and ItemParentChange both to deliver ParentChange events, and for managing the focus chain.

QGraphicsWidget enables the ItemSendsGeometryChanges flag by default in order to track position changes.

See also QGraphicsItem::itemChange().

Reimplemented from QtGui.QGraphicsObject.

virtual void QtGui.QGraphicsWidget.OnChangeEvent ( QEvent event)
protectedvirtual

This event handler can be reimplemented to handle state changes.

The state being changed in this event can be retrieved through event.

Change events include: QEvent::ActivationChange, QEvent::EnabledChange, QEvent::FontChange, QEvent::StyleChange, QEvent::PaletteChange, QEvent::ParentChange, QEvent::LayoutDirectionChange, and QEvent::ContentsRectChange.

virtual void QtGui.QGraphicsWidget.OnCloseEvent ( QCloseEvent event)
protectedvirtual

This event handler, for event, can be reimplemented in a subclass to receive widget close events. The default implementation accepts the event.

See also close() and QCloseEvent.

override bool QtGui.QGraphicsWidget.OnEvent ( QEvent event)

Reimplemented from QObject::event().

Handles the event. QGraphicsWidget handles the following events:

Polish Delivered to the widget some time after it has been shown.

GraphicsSceneMove Delivered to the widget after its local position has changed.

GraphicsSceneResize Delivered to the widget after its size has changed.

Show Delivered to the widget before it has been shown.

Hide Delivered to the widget after it has been hidden.

PaletteChange Delivered to the widget after its palette has changed.

FontChange Delivered to the widget after its font has changed.

EnabledChange Delivered to the widget after its enabled state has changed.

StyleChange Delivered to the widget after its style has changed.

LayoutDirectionChange Delivered to the widget after its layout direction has changed.

ContentsRectChange Delivered to the widget after its contents margins/ contents rect has changed.

override void QtGui.QGraphicsWidget.OnFocusInEvent ( QFocusEvent event)
protectedvirtual

Reimplemented from QGraphicsItem::focusInEvent().

Reimplemented from QtGui.QGraphicsObject.

override void QtGui.QGraphicsWidget.OnFocusOutEvent ( QFocusEvent event)
protectedvirtual

Reimplemented from QGraphicsItem::focusOutEvent().

Reimplemented from QtGui.QGraphicsObject.

new void QtGui.QGraphicsWidget.OnGeometryChanged ( )
protected

This signal gets emitted whenever the geometry is changed in setGeometry().

virtual void QtGui.QGraphicsWidget.OnGrabKeyboardEvent ( QEvent event)
protectedvirtual

This event handler, for event, can be reimplemented in a subclass to receive notifications for QEvent::GrabKeyboard events.

See also grabKeyboard() and grabMouse().

virtual void QtGui.QGraphicsWidget.OnGrabMouseEvent ( QEvent event)
protectedvirtual

This event handler, for event, can be reimplemented in a subclass to receive notifications for QEvent::GrabMouse events.

See also grabMouse() and grabKeyboard().

Reimplemented in QtGui.QGraphicsProxyWidget.

virtual void QtGui.QGraphicsWidget.OnHideEvent ( QHideEvent event)
protectedvirtual

This event handler, for Hide events, is delivered after the widget has been hidden, for example, setVisible(false) has been called for the widget or one of its ancestors when the widget was previously shown.

You can reimplement this event handler to detect when your widget is hidden. Calling QEvent::accept() or QEvent::ignore() on event has no effect.

See also showEvent(), QWidget::hideEvent(), and ItemVisibleChange.

Reimplemented in QtGui.QGraphicsProxyWidget.

override void QtGui.QGraphicsWidget.OnHoverLeaveEvent ( QGraphicsSceneHoverEvent event)
protectedvirtual

Reimplemented from QGraphicsItem::hoverLeaveEvent().

Reimplemented from QtGui.QGraphicsObject.

override void QtGui.QGraphicsWidget.OnHoverMoveEvent ( QGraphicsSceneHoverEvent event)
protectedvirtual

Reimplemented from QGraphicsItem::hoverMoveEvent().

Reimplemented from QtGui.QGraphicsObject.

new void QtGui.QGraphicsWidget.OnLayoutChanged ( )
protected
virtual void QtGui.QGraphicsWidget.OnMoveEvent ( QGraphicsSceneMoveEvent event)
protectedvirtual

This event handler, for GraphicsSceneMove events, is delivered after the widget has moved (e.g., its local position has changed).

This event is only delivered when the item is moved locally. Calling setTransform() or moving any of the item's ancestors does not affect the item's local position.

You can reimplement this event handler to detect when your widget has moved. Calling QEvent::accept() or QEvent::ignore() on event has no effect.

See also ItemPositionChange and ItemPositionHasChanged.

virtual void QtGui.QGraphicsWidget.OnPolishEvent ( )
protectedvirtual

This event is delivered to the item by the scene at some point after it has been constructed, but before it is shown or otherwise accessed through the scene. You can use this event handler to do last-minute initializations of the widget which require the item to be fully constructed.

The base implementation does nothing.

virtual void QtGui.QGraphicsWidget.OnResizeEvent ( QGraphicsSceneResizeEvent event)
protectedvirtual

This event handler, for GraphicsSceneResize events, is delivered after the widget has been resized (i.e., its local size has changed). event contains both the old and the new size.

This event is only delivered when the widget is resized locally; calling setTransform() on the widget or any of its ancestors or view, does not affect the widget's local size.

You can reimplement this event handler to detect when your widget has been resized. Calling QEvent::accept() or QEvent::ignore() on event has no effect.

See also geometry() and setGeometry().

Reimplemented in QtGui.QGraphicsProxyWidget.

override bool QtGui.QGraphicsWidget.OnSceneEvent ( QEvent event)
protectedvirtual

Reimplemented from QGraphicsItem::sceneEvent().

QGraphicsWidget's implementation of sceneEvent() simply passes event to QGraphicsWidget::event(). You can handle all events for your widget in event() or in any of the convenience functions; you should not have to reimplement this function in a subclass of QGraphicsWidget.

See also QGraphicsItem::sceneEvent().

Reimplemented from QtGui.QGraphicsObject.

virtual void QtGui.QGraphicsWidget.OnShowEvent ( QShowEvent event)
protectedvirtual

This event handler, for Show events, is delivered before the widget has been shown, for example, setVisible(true) has been called for the widget or one of its ancestors when the widget was previously hidden.

You can reimplement this event handler to detect when your widget is shown. Calling QEvent::accept() or QEvent::ignore() on event has no effect.

See also hideEvent(), QWidget::showEvent(), and ItemVisibleChange.

Reimplemented in QtGui.QGraphicsProxyWidget.

virtual void QtGui.QGraphicsWidget.OnUngrabKeyboardEvent ( QEvent event)
protectedvirtual

This event handler, for event, can be reimplemented in a subclass to receive notifications for QEvent::UngrabKeyboard events.

See also ungrabKeyboard() and ungrabMouse().

virtual void QtGui.QGraphicsWidget.OnUngrabMouseEvent ( QEvent event)
protectedvirtual

This event handler, for event, can be reimplemented in a subclass to receive notifications for QEvent::UngrabMouse events.

See also ungrabMouse() and ungrabKeyboard().

Reimplemented in QtGui.QGraphicsProxyWidget.

virtual bool QtGui.QGraphicsWidget.OnWindowFrameEvent ( QEvent  e)
protectedvirtual

This event handler, for event, receives events for the window frame if this widget is a window. Its base implementation provides support for default window frame interaction such as moving, resizing, etc.

You can reimplement this handler in a subclass of QGraphicsWidget to provide your own custom window frame interaction support.

Returns true if event has been recognized and processed; otherwise, returns false.

See also event().

new bool QtGui.QGraphicsWidget.OwnedByLayout ( )
override void QtGui.QGraphicsWidget.Paint ( QPainter  painter,
QStyleOptionGraphicsItem  option,
QWidget  widget = null 
)
virtual

Reimplemented from QGraphicsItem::paint().

Implements QtGui.QGraphicsObject.

virtual void QtGui.QGraphicsWidget.PaintWindowFrame ( QPainter  painter,
QStyleOptionGraphicsItem  option,
QWidget  widget = null 
)
virtual

This virtual function is called by QGraphicsScene to draw the window frame for windows using painter, option, and widget, in local coordinates. The base implementation uses the current style to render the frame and title bar.

You can reimplement this function in a subclass of QGraphicsWidget to provide custom rendering of the widget's window frame.

See also QGraphicsItem::paint().

virtual object QtGui.QGraphicsWidget.PropertyChange ( string  propertyName,
object  value 
)
protectedvirtual
new QRectF QtGui.QGraphicsWidget.Rect ( )

Returns the item's local rect as a QRectF. This function is equivalent to QRectF(QPointF(), size()).

See also setGeometry() and resize().

new void QtGui.QGraphicsWidget.ReleaseShortcut ( int  id)

Removes the shortcut with the given id from Qt's shortcut system. The widget will no longer receive QEvent::Shortcut events for the shortcut's key sequence (unless it has other shortcuts with the same key sequence).

Warning: You should not normally need to use this function since Qt's shortcut system removes shortcuts automatically when their parent widget is destroyed. It is best to use QAction or QShortcut to handle shortcuts, since they are easier to use than this low-level function. Note also that this is an expensive operation.

This function was introduced in Qt 4.5.

See also grabShortcut(), setShortcutEnabled(), and QWidget::releaseShortcut().

new void QtGui.QGraphicsWidget.RemoveAction ( QAction  action)

Removes the action action from this widget's list of actions.

This function was introduced in Qt 4.5.

See also insertAction(), actions(), insertAction(), and QWidget::removeAction().

new void QtGui.QGraphicsWidget.Resize ( double  w,
double  h 
)
new void QtGui.QGraphicsWidget.SetAttribute ( Qt.WidgetAttribute  attribute,
bool  on = true 
)

If on is true, this function enables attribute; otherwise attribute is disabled.

See the class documentation for QGraphicsWidget for a complete list of which attributes are supported, and what they are for.

See also testAttribute() and QWidget::setAttribute().

new void QtGui.QGraphicsWidget.SetContentsMargins ( double  left,
double  top,
double  right,
double  bottom 
)

Sets the widget's contents margins to left, top, right and bottom.

Contents margins are used by the assigned layout to define the placement of subwidgets and layouts. Margins are particularly useful for widgets that constrain subwidgets to only a section of its own geometry. For example, a group box with a layout will place subwidgets inside its frame, but below the title.

Changing a widget's contents margins will always trigger an update(), and any assigned layout will be activated automatically. The widget will then receive a ContentsRectChange event.

See also getContentsMargins() and setGeometry().

new void QtGui.QGraphicsWidget.SetGeometry ( double  x,
double  y,
double  w,
double  h 
)
new void QtGui.QGraphicsWidget.SetGraphicsItem ( IQGraphicsItem  item)
protected
new void QtGui.QGraphicsWidget.SetMaximumSize ( double  w,
double  h 
)
new void QtGui.QGraphicsWidget.SetMinimumSize ( double  w,
double  h 
)
new void QtGui.QGraphicsWidget.SetOwnedByLayout ( bool  ownedByLayout)
protected
new void QtGui.QGraphicsWidget.SetPreferredSize ( double  w,
double  h 
)
new void QtGui.QGraphicsWidget.SetShortcutAutoRepeat ( int  id,
bool  enabled = true 
)

If enabled is true, auto repeat of the shortcut with the given id is enabled; otherwise it is disabled.

This function was introduced in Qt 4.5.

See also grabShortcut(), releaseShortcut(), and QWidget::setShortcutAutoRepeat().

new void QtGui.QGraphicsWidget.SetShortcutEnabled ( int  id,
bool  enabled = true 
)

If enabled is true, the shortcut with the given id is enabled; otherwise the shortcut is disabled.

Warning: You should not normally need to use this function since Qt's shortcut system enables/disables shortcuts automatically as widgets become hidden/visible and gain or lose focus. It is best to use QAction or QShortcut to handle shortcuts, since they are easier to use than this low-level function.

This function was introduced in Qt 4.5.

See also grabShortcut(), releaseShortcut(), and QWidget::setShortcutEnabled().

new void QtGui.QGraphicsWidget.SetSizePolicy ( QSizePolicy.Policy  hPolicy,
QSizePolicy.Policy  vPolicy,
QSizePolicy.ControlType  controlType = QSizePolicy.ControlType.DefaultType 
)
static void QtGui.QGraphicsWidget.SetTabOrder ( QGraphicsWidget  first,
QGraphicsWidget  second 
)
static

Moves the second widget around the ring of focus widgets so that keyboard focus moves from the first widget to the second widget when the Tab key is pressed.

Note that since the tab order of the second widget is changed, you should order a chain like this:

setTabOrder(a, b); // a to b

setTabOrder(b, c); // a to b to c

setTabOrder(c, d); // a to b to c to d

not like this:

// WRONG

setTabOrder(c, d); // c to d

setTabOrder(a, b); // a to b AND c to d

setTabOrder(b, c); // a to b to c, but not c to d

If first is 0, this indicates that second should be the first widget to receive input focus should the scene gain Tab focus (i.e., the user hits Tab so that focus passes into the scene). If second is 0, this indicates that first should be the first widget to gain focus if the scene gained BackTab focus.

By default, tab order is defined implicitly using widget creation order.

See also focusPolicy and Keyboard Focus.

new void QtGui.QGraphicsWidget.SetWindowFlags ( Qt.WindowType  wFlags)
new void QtGui.QGraphicsWidget.SetWindowFrameMargins ( double  left,
double  top,
double  right,
double  bottom 
)

Sets the widget's window frame margins to left, top, right and bottom. The default frame margins are provided by the style, and they depend on the current window flags.

If you would like to draw your own window decoration, you can set your own frame margins to override the default margins.

See also unsetWindowFrameMargins(), getWindowFrameMargins(), and windowFrameRect().

override QPainterPath QtGui.QGraphicsWidget.Shape ( )
virtual

Reimplemented from QGraphicsItem::shape().

Reimplemented from QtGui.QGraphicsObject.

new QSizeF QtGui.QGraphicsWidget.SizeHint ( Qt.SizeHint  which)
protected

Reimplemented from QGraphicsLayoutItem::sizeHint().

virtual QSizeF QtGui.QGraphicsWidget.SizeHint ( Qt.SizeHint  which,
QSizeF  constraint 
)
protectedvirtual

Reimplemented from QGraphicsLayoutItem::sizeHint().

Reimplemented in QtGui.QGraphicsProxyWidget.

new bool QtGui.QGraphicsWidget.TestAttribute ( Qt.WidgetAttribute  attribute)

Returns true if attribute is enabled for this widget; otherwise, returns false.

See also setAttribute().

static string QtGui.QGraphicsWidget.Tr ( string  s,
string  c = null 
)
static
static string QtGui.QGraphicsWidget.Tr ( string  s,
string  c,
int  n 
)
static
static string QtGui.QGraphicsWidget.TrUtf8 ( string  s,
string  c = null 
)
static
static string QtGui.QGraphicsWidget.TrUtf8 ( string  s,
string  c,
int  n 
)
static
override int QtGui.QGraphicsWidget.Type ( )
virtual

Reimplemented from QGraphicsItem::type().

Reimplemented from QtGui.QGraphicsObject.

new void QtGui.QGraphicsWidget.UnsetLayoutDirection ( )
new void QtGui.QGraphicsWidget.UnsetWindowFrameMargins ( )

Resets the window frame margins to the default value, provided by the style.

See also setWindowFrameMargins(), getWindowFrameMargins(), and windowFrameRect().

virtual void QtGui.QGraphicsWidget.UpdateGeometry ( )
virtual

Reimplemented from QGraphicsLayoutItem::updateGeometry().

If this widget is currently managed by a layout, this function notifies the layout that the widget's size hints have changed and the layout may need to resize and reposition the widget accordingly.

Call this function if the widget's sizeHint() has changed.

See also QGraphicsLayout::invalidate().

new Qt.WindowType QtGui.QGraphicsWidget.windowFlags ( )
new QRectF QtGui.QGraphicsWidget.WindowFrameGeometry ( )

Returns the widget's geometry in parent coordinates including any window frame.

See also windowFrameRect(), getWindowFrameMargins(), and setWindowFrameMargins().

new QRectF QtGui.QGraphicsWidget.WindowFrameRect ( )

Returns the widget's local rect including any window frame.

See also windowFrameGeometry(), getWindowFrameMargins(), and setWindowFrameMargins().

virtual Qt.WindowFrameSection QtGui.QGraphicsWidget.WindowFrameSectionAt ( QPointF  pos)
protectedvirtual

Returns the window frame section at position pos, or Qt::NoSection if there is no window frame section at this position.

This function is used in QGraphicsWidget's base implementation for window frame interaction.

You can reimplement this function if you want to customize how a window can be interactively moved or resized. For instance, if you only want to allow a window to be resized by the bottom right corner, you can reimplement this function to return Qt::NoSection for all sections except Qt::BottomRightSection.

This function was introduced in Qt 4.4.

See also windowFrameEvent(), paintWindowFrame(), and windowFrameGeometry().

new Qt.WindowType QtGui.QGraphicsWidget.WindowType ( )

Returns the widgets window type.

See also windowFlags(), isWindow(), and isPanel().

Property Documentation

new bool QtGui.QGraphicsWidget.AutoFillBackground
getset

This property holds whether the widget background is filled automatically.

If enabled, this property will cause Qt to fill the background of the widget before invoking the paint() method. The color used is defined by the QPalette::Window color role from the widget's palette.

In addition, Windows are always filled with QPalette::Window, unless the WA_OpaquePaintEvent or WA_NoSystemBackground attributes are set.

By default, this property is false.

This property was introduced in Qt 4.7.

new IQGraphicsWidgetSignals QtGui.QGraphicsWidget.Emit
getprotected
new Qt.FocusPolicy QtGui.QGraphicsWidget.FocusPolicy
getset

This property holds the way the widget accepts keyboard focus.

The focus policy is Qt::TabFocus if the widget accepts keyboard focus by tabbing, Qt::ClickFocus if the widget accepts focus by clicking, Qt::StrongFocus if it accepts both, and Qt::NoFocus (the default) if it does not accept focus at all.

You must enable keyboard focus for a widget if it processes keyboard events. This is normally done from the widget's constructor. For instance, the QLineEdit constructor calls setFocusPolicy(Qt::StrongFocus).

If you enable a focus policy (i.e., not Qt::NoFocus), QGraphicsWidget will automatically enable the ItemIsFocusable flag. Setting Qt::NoFocus on a widget will clear the ItemIsFocusable flag. If the widget currently has keyboard focus, the widget will automatically lose focus.

new QFont QtGui.QGraphicsWidget.Font
getset

This property holds the widgets' font.

This property provides the widget's font.

QFont consists of font properties that have been explicitly defined and properties implicitly inherited from the widget's parent. Hence, font() can return a different font compared to the one set with setFont(). This scheme allows you to define single entries in a font without affecting the font's inherited entries.

When a widget's font changes, it resolves its entries against its parent widget. If the widget does not have a parent widget, it resolves its entries against the scene. The widget then sends itself a FontChange event and notifies all its descendants so that they can resolve their fonts as well.

By default, this property contains the application's default font.

virtual QRectF QtGui.QGraphicsWidget.Geometry
getset
Slot QtGui.QGraphicsWidget.GeometryChanged
addremove

This signal gets emitted whenever the geometry is changed in setGeometry().

new QGraphicsLayout QtGui.QGraphicsWidget.Layout
getset
Slot QtGui.QGraphicsWidget.LayoutChanged
addremove
new Qt.LayoutDirection QtGui.QGraphicsWidget.LayoutDirection
getset

This property holds the layout direction for this widget.

This property modifies this widget's and all of its descendants' Qt::WA_RightToLeft attribute. It also sets this widget's Qt::WA_SetLayoutDirection attribute.

The widget's layout direction determines the order in which the layout manager horizontally arranges subwidgets of this widget. The default value depends on the language and locale of the application, and is typically in the same direction as words are read and written. With Qt::LeftToRight, the layout starts placing subwidgets from the left side of this widget towards the right. Qt::RightToLeft does the opposite - the layout will place widgets starting from the right edge moving towards the left.

Subwidgets inherit their layout direction from the parent. Top-level widget items inherit their layout direction from QGraphicsScene::layoutDirection. If you change a widget's layout direction by calling setLayoutDirection(), the widget will send itself a LayoutDirectionChange event, and then propagate the new layout direction to all its descendants.

new double QtGui.QGraphicsWidget.MaximumHeight
getset
new QSizeF QtGui.QGraphicsWidget.MaximumSize
getset
new double QtGui.QGraphicsWidget.MaximumWidth
getset
new double QtGui.QGraphicsWidget.MinimumHeight
getset
new QSizeF QtGui.QGraphicsWidget.MinimumSize
getset
new double QtGui.QGraphicsWidget.MinimumWidth
getset
new QPalette QtGui.QGraphicsWidget.Palette
getset

This property holds the widget's palette.

This property provides the widget's palette. The palette provides colors and brushes for color groups (e.g., QPalette::Button) and states (e.g., QPalette::Inactive), loosely defining the general look of the widget and its children.

QPalette consists of color groups that have been explicitly defined, and groups that are implicitly inherited from the widget's parent. Because of this, palette() can return a different palette than what has been set with setPalette(). This scheme allows you to define single entries in a palette without affecting the palette's inherited entries.

When a widget's palette changes, it resolves its entries against its parent widget, or if it doesn't have a parent widget, it resolves against the scene. It then sends itself a PaletteChange event, and notifies all its descendants so they can resolve their palettes as well.

By default, this property contains the application's default palette.

new IQGraphicsLayoutItem QtGui.QGraphicsWidget.ParentLayoutItem
getset
new double QtGui.QGraphicsWidget.PreferredHeight
getset
new QSizeF QtGui.QGraphicsWidget.PreferredSize
getset
new double QtGui.QGraphicsWidget.PreferredWidth
getset
new QSizeF QtGui.QGraphicsWidget.Size
getset

This property holds the size of the widget.

Calling resize() resizes the widget to a size bounded by minimumSize() and maximumSize(). This property only affects the widget's width and height (e.g., its right and bottom edges); the widget's position and top-left corner remains unaffected.

Resizing a widget triggers the widget to immediately receive a GraphicsSceneResize event with the widget's old and new size. If the widget has a layout assigned when this event arrives, the layout will be activated and it will automatically update any child widgets's geometry.

This property does not affect any layout of the parent widget. If the widget itself is managed by a parent layout; e.g., it has a parent widget with a layout assigned, that layout will not activate.

By default, this property contains a size with zero width and height.

new QSizePolicy QtGui.QGraphicsWidget.SizePolicy
getset
new QMetaObject QtGui.QGraphicsWidget.StaticMetaObject
staticget
new QStyle QtGui.QGraphicsWidget.Style
getset

Returns a pointer to the widget's style. If this widget does not have any explicitly assigned style, the scene's style is returned instead. In turn, if the scene does not have any assigned style, this function returns QApplication::style().

Sets the widget's style to style. QGraphicsWidget does not take ownership of style.

If no style is assigned, or style is 0, the widget will use QGraphicsScene::style() (if this has been set). Otherwise the widget will use QApplication::style().

This function sets the Qt::WA_SetStyle attribute if style is not 0; otherwise it clears the attribute.

new Qt.WindowType QtGui.QGraphicsWidget.WindowFlags
getset

This property holds the widget's window flags.

Window flags are a combination of a window type (e.g., Qt::Dialog) and several flags giving hints on the behavior of the window. The behavior is platform-dependent.

By default, this property contains no window flags.

Windows are panels. If you set the Qt::Window flag, the ItemIsPanel flag will be set automatically. If you clear the Qt::Window flag, the ItemIsPanel flag is also cleared. Note that the ItemIsPanel flag can be set independently of Qt::Window.

new string QtGui.QGraphicsWidget.WindowTitle
getset

This property holds this property holds the window title (caption).

This property is only used for windows.

By default, if no title has been set, this property contains an empty string.