C# Class Qyoto.QGraphicsScene

Inheritance: QObject, IDisposable
Datei anzeigen Open project: 0xd34df00d/Qross Class Usage Examples

Private Properties

Property Type Description
Advance void
Clear void
ClearSelection void
ContextMenuEvent void
DragEnterEvent void
DragLeaveEvent void
DragMoveEvent void
DrawBackground void
DrawForeground void
DropEvent void
Event bool
EventFilter bool
FocusInEvent void
FocusNextPrevChild bool
FocusOutEvent void
HelpEvent void
InputMethodEvent void
InputMethodQuery QVariant
Invalidate void
Invalidate void
Invalidate void
KeyPressEvent void
KeyReleaseEvent void
MouseDoubleClickEvent void
MouseMoveEvent void
MousePressEvent void
MouseReleaseEvent void
QGraphicsScene System
Update void
Update void
WheelEvent void

Public Methods

Method Description
ActivePanel ( ) : IQGraphicsItem
ActiveWindow ( ) : QGraphicsWidget
AddEllipse ( Qyoto.QRectF rect ) : QGraphicsEllipseItem
AddEllipse ( Qyoto.QRectF rect, QPen pen ) : QGraphicsEllipseItem
AddEllipse ( Qyoto.QRectF rect, QPen pen, QBrush brush ) : QGraphicsEllipseItem
AddEllipse ( double x, double y, double w, double h ) : QGraphicsEllipseItem
AddEllipse ( double x, double y, double w, double h, QPen pen ) : QGraphicsEllipseItem
AddEllipse ( double x, double y, double w, double h, QPen pen, QBrush brush ) : QGraphicsEllipseItem
AddItem ( IQGraphicsItem item ) : void
AddLine ( QLineF line ) : Qyoto.QGraphicsLineItem
AddLine ( QLineF line, QPen pen ) : Qyoto.QGraphicsLineItem
AddLine ( double x1, double y1, double x2, double y2 ) : Qyoto.QGraphicsLineItem
AddLine ( double x1, double y1, double x2, double y2, QPen pen ) : Qyoto.QGraphicsLineItem
AddPath ( QPainterPath path ) : Qyoto.QGraphicsPathItem
AddPath ( QPainterPath path, QPen pen ) : Qyoto.QGraphicsPathItem
AddPath ( QPainterPath path, QPen pen, QBrush brush ) : Qyoto.QGraphicsPathItem
AddPixmap ( QPixmap pixmap ) : QGraphicsPixmapItem
AddPolygon ( QPolygonF polygon ) : Qyoto.QGraphicsPolygonItem
AddPolygon ( QPolygonF polygon, QPen pen ) : Qyoto.QGraphicsPolygonItem
AddPolygon ( QPolygonF polygon, QPen pen, QBrush brush ) : Qyoto.QGraphicsPolygonItem
AddRect ( Qyoto.QRectF rect ) : Qyoto.QGraphicsRectItem
AddRect ( Qyoto.QRectF rect, QPen pen ) : Qyoto.QGraphicsRectItem
AddRect ( Qyoto.QRectF rect, QPen pen, QBrush brush ) : Qyoto.QGraphicsRectItem
AddRect ( double x, double y, double w, double h ) : Qyoto.QGraphicsRectItem
AddRect ( double x, double y, double w, double h, QPen pen ) : Qyoto.QGraphicsRectItem
AddRect ( double x, double y, double w, double h, QPen pen, QBrush brush ) : Qyoto.QGraphicsRectItem
AddSimpleText ( string text ) : Qyoto.QGraphicsSimpleTextItem
AddSimpleText ( string text, QFont font ) : QGraphicsSimpleTextItem
AddText ( string text ) : QGraphicsTextItem
AddText ( string text, QFont font ) : QGraphicsTextItem
AddWidget ( QWidget widget ) : QGraphicsProxyWidget
AddWidget ( QWidget widget, uint wFlags ) : QGraphicsProxyWidget
ClearFocus ( ) : void
CollidingItems ( IQGraphicsItem item ) : List
CollidingItems ( IQGraphicsItem item, Qt mode ) : List
CreateItemGroup ( List items ) : QGraphicsItemGroup
DestroyItemGroup ( QGraphicsItemGroup group ) : void
Dispose ( ) : void
FocusItem ( ) : IQGraphicsItem
HasFocus ( ) : bool
Height ( ) : double
Invalidate ( double x, double y, double w, double h ) : void
Invalidate ( double x, double y, double w, double h, uint layers ) : void
IsActive ( ) : bool
ItemAt ( QPointF pos ) : IQGraphicsItem
ItemAt ( QPointF pos, QTransform deviceTransform ) : IQGraphicsItem
ItemAt ( double x, double y ) : IQGraphicsItem
ItemAt ( double x, double y, QTransform deviceTransform ) : IQGraphicsItem
Items ( ) : List
Items ( QPainterPath path ) : List
Items ( QPainterPath path, Qt mode ) : List
Items ( QPainterPath path, Qt mode, Qt order ) : List
Items ( QPainterPath path, Qt mode, Qt order, QTransform deviceTransform ) : List
Items ( QPointF pos ) : List
Items ( QPointF pos, Qt mode, Qt order ) : List
Items ( QPointF pos, Qt mode, Qt order, QTransform deviceTransform ) : List
Items ( QPolygonF polygon ) : List
Items ( QPolygonF polygon, Qt mode ) : List
Items ( QPolygonF polygon, Qt mode, Qt order ) : List
Items ( QPolygonF polygon, Qt mode, Qt order, QTransform deviceTransform ) : List
Items ( QRectF rect ) : List
Items ( QRectF rect, Qt mode ) : List
Items ( QRectF rect, Qt mode, Qt order ) : List
Items ( QRectF rect, Qt mode, Qt order, QTransform deviceTransform ) : List
Items ( Qt order ) : List
Items ( double x, double y, double w, double h ) : List
Items ( double x, double y, double w, double h, Qt mode ) : List
Items ( double x, double y, double w, double h, Qt mode, Qt order ) : List
Items ( double x, double y, double w, double h, Qt mode, Qt order, QTransform deviceTransform ) : List
ItemsBoundingRect ( ) : QRectF
MouseGrabberItem ( ) : IQGraphicsItem
QGraphicsScene ( QObject parent ) : System
QGraphicsScene ( QRectF sceneRect ) : System
QGraphicsScene ( QRectF sceneRect, QObject parent ) : System
QGraphicsScene ( double x, double y, double width, double height ) : System
QGraphicsScene ( double x, double y, double width, double height, QObject parent ) : System
RemoveItem ( IQGraphicsItem item ) : void
Render ( QPainter painter ) : void
Render ( QPainter painter, QRectF target ) : void
Render ( QPainter painter, QRectF target, QRectF source ) : void
Render ( QPainter painter, QRectF target, QRectF source, Qt aspectRatioMode ) : void
SelectedItems ( ) : List
SelectionArea ( ) : QPainterPath
SendEvent ( IQGraphicsItem item, QEvent arg2 ) : bool
SetActivePanel ( IQGraphicsItem item ) : void
SetActiveWindow ( QGraphicsWidget widget ) : void
SetFocus ( ) : void
SetFocus ( Qt focusReason ) : void
SetFocusItem ( IQGraphicsItem item ) : void
SetFocusItem ( IQGraphicsItem item, Qt focusReason ) : void
SetSceneRect ( double x, double y, double w, double h ) : void
SetSelectionArea ( QPainterPath path ) : void
SetSelectionArea ( QPainterPath path, QTransform deviceTransform ) : void
SetSelectionArea ( QPainterPath path, Qt mode ) : void
SetSelectionArea ( QPainterPath path, Qt mode, QTransform deviceTransform ) : void
SetStyle ( QStyle style ) : void
Style ( ) : QStyle
Tr ( string s ) : string
Tr ( string s, string c ) : string
Update ( double x, double y, double w, double h ) : void
Views ( ) : List
Width ( ) : double

