C# 클래스 Plasma.ScrollWidget

상속: Qyoto.QGraphicsWidget, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross

Private Properties

프로퍼티 타입 설명
EventFilter bool
FocusInEvent void
MouseMoveEvent void
MousePressEvent void
MouseReleaseEvent void
ResizeEvent void
SizeHint Qyoto.QSizeF
WheelEvent void

공개 메소드들

메소드 설명
Dispose ( ) : void
EnsureItemVisible ( IQGraphicsItem item ) : void Scroll the view until the given item is visible name="item" item we want visible
EnsureRectVisible ( Qyoto.QRectF rect ) : void Scroll the view until the given rectangle is visible name="rect" rect we want visible, in coordinates mapped to the inner widget
NativeWidget ( ) : QWidget
RegisterAsDragHandle ( QGraphicsWidget item ) : void Register an item as a drag handle, it means mouse events will pass trough it and will be possible to drag the view by dragging the item itself. The item will still receive mouse clicks if the mouse didn't move between press and release. name="item" the drag handle item. widget() must be an ancestor if it in the parent hierarchy. if item doesn't accept mose press events it's not necessary to call this function.
ScrollWidget ( ) : System
ScrollWidget ( IQGraphicsItem parent ) : System
ScrollWidget ( QGraphicsWidget parent ) : System Constructs a new ScrollWidget @arg parent the parent of this widget
UnregisterAsDragHandle ( QGraphicsWidget item ) : void Unregister the given item as drag handle (if it was registered)

보호된 메소드들

메소드 설명
CreateProxy ( ) : void
ScrollWidget ( Type dummy ) : System

비공개 메소드들

메소드 설명
EventFilter ( QObject watched, Qyoto.QEvent arg2 ) : bool
FocusInEvent ( Qyoto.QFocusEvent arg1 ) : void
MouseMoveEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MousePressEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
MouseReleaseEvent ( Qyoto.QGraphicsSceneMouseEvent arg1 ) : void
ResizeEvent ( Qyoto.QGraphicsSceneResizeEvent arg1 ) : void
SizeHint ( Qt which, Qyoto.QSizeF constraint ) : Qyoto.QSizeF
WheelEvent ( Qyoto.QGraphicsSceneWheelEvent arg1 ) : void

메소드 상세

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnsureItemVisible() 공개 메소드

Scroll the view until the given item is visible name="item" item we want visible
public EnsureItemVisible ( IQGraphicsItem item ) : void
item IQGraphicsItem
리턴 void

EnsureRectVisible() 공개 메소드

Scroll the view until the given rectangle is visible name="rect" rect we want visible, in coordinates mapped to the inner widget
public EnsureRectVisible ( Qyoto.QRectF rect ) : void
rect Qyoto.QRectF
리턴 void

NativeWidget() 공개 메소드

public NativeWidget ( ) : QWidget
리턴 Qyoto.QWidget

RegisterAsDragHandle() 공개 메소드

Register an item as a drag handle, it means mouse events will pass trough it and will be possible to drag the view by dragging the item itself. The item will still receive mouse clicks if the mouse didn't move between press and release. name="item" the drag handle item. widget() must be an ancestor if it in the parent hierarchy. if item doesn't accept mose press events it's not necessary to call this function.
public RegisterAsDragHandle ( QGraphicsWidget item ) : void
item Qyoto.QGraphicsWidget
리턴 void

ScrollWidget() 공개 메소드

public ScrollWidget ( ) : System
리턴 System

ScrollWidget() 공개 메소드

public ScrollWidget ( IQGraphicsItem parent ) : System
parent IQGraphicsItem
리턴 System

ScrollWidget() 공개 메소드

Constructs a new ScrollWidget @arg parent the parent of this widget
public ScrollWidget ( QGraphicsWidget parent ) : System
parent Qyoto.QGraphicsWidget
리턴 System

ScrollWidget() 보호된 메소드

protected ScrollWidget ( Type dummy ) : System
dummy System.Type
리턴 System

UnregisterAsDragHandle() 공개 메소드

Unregister the given item as drag handle (if it was registered)
public UnregisterAsDragHandle ( QGraphicsWidget item ) : void
item Qyoto.QGraphicsWidget
리턴 void