Inheritance: QObject, IQGraphicsItem, IQGraphicsLayoutItem, IDisposable
示例#1
0
 /// <remarks>
 ///  Assoicates a widget with an operation, which allows the service to
 ///  automatically manage, for example, the enabled state of a widget.
 ///  This will remove any previous associations the widget had with
 ///  operations on this engine.
 /// <param> name="widget" the QGraphicsItem to associate with the service
 /// </param><param> name="operation" the operation to associate the widget with
 ///      </param></remarks>        <short>    Assoicates a widget with an operation, which allows the service to  automatically manage, for example, the enabled state of a widget.</short>
 public void AssociateWidget(QGraphicsWidget widget, string operation)
 {
     interceptor.Invoke("associateWidget#$", "associateWidget(QGraphicsWidget*, const QString&)", typeof(void), typeof(QGraphicsWidget), widget, typeof(string), operation);
 }
示例#2
0
 public void SetActiveWindow(QGraphicsWidget widget)
 {
     interceptor.Invoke("setActiveWindow#", "setActiveWindow(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#3
0
 /// <remarks>
 ///  Constructs a new TabBar
 ///  @arg parent the parent of this widget
 ///      </remarks>        <short>    Constructs a new TabBar </short>
 public TabBar(QGraphicsWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("TabBar#", "TabBar(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), parent);
 }
示例#4
0
 public static void SetTabOrder(QGraphicsWidget first, QGraphicsWidget second)
 {
     staticInterceptor.Invoke("setTabOrder##", "setTabOrder(QGraphicsWidget*, QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), first, typeof(QGraphicsWidget), second);
 }
示例#5
0
 /// <remarks>
 ///  Sets a QGraphicsWidget to be shown as the content in this dialog.
 ///  The dialog will then set up a QGraphicsView and coordinate geometry with
 ///  the widget automatically.
 ///  @arg widget the QGraphicsWidget to display in this dialog
 ///          </remarks>        <short>    Sets a QGraphicsWidget to be shown as the content in this dialog.</short>
 public void SetGraphicsWidget(QGraphicsWidget widget)
 {
     interceptor.Invoke("setGraphicsWidget#", "setGraphicsWidget(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#6
0
 public ItemBackground(QGraphicsWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ItemBackground#", "ItemBackground(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), parent);
 }
示例#7
0
 public RadioButton(QGraphicsWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("RadioButton#", "RadioButton(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), parent);
 }
示例#8
0
 /// <remarks>
 ///  Unregisters a widget from the tooltip manager.
 ///  This will free the memory used by the tooltip associated with the widget.
 /// <param> name="widget" the desired widget to delete
 ///      </param></remarks>        <short>    Unregisters a widget from the tooltip manager.</short>
 public void UnregisterWidget(QGraphicsWidget widget)
 {
     interceptor.Invoke("unregisterWidget#", "unregisterWidget(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#9
0
 /// <remarks>
 ///  Clears the tooltip data associated with this widget, but keeps
 ///  the widget registered.
 ///      </remarks>        <short>    Clears the tooltip data associated with this widget, but keeps  the widget registered.</short>
 public void ClearContent(QGraphicsWidget widget)
 {
     interceptor.Invoke("clearContent#", "clearContent(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#10
0
 /// <remarks>
 ///  Sets the content for the tooltip associated with a widget.
 ///  Note that this will register the widget with the ToolTipManager if
 ///  necessary, so there is usually no need to call registerWidget().
 /// <param> name="widget" the widget the tooltip should be associated with
 /// </param><param> name="data" the content of the tooltip. If an empty Content
 ///                is passed in, the tooltip content will be reset.
 ///      </param></remarks>        <short>    Sets the content for the tooltip associated with a widget.</short>
 public void SetContent(QGraphicsWidget widget, Plasma.ToolTipContent data)
 {
     interceptor.Invoke("setContent##", "setContent(QGraphicsWidget*, const Plasma::ToolTipContent&)", typeof(void), typeof(QGraphicsWidget), widget, typeof(Plasma.ToolTipContent), data);
 }
示例#11
0
 /// <remarks>
 ///  Show the tooltip for a widget registered in the tooltip manager
 /// <param> name="widget" the widget for which the tooltip will be displayed
 ///      </param></remarks>        <short>    Show the tooltip for a widget registered in the tooltip manager </short>
 public void Show(QGraphicsWidget widget)
 {
     interceptor.Invoke("show#", "show(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#12
0
 /// <remarks>
 ///  Find out whether the tooltip for a given widget is currently being displayed.
 /// <param> name="widget" the widget to check the tooltip for
 /// </param></remarks>        <return> true if the tooltip of the widget is currently displayed,
 ///          false if not
 ///      </return>
 ///         <short>    Find out whether the tooltip for a given widget is currently being displayed.</short>
 public bool IsVisible(QGraphicsWidget widget)
 {
     return (bool) interceptor.Invoke("isVisible#", "isVisible(QGraphicsWidget*) const", typeof(bool), typeof(QGraphicsWidget), widget);
 }
示例#13
0
 /// <remarks>
 ///  Hides the tooltip for a widget immediately.
 /// <param> name="widget" the widget to hide the tooltip for
 ///      </param></remarks>        <short>    Hides the tooltip for a widget immediately.</short>
 public void Hide(QGraphicsWidget widget)
 {
     interceptor.Invoke("hide#", "hide(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#14
0
 /// <remarks>
 ///  Constructs a new BusyWidget
 ///  @arg parent the parent of this widget
 ///      </remarks>        <short>    Constructs a new BusyWidget </short>
 public BusyWidget(QGraphicsWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("BusyWidget#", "BusyWidget(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), parent);
 }
示例#15
0
 /// <remarks>
 ///  Disassociates a widget if it has been associated with an operation
 ///  on this service.
 ///  This will not change the enabled state of the widget.
 /// <param> name="widget" the QGraphicsWidget to disassociate.
 ///      </param></remarks>        <short>    Disassociates a widget if it has been associated with an operation  on this service.</short>
 public void DisassociateWidget(QGraphicsWidget widget)
 {
     interceptor.Invoke("disassociateWidget#", "disassociateWidget(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#16
0
 /// <remarks>
 ///  Removes a widget from the topleft quadrant in the scene.
 /// <param> name="widget" the widget to remove.
 ///      </param></remarks>        <short>    Removes a widget from the topleft quadrant in the scene.</short>
 public void RemoveOffscreenWidget(QGraphicsWidget widget)
 {
     interceptor.Invoke("removeOffscreenWidget#", "removeOffscreenWidget(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), widget);
 }
示例#17
0
 public ComboBox(QGraphicsWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("ComboBox#", "ComboBox(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), parent);
 }
示例#18
0
 /// <remarks>
 ///  Unregister the given item as drag handle (if it was registered)
 /// </remarks>        <short>    Unregister the given item as drag handle (if it was registered) </short>
 public void UnregisterAsDragHandle(QGraphicsWidget item)
 {
     interceptor.Invoke("unregisterAsDragHandle#", "unregisterAsDragHandle(QGraphicsWidget*)", typeof(void), typeof(QGraphicsWidget), item);
 }