Protected Methods

Method Description
CreateProxy ( ) : void
QGraphicsScene ( Type dummy ) : System

Private Methods

Method Description
Advance ( ) : void
Clear ( ) : void
ClearSelection ( ) : void
ContextMenuEvent ( QGraphicsSceneContextMenuEvent arg1 ) : void
DragEnterEvent ( QGraphicsSceneDragDropEvent arg1 ) : void
DragLeaveEvent ( QGraphicsSceneDragDropEvent arg1 ) : void
DragMoveEvent ( QGraphicsSceneDragDropEvent arg1 ) : void
DrawBackground ( QPainter painter, QRectF rect ) : void
DrawForeground ( QPainter painter, QRectF rect ) : void
DropEvent ( QGraphicsSceneDragDropEvent arg1 ) : void
Event ( QEvent arg1 ) : bool
EventFilter ( QObject watched, QEvent arg2 ) : bool
FocusInEvent ( QFocusEvent arg1 ) : void
FocusNextPrevChild ( bool next ) : bool
FocusOutEvent ( QFocusEvent arg1 ) : void
HelpEvent ( QGraphicsSceneHelpEvent arg1 ) : void
InputMethodEvent ( QInputMethodEvent arg1 ) : void
InputMethodQuery ( Qt query ) : QVariant
Invalidate ( ) : void
Invalidate ( QRectF rect ) : void
Invalidate ( QRectF rect, uint layers ) : void
KeyPressEvent ( QKeyEvent arg1 ) : void
KeyReleaseEvent ( QKeyEvent arg1 ) : void
MouseDoubleClickEvent ( QGraphicsSceneMouseEvent arg1 ) : void
MouseMoveEvent ( QGraphicsSceneMouseEvent arg1 ) : void
MousePressEvent ( QGraphicsSceneMouseEvent arg1 ) : void
MouseReleaseEvent ( QGraphicsSceneMouseEvent arg1 ) : void
QGraphicsScene ( ) : System
Update ( ) : void
Update ( QRectF rect ) : void
WheelEvent ( QGraphicsSceneWheelEvent arg1 ) : void

