C# Class Plasma.Dialog

Inheritance: Qyoto.QWidget, IDisposable
Show file Open project: 0xd34df00d/Qross

Public Methods

Method 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

Protected Methods

Method 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

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

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

AnimatedShow() public method

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

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dialog() public method

public Dialog ( ) : System
return System

Dialog() public method

public Dialog ( QWidget parent ) : System
parent Qyoto.QWidget
return System

Dialog() public method

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

Dialog() protected method

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

Dispose() public method

public Dispose ( ) : void
return void

GraphicsWidget() public method

public GraphicsWidget ( ) : QGraphicsWidget
return Qyoto.QGraphicsWidget

InControlArea() protected method

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

ResizeCorners() public method

Convenience method to get the enabled resize corners.
public ResizeCorners ( ) : uint
return uint

SetAspectRatioMode() public method

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

SetGraphicsWidget() public method

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

SetResizeHandleCorners() public method

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

aspectRatioMode() public method

public aspectRatioMode ( ) : Plasma.AspectRatioMode
return Plasma.AspectRatioMode