Method | Description | |
---|---|---|
Action ( string name ) : Qyoto.QAction | Returns the QAction with the given name from our collection | |
Actions ( ) : List |
Returns all the actions in our collection | |
AddAction ( string name ) : Kimono.KAction | ||
AddAction ( string name, Qyoto.QAction action ) : void | Adds the action to our collection under the given name | |
AddContainment ( string name ) : |
||
AddContainment ( string name, List |
Adds a Containment to the Corona name="name" the plugin name for the containment, as given by KPluginInfo.PluginName(). If an empty string is passed in, the defalt containment plugin will be used (usually DesktopContainment). If the string literal "null" is passed in, then no plugin will be loaded and a simple Containment object will be created instead. name="args" argument list to pass to the containment | |
AddOffscreenWidget ( |
Adds a widget in the topleft quadrant in the scene. Widgets in the topleft quadrant are normally never shown unless you specifically aim a view at it, which makes it ideal for toplevel views etc. name="widget" the widget to add. | |
AddShortcuts ( Kimono.KActionCollection newShortcuts ) : void | ||
AppletMimeType ( ) : string | The current mime type of Drag/Drop items. | |
ClearContainments ( ) : void | Clear the Corona from all applets. | |
Config ( ) : Kimono.KSharedConfig | Returns the config file used to store the configuration for this Corona | |
ContainmentActionsDefaults ( Plasma containmentType ) : |
||
ContainmentForScreen ( int screen ) : |
||
ContainmentForScreen ( int screen, int desktop ) : |
Returns the Containment, if any, for a given physical screen name="screen" number of the physical screen to locate name="desktop" the desktop) to locate; if < 0 then it will simply return the first Containment associated with screen | |
Containments ( ) : List |
||
Corona ( ) : System | ||
Corona ( |
||
Dispose ( ) : void | ||
EnableAction ( string name, bool enable ) : void | convenience function - enables or disables an action by name name="name" the name of the action in our collection name="enable" true to enable, false to disable | |
FreeEdges ( int screen ) : List |
This method is useful in order to retrieve the list of available screen edges for panel type containments. name="screen" the id of the screen to look for free edges. | |
OffscreenWidgets ( ) : List |
||
PopupPosition ( IQGraphicsItem item, Qyoto.QSize size ) : Qyoto.QPoint | Recommended position for a popup window like a menu or a tooltip given its size name="item" the item that the popup should appear adjacent to (an applet, say) name="size" size of the popup | |
PopupPosition ( IQGraphicsItem item, Qyoto.QSize size, |
name="item" the item that the popup should appear adjacent to (an applet, say) name="size" size of the popup name="alignment" alignment of the popup, valid flags are Qt.AlignLeft, Qt.AlignRight and Qt.AlignCenter | |
RemoveOffscreenWidget ( |
Removes a widget from the topleft quadrant in the scene. name="widget" the widget to remove. | |
SetAppletMimeType ( string mimetype ) : void | Sets the mimetype of Drag/Drop items. Default is text/x-plasmoidservicename | |
SetContainmentActionsDefaults ( Plasma containmentType, Plasma config ) : void | ||
UpdateShortcuts ( ) : void |
Method | Description | |
---|---|---|
AddContainmentDelayed ( string name ) : |
||
AddContainmentDelayed ( string name, List |
Loads a containment with delayed initialization, primarily useful for implementations of loadDefaultLayout. The caller is responsible for all initializating, saving and notification of a new containment. name="name" the plugin name for the containment, as given by KPluginInfo.PluginName(). If an empty string is passed in, the defalt containment plugin will be used (usually DesktopContainment). If the string literal "null" is passed in, then no plugin will be loaded and a simple Containment object will be created instead. name="args" argument list to pass to the containment | |
Corona ( |
||
CreateProxy ( ) : void |
Method | Description | |
---|---|---|
AvailableScreenRegion ( int id ) : |
||
DragEnterEvent ( Qyoto.QGraphicsSceneDragDropEvent arg1 ) : void | ||
DragLeaveEvent ( Qyoto.QGraphicsSceneDragDropEvent arg1 ) : void | ||
DragMoveEvent ( Qyoto.QGraphicsSceneDragDropEvent arg1 ) : void | ||
Immutability ( ) : Plasma.ImmutabilityType | ||
InitializeLayout ( ) : void | ||
InitializeLayout ( string config ) : void | ||
LoadDefaultLayout ( ) : void | ||
LoadLayout ( ) : void | ||
LoadLayout ( string config ) : void | ||
NumScreens ( ) : int | ||
RequestConfigSync ( ) : void | ||
RequireConfigSync ( ) : void | ||
SaveLayout ( ) : void | ||
SaveLayout ( string config ) : void | ||
ScreenGeometry ( int id ) : Qyoto.QRect | ||
SetImmutability ( Plasma immutable ) : void |
public Action ( string name ) : Qyoto.QAction | ||
name | string | |
return | Qyoto.QAction |
public AddAction ( string name ) : Kimono.KAction | ||
name | string | |
return | Kimono.KAction |
public AddAction ( string name, Qyoto.QAction action ) : void | ||
name | string | |
action | Qyoto.QAction | |
return | void |
public AddContainment ( string name ) : |
||
name | string | |
return |
public AddContainment ( string name, List |
||
name | string | |
args | List |
|
return |
protected AddContainmentDelayed ( string name ) : |
||
name | string | |
return |
protected AddContainmentDelayed ( string name, List |
||
name | string | |
args | List |
|
return |
public AddOffscreenWidget ( |
||
widget | ||
return | void |
public AddShortcuts ( Kimono.KActionCollection newShortcuts ) : void | ||
newShortcuts | Kimono.KActionCollection | |
return | void |
public ContainmentActionsDefaults ( Plasma containmentType ) : |
||
containmentType | Plasma | |
return |
public ContainmentForScreen ( int screen ) : |
||
screen | int | |
return |
public ContainmentForScreen ( int screen, int desktop ) : |
||
screen | int | |
desktop | int | |
return |
public EnableAction ( string name, bool enable ) : void | ||
name | string | |
enable | bool | |
return | void |
public PopupPosition ( IQGraphicsItem item, Qyoto.QSize size ) : Qyoto.QPoint | ||
item | IQGraphicsItem | |
size | Qyoto.QSize | |
return | Qyoto.QPoint |
public PopupPosition ( IQGraphicsItem item, Qyoto.QSize size, |
||
item | IQGraphicsItem | |
size | Qyoto.QSize | |
alignment | ||
return | Qyoto.QPoint |
public RemoveOffscreenWidget ( |
||
widget | ||
return | void |
public SetAppletMimeType ( string mimetype ) : void | ||
mimetype | string | |
return | void |
public SetContainmentActionsDefaults ( Plasma containmentType, Plasma config ) : void | ||
containmentType | Plasma | |
config | Plasma | |
return | void |