Method Details

ActivePanel() public method

public ActivePanel ( ) : IQGraphicsItem
return IQGraphicsItem

ActiveWindow() public method

public ActiveWindow ( ) : QGraphicsWidget
return QGraphicsWidget

AddEllipse() public method

public AddEllipse ( Qyoto.QRectF rect ) : QGraphicsEllipseItem
rect Qyoto.QRectF
return QGraphicsEllipseItem

AddEllipse() public method

public AddEllipse ( Qyoto.QRectF rect, QPen pen ) : QGraphicsEllipseItem
rect Qyoto.QRectF
pen QPen
return QGraphicsEllipseItem

AddEllipse() public method

public AddEllipse ( Qyoto.QRectF rect, QPen pen, QBrush brush ) : QGraphicsEllipseItem
rect Qyoto.QRectF
pen QPen
brush QBrush
return QGraphicsEllipseItem

AddEllipse() public method

public AddEllipse ( double x, double y, double w, double h ) : QGraphicsEllipseItem
x double
y double
w double
h double
return QGraphicsEllipseItem

AddEllipse() public method

public AddEllipse ( double x, double y, double w, double h, QPen pen ) : QGraphicsEllipseItem
x double
y double
w double
h double
pen QPen
return QGraphicsEllipseItem

AddEllipse() public method

public AddEllipse ( double x, double y, double w, double h, QPen pen, QBrush brush ) : QGraphicsEllipseItem
x double
y double
w double
h double
pen QPen
brush QBrush
return QGraphicsEllipseItem

AddItem() public method

public AddItem ( IQGraphicsItem item ) : void
item IQGraphicsItem
return void

AddLine() public method

public AddLine ( QLineF line ) : Qyoto.QGraphicsLineItem
line QLineF
return Qyoto.QGraphicsLineItem

AddLine() public method

public AddLine ( QLineF line, QPen pen ) : Qyoto.QGraphicsLineItem
line QLineF
pen QPen
return Qyoto.QGraphicsLineItem

AddLine() public method

public AddLine ( double x1, double y1, double x2, double y2 ) : Qyoto.QGraphicsLineItem
x1 double
y1 double
x2 double
y2 double
return Qyoto.QGraphicsLineItem

AddLine() public method

