C# Class Plasma.Dialog

Inheritance: Qyoto.QWidget, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross

Méthodes publiques

Méthode Description
AnimatedHide ( Plasma direction ) : void Causes an animated hide; requires compositing to work, otherwise the dialog will simply hide.
AnimatedShow ( Plasma direction ) : void Causes an animated show; requires compositing to work, otherwise the dialog will simply show.
Dialog ( ) : System
Dialog ( QWidget parent ) : System
Dialog ( QWidget parent, uint f ) : System @arg parent the parent widget, for plasmoids, this is usually 0. @arg f the Qt.WindowFlags, default is to not show a windowborder.
Dispose ( ) : void
GraphicsWidget ( ) : QGraphicsWidget
ResizeCorners ( ) : uint Convenience method to get the enabled resize corners.
SetAspectRatioMode ( Plasma mode ) : void Sets the preferred aspect ratio mode for placement and resizing
SetGraphicsWidget ( QGraphicsWidget widget ) : void Sets a QGraphicsWidget to be shown as the content in this dialog. The dialog will then set up a QGraphicsView and coordinate geometry with the widget automatically. @arg widget the QGraphicsWidget to display in this dialog
SetResizeHandleCorners ( uint corners ) : void @arg corners the corners the resize handlers should be placed in.
aspectRatioMode ( ) : Plasma.AspectRatioMode

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
Dialog ( Type dummy ) : System
InControlArea ( Qyoto.QPoint point ) : bool Convenience method to know whether the point is in a control area (e.g. resize area) or not.

Private Methods

Méthode Description
Event ( Qyoto.QEvent arg1 ) : bool
EventFilter ( QObject watched, Qyoto.QEvent arg2 ) : bool
FocusInEvent ( Qyoto.QFocusEvent arg1 ) : void
HideEvent ( Qyoto.QHideEvent arg1 ) : void
KeyPressEvent ( Qyoto.QKeyEvent arg1 ) : void
MouseMoveEvent ( Qyoto.QMouseEvent arg1 ) : void
MousePressEvent ( Qyoto.QMouseEvent arg1 ) : void
MouseReleaseEvent ( Qyoto.QMouseEvent arg1 ) : void
MoveEvent ( QMoveEvent arg1 ) : void
PaintEvent ( Qyoto.QPaintEvent e ) : void
ResizeEvent ( Qyoto.QResizeEvent e ) : void
ShowEvent ( Qyoto.QShowEvent arg1 ) : void

Method Details

AnimatedHide() public méthode

Causes an animated hide; requires compositing to work, otherwise the dialog will simply hide.
public AnimatedHide ( Plasma direction ) : void
direction Plasma
Résultat void

AnimatedShow() public méthode

Causes an animated show; requires compositing to work, otherwise the dialog will simply show.
public AnimatedShow ( Plasma direction ) : void
direction Plasma
Résultat void

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Dialog() public méthode

public Dialog ( ) : System
Résultat System

Dialog() public méthode

public Dialog ( QWidget parent ) : System
parent Qyoto.QWidget
Résultat System

Dialog() public méthode

@arg parent the parent widget, for plasmoids, this is usually 0. @arg f the Qt.WindowFlags, default is to not show a windowborder.
public Dialog ( QWidget parent, uint f ) : System
parent Qyoto.QWidget
f uint
Résultat System

Dialog() protected méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GraphicsWidget() public méthode

public GraphicsWidget ( ) : QGraphicsWidget
Résultat Qyoto.QGraphicsWidget

InControlArea() protected méthode

Convenience method to know whether the point is in a control area (e.g. resize area) or not.
protected InControlArea ( Qyoto.QPoint point ) : bool
point Qyoto.QPoint
Résultat bool

ResizeCorners() public méthode

Convenience method to get the enabled resize corners.
public ResizeCorners ( ) : uint
Résultat uint

SetAspectRatioMode() public méthode

Sets the preferred aspect ratio mode for placement and resizing
public SetAspectRatioMode ( Plasma mode ) : void
mode Plasma
Résultat void

SetGraphicsWidget() public méthode

Sets a QGraphicsWidget to be shown as the content in this dialog. The dialog will then set up a QGraphicsView and coordinate geometry with the widget automatically. @arg widget the QGraphicsWidget to display in this dialog
public SetGraphicsWidget ( QGraphicsWidget widget ) : void
widget Qyoto.QGraphicsWidget
Résultat void

SetResizeHandleCorners() public méthode

@arg corners the corners the resize handlers should be placed in.
public SetResizeHandleCorners ( uint corners ) : void
corners uint
Résultat void

aspectRatioMode() public méthode

public aspectRatioMode ( ) : Plasma.AspectRatioMode
Résultat Plasma.AspectRatioMode