C# 클래스 Plasma.AppletScript

상속: Plasma.ScriptEngine, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross 1 사용 예제들

공개 메소드들

메소드 설명
Applet ( ) : Applet Returns the Plasma.Applet associated with this script component
AppletScript ( ) : System
AppletScript ( QObject parent ) : System Default constructor for an AppletScript. Subclasses should not attempt to access the Plasma.Applet associated with this AppletScript in the constructor. All such set up that requires the Applet itself should be done in the init() method.
ConfigNeedsSaving ( ) : void
Dispose ( ) : void
Extender ( ) : Extender
SetApplet ( Plasma applet ) : void Sets the applet associated with this AppletScript
SetConfigurationRequired ( bool req ) : void
SetConfigurationRequired ( bool req, string reason ) : void
SetFailedToLaunch ( bool failed ) : void
SetFailedToLaunch ( bool failed, string reason ) : void
SetHasConfigurationInterface ( bool hasInterface ) : void Sets whether or not this script has a configuration interface or not @arg hasInterface true if the applet is user configurable
Size ( ) : Qyoto.QSizeF Returns the area within which contents can be painted.

보호된 메소드들

메소드 설명
AddStandardConfigurationPages ( Kimono.KConfigDialog dialog ) : void This method should be called after a scripting applet has added its own pages to a configuration dialog
AppletScript ( Type dummy ) : System
CreateProxy ( ) : void
DataEngine ( string engine ) : DataEngine @arg engine name of the engine
Description ( ) : Kimono.KPluginInfo
IsRegisteredAsDragHandle ( IQGraphicsItem item ) : bool
RegisterAsDragHandle ( IQGraphicsItem item ) : void
ShowMessage ( Qyoto.QIcon icon, string message, uint buttons ) : void
StandardConfigurationDialog ( ) : Kimono.KConfigDialog Note that the dialog returned is set to delete on close.
UnregisterAsDragHandle ( IQGraphicsItem item ) : void

비공개 메소드들

메소드 설명
ConfigChanged ( ) : void
ConstraintsEvent ( uint constraints ) : void
ContextualActions ( ) : List
MainScript ( ) : string
Package ( ) : Package
PaintInterface ( QPainter painter, QStyleOptionGraphicsItem option, Qyoto.QRect contentsRect ) : void
Shape ( ) : QPainterPath
ShowConfigurationInterface ( ) : void

메소드 상세

AddStandardConfigurationPages() 보호된 메소드

This method should be called after a scripting applet has added its own pages to a configuration dialog
protected AddStandardConfigurationPages ( Kimono.KConfigDialog dialog ) : void
dialog Kimono.KConfigDialog
리턴 void

Applet() 공개 메소드

Returns the Plasma.Applet associated with this script component
public Applet ( ) : Applet
리턴 Applet

AppletScript() 공개 메소드

public AppletScript ( ) : System
리턴 System

AppletScript() 공개 메소드

Default constructor for an AppletScript. Subclasses should not attempt to access the Plasma.Applet associated with this AppletScript in the constructor. All such set up that requires the Applet itself should be done in the init() method.
public AppletScript ( QObject parent ) : System
parent Qyoto.QObject
리턴 System

AppletScript() 보호된 메소드

protected AppletScript ( Type dummy ) : System
dummy System.Type
리턴 System

ConfigNeedsSaving() 공개 메소드

public ConfigNeedsSaving ( ) : void
리턴 void

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

DataEngine() 보호된 메소드

@arg engine name of the engine
protected DataEngine ( string engine ) : DataEngine
engine string
리턴 DataEngine

Description() 보호된 메소드

protected Description ( ) : Kimono.KPluginInfo
리턴 Kimono.KPluginInfo

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Extender() 공개 메소드

public Extender ( ) : Extender
리턴 Extender

IsRegisteredAsDragHandle() 보호된 메소드

protected IsRegisteredAsDragHandle ( IQGraphicsItem item ) : bool
item IQGraphicsItem
리턴 bool

RegisterAsDragHandle() 보호된 메소드

protected RegisterAsDragHandle ( IQGraphicsItem item ) : void
item IQGraphicsItem
리턴 void

SetApplet() 공개 메소드

Sets the applet associated with this AppletScript
public SetApplet ( Plasma applet ) : void
applet Plasma
리턴 void

SetConfigurationRequired() 공개 메소드

public SetConfigurationRequired ( bool req ) : void
req bool
리턴 void

SetConfigurationRequired() 공개 메소드

public SetConfigurationRequired ( bool req, string reason ) : void
req bool
reason string
리턴 void

SetFailedToLaunch() 공개 메소드

public SetFailedToLaunch ( bool failed ) : void
failed bool
리턴 void

SetFailedToLaunch() 공개 메소드

public SetFailedToLaunch ( bool failed, string reason ) : void
failed bool
reason string
리턴 void

SetHasConfigurationInterface() 공개 메소드

Sets whether or not this script has a configuration interface or not @arg hasInterface true if the applet is user configurable
public SetHasConfigurationInterface ( bool hasInterface ) : void
hasInterface bool
리턴 void

ShowMessage() 보호된 메소드

protected ShowMessage ( Qyoto.QIcon icon, string message, uint buttons ) : void
icon Qyoto.QIcon
message string
buttons uint
리턴 void

Size() 공개 메소드

Returns the area within which contents can be painted.
public Size ( ) : Qyoto.QSizeF
리턴 Qyoto.QSizeF

StandardConfigurationDialog() 보호된 메소드

Note that the dialog returned is set to delete on close.
protected StandardConfigurationDialog ( ) : Kimono.KConfigDialog
리턴 Kimono.KConfigDialog

UnregisterAsDragHandle() 보호된 메소드

protected UnregisterAsDragHandle ( IQGraphicsItem item ) : void
item IQGraphicsItem
리턴 void