public AddLine ( double x1, double y1, double x2, double y2, QPen pen ) : Qyoto.QGraphicsLineItem
x1 double
y1 double
x2 double
y2 double
pen QPen
return Qyoto.QGraphicsLineItem

AddPath() public method

public AddPath ( QPainterPath path ) : Qyoto.QGraphicsPathItem
path QPainterPath
return Qyoto.QGraphicsPathItem

AddPath() public method

public AddPath ( QPainterPath path, QPen pen ) : Qyoto.QGraphicsPathItem
path QPainterPath
pen QPen
return Qyoto.QGraphicsPathItem

AddPath() public method

public AddPath ( QPainterPath path, QPen pen, QBrush brush ) : Qyoto.QGraphicsPathItem
path QPainterPath
pen QPen
brush QBrush
return Qyoto.QGraphicsPathItem

AddPixmap() public method

public AddPixmap ( QPixmap pixmap ) : QGraphicsPixmapItem
pixmap QPixmap
return QGraphicsPixmapItem

AddPolygon() public method

public AddPolygon ( QPolygonF polygon ) : Qyoto.QGraphicsPolygonItem
polygon QPolygonF
return Qyoto.QGraphicsPolygonItem

AddPolygon() public method

public AddPolygon ( QPolygonF polygon, QPen pen ) : Qyoto.QGraphicsPolygonItem
polygon QPolygonF
pen QPen
return Qyoto.QGraphicsPolygonItem

AddPolygon() public method

public AddPolygon ( QPolygonF polygon, QPen pen, QBrush brush ) : Qyoto.QGraphicsPolygonItem
polygon QPolygonF
pen QPen
brush QBrush
return Qyoto.QGraphicsPolygonItem

AddRect() public method

public AddRect ( Qyoto.QRectF rect ) : Qyoto.QGraphicsRectItem
rect Qyoto.QRectF
return Qyoto.QGraphicsRectItem

AddRect() public method

public AddRect ( Qyoto.QRectF rect, QPen pen ) : Qyoto.QGraphicsRectItem
rect Qyoto.QRectF
pen QPen
return Qyoto.QGraphicsRectItem

AddRect() public method

public AddRect ( Qyoto.QRectF rect, QPen pen, QBrush brush ) : Qyoto.QGraphicsRectItem
rect Qyoto.QRectF
pen QPen
brush QBrush
return Qyoto.QGraphicsRectItem

AddRect() public method

public AddRect ( double x, double y, double w, double h ) : Qyoto.QGraphicsRectItem
x double
y double
w double
h double
return Qyoto.QGraphicsRectItem

AddRect() public method

public AddRect ( double x, double y, double w, double h, QPen pen ) : Qyoto.QGraphicsRectItem
x double
y double
w double
h double
pen QPen
return Qyoto.QGraphicsRectItem

AddRect() public method

public AddRect ( double x, double y, double w, double h, QPen pen, QBrush brush ) : Qyoto.QGraphicsRectItem
x double
y double
w double
h double
pen QPen
brush QBrush
return Qyoto.QGraphicsRectItem

AddSimpleText() public method

public AddSimpleText ( string text ) : Qyoto.QGraphicsSimpleTextItem
text string
return Qyoto.QGraphicsSimpleTextItem

AddSimpleText() public method

public AddSimpleText ( string text, QFont font ) : QGraphicsSimpleTextItem
text string
font QFont
return QGraphicsSimpleTextItem

AddText() public method

public AddText ( string text ) : QGraphicsTextItem
text string
return QGraphicsTextItem

AddText() public method

public AddText ( string text, QFont font ) : QGraphicsTextItem
text string
font QFont
return QGraphicsTextItem

AddWidget() public method

public AddWidget ( QWidget widget ) : QGraphicsProxyWidget
widget QWidget
return QGraphicsProxyWidget

AddWidget() public method

public AddWidget ( QWidget widget, uint wFlags ) : QGraphicsProxyWidget
widget QWidget
wFlags uint
return QGraphicsProxyWidget

ClearFocus() public method

public ClearFocus ( ) : void
return void

CollidingItems() public method

public CollidingItems ( IQGraphicsItem item ) : List
item IQGraphicsItem
return List

CollidingItems() public method

