C# Класс Plasma.Dialog

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

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

Метод Описание
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

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

Метод Описание
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.

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

Метод Описание
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

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

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

Causes an animated hide; requires compositing to work, otherwise the dialog will simply hide.
public AnimatedHide ( Plasma direction ) : void
direction Plasma
Результат void

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

Causes an animated show; requires compositing to work, otherwise the dialog will simply show.
public AnimatedShow ( Plasma direction ) : void
direction Plasma
Результат void

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

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

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

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

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

public Dialog ( QWidget parent ) : System
parent Qyoto.QWidget
Результат System

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

@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
Результат System

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

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

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

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

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

public GraphicsWidget ( ) : QGraphicsWidget
Результат Qyoto.QGraphicsWidget

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

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
Результат bool

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

Convenience method to get the enabled resize corners.
public ResizeCorners ( ) : uint
Результат uint

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

Sets the preferred aspect ratio mode for placement and resizing
public SetAspectRatioMode ( Plasma mode ) : void
mode Plasma
Результат void

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

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
Результат void

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

@arg corners the corners the resize handlers should be placed in.
public SetResizeHandleCorners ( uint corners ) : void
corners uint
Результат void

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

public aspectRatioMode ( ) : Plasma.AspectRatioMode
Результат Plasma.AspectRatioMode