C# Класс Plasma.WallpaperScript

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

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

Метод Описание
Dispose ( ) : void
SetWallpaper ( Plasma wallpaper ) : void Sets the Plasma.Wallpaper associated with this WallpaperScript
Wallpaper ( ) : Plasma.Wallpaper Returns the Plasma.Wallpaper associated with this script component
WallpaperScript ( ) : System
WallpaperScript ( QObject parent ) : System Default constructor for a WallpaperScript. Subclasses should not attempt to access the Plasma.Wallpaper associated with this WallpaperScript in the constructor. All such set up that requires the Wallpaper itself should be done in the init() method.

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

Метод Описание
BoundingRect ( ) : Qyoto.QRectF
ConfigNeedsSaving ( ) : void
CreateProxy ( ) : void
DataEngine ( string name ) : DataEngine
Description ( ) : Kimono.KPluginInfo
FindInCache ( string key, QImage image ) : bool
FindInCache ( string key, QImage image, uint lastModified ) : bool
InsertIntoCache ( string key, QImage image ) : void
IsInitialized ( ) : bool
Render ( string sourceImagePath, Qyoto.QSize size ) : void
Render ( string sourceImagePath, Qyoto.QSize size, Plasma resizeMethod ) : void
Render ( string sourceImagePath, Qyoto.QSize size, Plasma resizeMethod, QColor color ) : void
SetConfigurationRequired ( bool needsConfiguring ) : void
SetConfigurationRequired ( bool needsConfiguring, string reason ) : void
SetContextualActions ( List actions ) : void
SetResizeMethodHint ( Plasma resizeMethod ) : void
SetTargetSizeHint ( Qyoto.QSizeF targetSize ) : void
SetUsingRenderingCache ( bool useCache ) : void
Update ( Qyoto.QRectF exposedArea ) : void
WallpaperScript ( Type dummy ) : System

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

Метод Описание
CreateConfigurationInterface ( QWidget parent ) : QWidget
InitWallpaper ( Kimono.KConfigGroup config ) : void
MainScript ( ) : string
MouseMoveEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MousePressEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MouseReleaseEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
Package ( ) : Package
Paint ( QPainter painter, Qyoto.QRectF exposedRect ) : void
RenderCompleted ( QImage image ) : void
Save ( Kimono.KConfigGroup config ) : void
UrlDropped ( Kimono.KUrl url ) : void
WheelEvent ( Qyoto.QGraphicsSceneWheelEvent arg1 ) : void

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

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

protected BoundingRect ( ) : Qyoto.QRectF
Результат Qyoto.QRectF

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

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

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

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

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

protected DataEngine ( string name ) : DataEngine
name string
Результат DataEngine

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

protected Description ( ) : Kimono.KPluginInfo
Результат Kimono.KPluginInfo

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

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

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

protected FindInCache ( string key, QImage image ) : bool
key string
image Qyoto.QImage
Результат bool

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

protected FindInCache ( string key, QImage image, uint lastModified ) : bool
key string
image Qyoto.QImage
lastModified uint
Результат bool

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

protected InsertIntoCache ( string key, QImage image ) : void
key string
image Qyoto.QImage
Результат void

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

protected IsInitialized ( ) : bool
Результат bool

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

protected Render ( string sourceImagePath, Qyoto.QSize size ) : void
sourceImagePath string
size Qyoto.QSize
Результат void

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

protected Render ( string sourceImagePath, Qyoto.QSize size, Plasma resizeMethod ) : void
sourceImagePath string
size Qyoto.QSize
resizeMethod Plasma
Результат void

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

protected Render ( string sourceImagePath, Qyoto.QSize size, Plasma resizeMethod, QColor color ) : void
sourceImagePath string
size Qyoto.QSize
resizeMethod Plasma
color Qyoto.QColor
Результат void

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

protected SetConfigurationRequired ( bool needsConfiguring ) : void
needsConfiguring bool
Результат void

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

protected SetConfigurationRequired ( bool needsConfiguring, string reason ) : void
needsConfiguring bool
reason string
Результат void

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

protected SetContextualActions ( List actions ) : void
actions List
Результат void

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

protected SetResizeMethodHint ( Plasma resizeMethod ) : void
resizeMethod Plasma
Результат void

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

protected SetTargetSizeHint ( Qyoto.QSizeF targetSize ) : void
targetSize Qyoto.QSizeF
Результат void

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

protected SetUsingRenderingCache ( bool useCache ) : void
useCache bool
Результат void

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

Sets the Plasma.Wallpaper associated with this WallpaperScript
public SetWallpaper ( Plasma wallpaper ) : void
wallpaper Plasma
Результат void

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

protected Update ( Qyoto.QRectF exposedArea ) : void
exposedArea Qyoto.QRectF
Результат void

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

Returns the Plasma.Wallpaper associated with this script component
public Wallpaper ( ) : Plasma.Wallpaper
Результат Plasma.Wallpaper

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

public WallpaperScript ( ) : System
Результат System

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

Default constructor for a WallpaperScript. Subclasses should not attempt to access the Plasma.Wallpaper associated with this WallpaperScript in the constructor. All such set up that requires the Wallpaper itself should be done in the init() method.
public WallpaperScript ( QObject parent ) : System
parent Qyoto.QObject
Результат System

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

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