public CollidingItems ( IQGraphicsItem item, Qt mode ) : List
item IQGraphicsItem
mode Qt
return List

CreateItemGroup() public method

public CreateItemGroup ( List items ) : QGraphicsItemGroup
items List
return QGraphicsItemGroup

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

DestroyItemGroup() public method

public DestroyItemGroup ( QGraphicsItemGroup group ) : void
group QGraphicsItemGroup
return void

Dispose() public method

public Dispose ( ) : void
return void

FocusItem() public method

public FocusItem ( ) : IQGraphicsItem
return IQGraphicsItem

HasFocus() public method

public HasFocus ( ) : bool
return bool

Height() public method

public Height ( ) : double
return double

Invalidate() public method

public Invalidate ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

Invalidate() public method

public Invalidate ( double x, double y, double w, double h, uint layers ) : void
x double
y double
w double
h double
layers uint
return void

IsActive() public method

public IsActive ( ) : bool
return bool

ItemAt() public method

public ItemAt ( QPointF pos ) : IQGraphicsItem
pos QPointF
return IQGraphicsItem

ItemAt() public method

public ItemAt ( QPointF pos, QTransform deviceTransform ) : IQGraphicsItem
pos QPointF
deviceTransform QTransform
return IQGraphicsItem

ItemAt() public method

public ItemAt ( double x, double y ) : IQGraphicsItem
x double
y double
return IQGraphicsItem

ItemAt() public method

public ItemAt ( double x, double y, QTransform deviceTransform ) : IQGraphicsItem
x double
y double
deviceTransform QTransform
return IQGraphicsItem

Items() public method

public Items ( ) : List
return List

Items() public method

public Items ( QPainterPath path ) : List
path QPainterPath
return List

Items() public method

public Items ( QPainterPath path, Qt mode ) : List
path QPainterPath
mode Qt
return List

Items() public method

public Items ( QPainterPath path, Qt mode, Qt order ) : List
path QPainterPath
mode Qt
order Qt
return List

Items() public method

public Items ( QPainterPath path, Qt mode, Qt order, QTransform deviceTransform ) : List
path QPainterPath
mode Qt
order Qt
deviceTransform QTransform
return List

Items() public method

public Items ( QPointF pos ) : List
pos QPointF
return List

Items() public method

public Items ( QPointF pos, Qt mode, Qt order ) : List
pos QPointF
mode Qt
order Qt
return List

Items() public method

public Items ( QPointF pos, Qt mode, Qt order, QTransform deviceTransform ) : List
pos QPointF
mode Qt
order Qt
deviceTransform QTransform
return List

Items() public method

public Items ( QPolygonF polygon ) : List
polygon QPolygonF
return List

Items() public method

public Items ( QPolygonF polygon, Qt mode ) : List
polygon QPolygonF
mode Qt
return List

Items() public method

public Items ( QPolygonF polygon, Qt mode, Qt order ) : List
polygon QPolygonF
mode Qt
order Qt
return List

Items() public method

public Items ( QPolygonF polygon, Qt mode, Qt order, QTransform deviceTransform ) : List
polygon QPolygonF
mode Qt
order Qt
deviceTransform QTransform
return List

Items() public method

public Items ( QRectF rect ) : List
rect QRectF
return List

Items() public method

public Items ( QRectF rect, Qt mode ) : List
rect QRectF
mode Qt
return List

Items() public method

public Items ( QRectF rect, Qt mode, Qt order ) : List
rect QRectF
mode Qt
order Qt
return List

Items() public method

public Items ( QRectF rect, Qt mode, Qt order, QTransform deviceTransform ) : List
rect QRectF
mode Qt
order Qt
deviceTransform QTransform
return List

Items() public method

public Items ( Qt order ) : List
order Qt
return List

Items() public method

public Items ( double x, double y, double w, double h ) : List
x double
y double
w double
h double
return List

Items() public method

public Items ( double x, double y, double w, double h, Qt mode ) : List
x double
y double
w double
h double
mode Qt
return List

Items() public method

public Items ( double x, double y, double w, double h, Qt mode, Qt order ) : List
x double
y double
w double
h double
mode Qt
order Qt
return List

