C# Class Plasma.ExtenderItem

Inheritance: Qyoto.QGraphicsWidget, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
ExtenderItem ( Type dummy ) : System

Private Methods

Méthode Description
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

Method Details

Action() public méthode

public Action ( string name ) : Qyoto.QAction
name string
Résultat Qyoto.QAction

AddAction() public méthode

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
Résultat void

Config() public méthode

fetch the configuration of this widget.
public Config ( ) : Kimono.KConfigGroup
Résultat Kimono.KConfigGroup

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExtenderItem() public méthode

public ExtenderItem ( Plasma hostExtender ) : System
hostExtender Plasma
Résultat System

ExtenderItem() public méthode

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
Résultat System

ExtenderItem() protected méthode

protected ExtenderItem ( Type dummy ) : System
dummy System.Type
Résultat System

Group() public méthode

public Group ( ) : ExtenderGroup
Résultat ExtenderGroup

IsGroup() public méthode

public IsGroup ( ) : bool
Résultat bool

SetExtender() public méthode

public SetExtender ( Plasma extender ) : void
extender Plasma
Résultat void

SetExtender() public méthode

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
Résultat void

SetGroup() public méthode

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
Résultat void