Свойство | Тип | Описание | |
---|---|---|---|
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 ( ) : |
||
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. | |
ScrollWidget ( ) : System | ||
ScrollWidget ( IQGraphicsItem parent ) : System | ||
ScrollWidget ( |
Constructs a new ScrollWidget @arg parent the parent of this widget | |
UnregisterAsDragHandle ( |
Unregister the given item as drag handle (if it was registered) |
Метод | Описание | |
---|---|---|
CreateProxy ( ) : void | ||
ScrollWidget ( |
Метод | Описание | |
---|---|---|
EventFilter ( |
||
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 ( |
||
WheelEvent ( Qyoto.QGraphicsSceneWheelEvent arg1 ) : void |
public EnsureItemVisible ( IQGraphicsItem item ) : void | ||
item | IQGraphicsItem | |
Результат | void |
public EnsureRectVisible ( Qyoto.QRectF rect ) : void | ||
rect | Qyoto.QRectF | |
Результат | void |
public RegisterAsDragHandle ( |
||
item | ||
Результат | void |
public ScrollWidget ( IQGraphicsItem parent ) : System | ||
parent | IQGraphicsItem | |
Результат | System |
public ScrollWidget ( |
||
parent | ||
Результат | System |
protected ScrollWidget ( |
||
dummy | ||
Результат | System |
public UnregisterAsDragHandle ( |
||
item | ||
Результат | void |