Items() public method

public Items ( double x, double y, double w, double h, Qt mode, Qt order, QTransform deviceTransform ) : List
x double
y double
w double
h double
mode Qt
order Qt
deviceTransform QTransform
return List

ItemsBoundingRect() public method

public ItemsBoundingRect ( ) : QRectF
return QRectF

MouseGrabberItem() public method

public MouseGrabberItem ( ) : IQGraphicsItem
return IQGraphicsItem

QGraphicsScene() public method

public QGraphicsScene ( QObject parent ) : System
parent QObject
return System

QGraphicsScene() public method

public QGraphicsScene ( QRectF sceneRect ) : System
sceneRect QRectF
return System

QGraphicsScene() public method

public QGraphicsScene ( QRectF sceneRect, QObject parent ) : System
sceneRect QRectF
parent QObject
return System

QGraphicsScene() protected method

protected QGraphicsScene ( Type dummy ) : System
dummy Type
return System

QGraphicsScene() public method

public QGraphicsScene ( double x, double y, double width, double height ) : System
x double
y double
width double
height double
return System

QGraphicsScene() public method

public QGraphicsScene ( double x, double y, double width, double height, QObject parent ) : System
x double
y double
width double
height double
parent QObject
return System

RemoveItem() public method

public RemoveItem ( IQGraphicsItem item ) : void
item IQGraphicsItem
return void

Render() public method

public Render ( QPainter painter ) : void
painter QPainter
return void

Render() public method

public Render ( QPainter painter, QRectF target ) : void
painter QPainter
target QRectF
return void

Render() public method

public Render ( QPainter painter, QRectF target, QRectF source ) : void
painter QPainter
target QRectF
source QRectF
return void

Render() public method

public Render ( QPainter painter, QRectF target, QRectF source, Qt aspectRatioMode ) : void
painter QPainter
target QRectF
source QRectF
aspectRatioMode Qt
return void

SelectedItems() public method

public SelectedItems ( ) : List
return List

SelectionArea() public method

public SelectionArea ( ) : QPainterPath
return QPainterPath

SendEvent() public method

public SendEvent ( IQGraphicsItem item, QEvent arg2 ) : bool
item IQGraphicsItem
arg2 QEvent
return bool

SetActivePanel() public method

public SetActivePanel ( IQGraphicsItem item ) : void
item IQGraphicsItem
return void

SetActiveWindow() public method

public SetActiveWindow ( QGraphicsWidget widget ) : void
widget QGraphicsWidget
return void

SetFocus() public method

public SetFocus ( ) : void
return void

SetFocus() public method

public SetFocus ( Qt focusReason ) : void
focusReason Qt
return void

SetFocusItem() public method

public SetFocusItem ( IQGraphicsItem item ) : void
item IQGraphicsItem
return void

SetFocusItem() public method

public SetFocusItem ( IQGraphicsItem item, Qt focusReason ) : void
item IQGraphicsItem
focusReason Qt
return void

SetSceneRect() public method

public SetSceneRect ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

SetSelectionArea() public method

public SetSelectionArea ( QPainterPath path ) : void
path QPainterPath
return void

SetSelectionArea() public method

public SetSelectionArea ( QPainterPath path, QTransform deviceTransform ) : void
path QPainterPath
deviceTransform QTransform
return void

SetSelectionArea() public method

public SetSelectionArea ( QPainterPath path, Qt mode ) : void
path QPainterPath
mode Qt
return void

SetSelectionArea() public method

public SetSelectionArea ( QPainterPath path, Qt mode, QTransform deviceTransform ) : void
path QPainterPath
mode Qt
deviceTransform QTransform
return void

SetStyle() public method

public SetStyle ( QStyle style ) : void
style QStyle
return void

Style() public method

public Style ( ) : QStyle
return QStyle

Tr() public static method

public static Tr ( string s ) : string
s string
return string

Tr() public static method

public static Tr ( string s, string c ) : string
s string
c string
return string

Update() public method

public Update ( double x, double y, double w, double h ) : void
x double
y double
w double
h double
return void

Views() public method

public Views ( ) : List
return List

Width() public method

public Width ( ) : double
return double