#include <QxScene_ViewWindow.h>
|
| void | tryClose (bool &isClosed, QxScene_ViewWindow *window) |
| |
| void | tryClosing (SUIT_ViewWindow *) |
| |
| void | closing (SUIT_ViewWindow *) |
| |
| void | mousePressed (SUIT_ViewWindow *, QMouseEvent *) |
| |
| void | mouseReleased (SUIT_ViewWindow *, QMouseEvent *) |
| |
| void | mouseDoubleClicked (SUIT_ViewWindow *, QMouseEvent *) |
| |
| void | mouseMoving (SUIT_ViewWindow *, QMouseEvent *) |
| |
| void | wheeling (SUIT_ViewWindow *, QWheelEvent *) |
| |
| void | keyPressed (SUIT_ViewWindow *, QKeyEvent *) |
| |
| void | keyReleased (SUIT_ViewWindow *, QKeyEvent *) |
| |
| void | contextMenuRequested (QContextMenuEvent *e) |
| |
| void | viewModified (SUIT_ViewWindow *) |
| |
| void | vpStartRotate (int, int, qint64) |
| |
| void | vpRotate (int, int, qint64) |
| |
| void | vpEndRotate (int, int, qint64) |
| |
◆ anonymous enum
Actions ID.
| Enumerator |
|---|
| FitAllId | |
| FitRectId | |
| ZoomId | |
| ScaleOpId | |
| PanId | |
| GlobalPanId | |
| MoveOpId | |
| ResetId | |
◆ QxScene_ViewWindow()
◆ ~QxScene_ViewWindow()
| QxScene_ViewWindow::~QxScene_ViewWindow |
( |
| ) |
|
|
virtual |
◆ backgroundColor()
| QColor QxScene_ViewWindow::backgroundColor |
( |
| ) |
const |
Returns background of the viewport
References DEBTRACE.
◆ closeRequested()
| bool QxScene_ViewWindow::closeRequested |
( |
| ) |
|
|
virtual |
emits a signal to ask to close the schema associated to the window. A boolean in return indicates if it is OK to close.
References DEBTRACE, and tryClose().
◆ contextPopupEvent()
| void QxScene_ViewWindow::contextPopupEvent |
( |
QContextMenuEvent * |
theEvent | ) |
|
|
inline |
◆ createActions()
| void QxScene_ViewWindow::createActions |
( |
| ) |
|
|
private |
Creates actions of QxScene view window
References QtxActionMgr::action(), DEBTRACE, FitAllId, FitRectId, GlobalPanId, QtxActionSet::insertAction(), QtxResourceMgr::loadPixmap(), MoveOpId, onViewFitAll(), onViewFitArea(), onViewGlobalPan(), onViewPan(), onViewReset(), onViewZoom(), PanId, QtxActionMgr::registerAction(), ResetId, SUIT_Session::resourceMgr(), ScaleOpId, SUIT_Session::session(), SUIT_ViewWindow::toolMgr(), and ZoomId.
◆ createToolBar()
| void QxScene_ViewWindow::createToolBar |
( |
| ) |
|
|
private |
◆ getScene()
◆ getSceneView()
◆ getToolBar()
| QToolBar * QxScene_ViewWindow::getToolBar |
( |
| ) |
|
◆ getViewModel()
◆ initLayout()
| void QxScene_ViewWindow::initLayout |
( |
| ) |
|
|
virtual |
◆ onViewFitAll
| void QxScene_ViewWindow::onViewFitAll |
( |
| ) |
|
|
slot |
Fits all objects in the active view
References DEBTRACE.
◆ onViewFitArea
| void QxScene_ViewWindow::onViewFitArea |
( |
| ) |
|
|
slot |
Fits all obejcts within a rectangular area of the active view
References DEBTRACE.
◆ onViewGlobalPan
| void QxScene_ViewWindow::onViewGlobalPan |
( |
| ) |
|
|
slot |
Sets a new center of the active view
References DEBTRACE.
◆ onViewPan
| void QxScene_ViewWindow::onViewPan |
( |
| ) |
|
|
slot |
Moves the active view
References DEBTRACE.
◆ onViewReset
| void QxScene_ViewWindow::onViewReset |
( |
| ) |
|
|
slot |
Reset the active view
References DEBTRACE.
◆ onViewZoom
| void QxScene_ViewWindow::onViewZoom |
( |
| ) |
|
|
slot |
Zooms the active view
References DEBTRACE.
◆ resizeEvent()
| void QxScene_ViewWindow::resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
protected |
Custom resize event handler
References DEBTRACE.
◆ resMgr()
◆ setBackgroundColor()
| void QxScene_ViewWindow::setBackgroundColor |
( |
const QColor & |
| ) |
|
Set background of the viewport
References DEBTRACE.
◆ setScene()
◆ setSceneView()
| void QxScene_ViewWindow::setSceneView |
( |
QGraphicsView * |
sceneView | ) |
|
|
inline |
◆ setViewModel()
| void QxScene_ViewWindow::setViewModel |
( |
QxScene_Viewer * |
theViewModel | ) |
|
|
inline |
◆ tryClose
◆ _scene
◆ _sceneView
◆ myToolBar
| int QxScene_ViewWindow::myToolBar |
|
private |
◆ myViewModel
The documentation for this class was generated from the following files: