C# Класс Plasma.ExtenderItem

Наследование: Qyoto.QGraphicsWidget, IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Destroy void
HideCloseButton void
HoverLeaveEvent void
HoverMoveEvent void
MouseDoubleClickEvent void
MouseMoveEvent void
MousePressEvent void
MouseReleaseEvent void
MoveEvent void
Paint void
ResizeEvent void
ReturnToSource void
SceneEventFilter bool
SetCollapsed void
ShowCloseButton void
SizeHint Qyoto.QSizeF

Открытые методы

Метод Описание
Action ( string name ) : Qyoto.QAction
AddAction ( string name, Qyoto.QAction action ) : void name="name" the name to store the action under in our collection. name="action" the action to add. Actions will be displayed as an icon in the drag handle.
Config ( ) : Kimono.KConfigGroup fetch the configuration of this widget.
Dispose ( ) : void
ExtenderItem ( Plasma hostExtender ) : System
ExtenderItem ( Plasma hostExtender, uint extenderItemId ) : System The constructor takes care of adding this item to an extender. name="hostExtender" The extender the extender item belongs to. name="extenderItemId" the id of the extender item. Use the default 0 to assign a new, unique id to this extender item.
Group ( ) : ExtenderGroup
IsGroup ( ) : bool
SetExtender ( Plasma extender ) : void
SetExtender ( Plasma extender, QPointF pos ) : void name="extender" the extender this item belongs to. name="pos" the position in the extender this item should be added. Defaults to 'just append'.
SetGroup ( Plasma group ) : void name="group" the group you want this item to belong to. Note that you can't nest ExtenderGroups.

Защищенные методы

Метод Описание
CreateProxy ( ) : void
ExtenderItem ( Type dummy ) : System

Приватные методы

Метод Описание
Destroy ( ) : void
HideCloseButton ( ) : void
HoverLeaveEvent ( Qyoto.QGraphicsSceneHoverEvent arg1 ) : void
HoverMoveEvent ( Qyoto.QGraphicsSceneHoverEvent arg1 ) : void
MouseDoubleClickEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MouseMoveEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MousePressEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MouseReleaseEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MoveEvent ( Qyoto.QGraphicsSceneMoveEvent arg1 ) : void
Paint ( QPainter painter, QStyleOptionGraphicsItem option, QWidget widget ) : void
ResizeEvent ( Qyoto.QGraphicsSceneResizeEvent arg1 ) : void
ReturnToSource ( ) : void
SceneEventFilter ( IQGraphicsItem watched, Qyoto.QEvent arg2 ) : bool
SetCollapsed ( bool collapsed ) : void
ShowCloseButton ( ) : void
SizeHint ( Qt which, Qyoto.QSizeF constraint ) : Qyoto.QSizeF

Описание методов

Action() публичный Метод

public Action ( string name ) : Qyoto.QAction
name string
Результат Qyoto.QAction

AddAction() публичный Метод

name="name" the name to store the action under in our collection. name="action" the action to add. Actions will be displayed as an icon in the drag handle.
public AddAction ( string name, Qyoto.QAction action ) : void
name string
action Qyoto.QAction
Результат void

Config() публичный Метод

fetch the configuration of this widget.
public Config ( ) : Kimono.KConfigGroup
Результат Kimono.KConfigGroup

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

ExtenderItem() публичный Метод

public ExtenderItem ( Plasma hostExtender ) : System
hostExtender Plasma
Результат System

ExtenderItem() публичный Метод

The constructor takes care of adding this item to an extender. name="hostExtender" The extender the extender item belongs to. name="extenderItemId" the id of the extender item. Use the default 0 to assign a new, unique id to this extender item.
public ExtenderItem ( Plasma hostExtender, uint extenderItemId ) : System
hostExtender Plasma
extenderItemId uint
Результат System

ExtenderItem() защищенный Метод

protected ExtenderItem ( Type dummy ) : System
dummy System.Type
Результат System

Group() публичный Метод

public Group ( ) : ExtenderGroup
Результат ExtenderGroup

IsGroup() публичный Метод

public IsGroup ( ) : bool
Результат bool

SetExtender() публичный Метод

public SetExtender ( Plasma extender ) : void
extender Plasma
Результат void

SetExtender() публичный Метод

name="extender" the extender this item belongs to. name="pos" the position in the extender this item should be added. Defaults to 'just append'.
public SetExtender ( Plasma extender, QPointF pos ) : void
extender Plasma
pos Qyoto.QPointF
Результат void

SetGroup() публичный Метод

name="group" the group you want this item to belong to. Note that you can't nest ExtenderGroups.
public SetGroup ( Plasma group ) : void
group Plasma
Результат void