Inheritance: Object, IQGraphicsItem
示例#1
0
 protected virtual void SetExtension(QGraphicsItem.Extension extension, QVariant variant)
 {
     interceptor.Invoke("setExtension$#", "setExtension(QGraphicsItem::Extension, const QVariant&)", typeof(void), typeof(QGraphicsItem.Extension), extension, typeof(QVariant), variant);
 }
示例#2
0
 protected virtual bool SupportsExtension(QGraphicsItem.Extension extension)
 {
     return (bool) interceptor.Invoke("supportsExtension$", "supportsExtension(QGraphicsItem::Extension) const", typeof(bool), typeof(QGraphicsItem.Extension), extension);
 }
示例#3
0
 /// <remarks>
 ///  Unregister a widget registered with registerAsDragHandle.
 /// <param> name="item" the item to unregister
 ///          </param></remarks>        <short>    Unregister a widget registered with registerAsDragHandle.</short>
 protected void UnregisterAsDragHandle(QGraphicsItem item)
 {
     Object[] parameters = new Object[1];
     parameters[0] = item;
     appletType.GetMethod("UnregisterAsDragHandle").Invoke(applet, parameters);
 }
示例#4
0
 protected virtual QVariant ItemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)
 {
     return (QVariant) interceptor.Invoke("itemChange$#", "itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)", typeof(QVariant), typeof(QGraphicsItem.GraphicsItemChange), change, typeof(QVariant), value);
 }
 protected virtual void SetExtension(QGraphicsItem.Extension extension, QVariant variant)
 {
 }
示例#6
0
 /// <remarks>
 ///          </remarks>        <short>   </short>
 protected virtual bool SceneEventFilter(QGraphicsItem watched, QEvent arg2)
 {
     return false;
 }
示例#7
0
 public void SetPanelModality(QGraphicsItem.PanelModality panelModality)
 {
     interceptor.Invoke("setPanelModality$", "setPanelModality(QGraphicsItem::PanelModality)", typeof(void), typeof(QGraphicsItem.PanelModality), panelModality);
 }
示例#8
0
 public void SetFlag(QGraphicsItem.GraphicsItemFlag flag, bool enabled)
 {
     interceptor.Invoke("setFlag$$", "setFlag(QGraphicsItem::GraphicsItemFlag, bool)", typeof(void), typeof(QGraphicsItem.GraphicsItemFlag), flag, typeof(bool), enabled);
 }
 public void SetFlag(QGraphicsItem.GraphicsItemFlag flag, bool enabled)
 {
     applet.SetFlag(flag, enabled);
 }
 public void SetFlag(QGraphicsItem.GraphicsItemFlag flag)
 {
     applet.SetFlag(flag);
 }
 public void SetCacheMode(QGraphicsItem.CacheMode mode)
 {
     applet.SetCacheMode(mode);
 }
 public void SetCacheMode(QGraphicsItem.CacheMode mode, QSize cacheSize)
 {
     applet.SetCacheMode(mode, cacheSize);
 }
 protected virtual bool SupportsExtension(QGraphicsItem.Extension extension)
 {
     return false;
 }
示例#14
0
 public void SetCacheMode(QGraphicsItem.CacheMode mode, QSize cacheSize)
 {
     interceptor.Invoke("setCacheMode$#", "setCacheMode(QGraphicsItem::CacheMode, const QSize&)", typeof(void), typeof(QGraphicsItem.CacheMode), mode, typeof(QSize), cacheSize);
 }
示例#15
0
 /// <remarks>
 /// <param> name="item" the item to look for if it is registered or not
 /// </param></remarks>        <return> true if it is registered, false otherwise
 ///          </return>
 ///         <short>   </short>
 protected bool IsRegisteredAsDragHandle(QGraphicsItem item)
 {
     Object[] parameters = new Object[1];
     parameters[0] = item;
     return (bool) appletType.GetMethod("IsRegisteredAsDragHandle").Invoke(applet, parameters);
 }
示例#16
0
 public void SetCacheMode(QGraphicsItem.CacheMode mode)
 {
     interceptor.Invoke("setCacheMode$", "setCacheMode(QGraphicsItem::CacheMode)", typeof(void), typeof(QGraphicsItem.CacheMode), mode);
 }
示例#17
0
 /// <remarks>
 ///  Reimplemented from QGraphicsItem
 ///          </remarks>        <short>    Reimplemented from QGraphicsItem          </short>
 protected virtual QVariant ItemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)
 {
     Object[] parameters = new Object[2];
     parameters[0] = change;
     parameters[1] = value;
     return (QVariant) appletType.GetMethod("ItemChange").Invoke(applet, parameters);
 }
示例#18
0
 public void SetFlag(QGraphicsItem.GraphicsItemFlag flag)
 {
     interceptor.Invoke("setFlag$", "setFlag(QGraphicsItem::GraphicsItemFlag)", typeof(void), typeof(QGraphicsItem.GraphicsItemFlag), flag);
 }
 protected virtual QVariant ItemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)
 {
     return null;
 }