C# Class Plasma.ExtenderItem

Inheritance: Qyoto.QGraphicsWidget, IDisposable
Mostra file Open project: 0xd34df00d/Qross Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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.

Protected Methods

Method Description
CreateProxy ( ) : void
ExtenderItem ( Type dummy ) : System

Private Methods

Method 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 method

public Action ( string name ) : Qyoto.QAction
name string
return Qyoto.QAction

AddAction() public method

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
return void

Config() public method

fetch the configuration of this widget.
public Config ( ) : Kimono.KConfigGroup
return Kimono.KConfigGroup

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

ExtenderItem() public method

public ExtenderItem ( Plasma hostExtender ) : System
hostExtender Plasma
return System

ExtenderItem() public method

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
return System

ExtenderItem() protected method

protected ExtenderItem ( Type dummy ) : System
dummy System.Type
return System

Group() public method

public Group ( ) : ExtenderGroup
return ExtenderGroup

IsGroup() public method

public IsGroup ( ) : bool
return bool

SetExtender() public method

public SetExtender ( Plasma extender ) : void
extender Plasma
return void

SetExtender() public method

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
return void

SetGroup() public method

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
return void