#include <QxScene_ViewWindow.h>
Enumerator |
---|
FitAllId |
|
FitRectId |
|
ZoomId |
|
ScaleOpId |
|
PanId |
|
GlobalPanId |
|
MoveOpId |
|
ResetId |
|
QxScene_ViewWindow::~QxScene_ViewWindow |
( |
| ) |
|
|
virtual |
QColor QxScene_ViewWindow::backgroundColor |
( |
| ) |
const |
Returns background of the viewport
References DEBTRACE.
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().
void QxScene_ViewWindow::contextPopupEvent |
( |
QContextMenuEvent * |
theEvent | ) |
|
|
inline |
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.
void QxScene_ViewWindow::createToolBar |
( |
| ) |
|
|
private |
QToolBar * QxScene_ViewWindow::getToolBar |
( |
| ) |
|
void QxScene_ViewWindow::initLayout |
( |
| ) |
|
|
virtual |
void QxScene_ViewWindow::onViewFitAll |
( |
| ) |
|
|
slot |
Fits all objects in the active view
References DEBTRACE.
void QxScene_ViewWindow::onViewFitArea |
( |
| ) |
|
|
slot |
Fits all obejcts within a rectangular area of the active view
References DEBTRACE.
void QxScene_ViewWindow::onViewGlobalPan |
( |
| ) |
|
|
slot |
Sets a new center of the active view
References DEBTRACE.
void QxScene_ViewWindow::onViewPan |
( |
| ) |
|
|
slot |
Moves the active view
References DEBTRACE.
void QxScene_ViewWindow::onViewReset |
( |
| ) |
|
|
slot |
Reset the active view
References DEBTRACE.
void QxScene_ViewWindow::onViewZoom |
( |
| ) |
|
|
slot |
Zooms the active view
References DEBTRACE.
void QxScene_ViewWindow::resizeEvent |
( |
QResizeEvent * |
theEvent | ) |
|
|
protected |
Custom resize event handler
References DEBTRACE.
void QxScene_ViewWindow::setBackgroundColor |
( |
const QColor & |
color | ) |
|
Set background of the viewport
References DEBTRACE.
void QxScene_ViewWindow::setSceneView |
( |
QGraphicsView * |
sceneView | ) |
|
|
inline |
void QxScene_ViewWindow::setViewModel |
( |
QxScene_Viewer * |
theViewModel | ) |
|
|
inline |
int QxScene_ViewWindow::myToolBar |
|
private |
The documentation for this class was generated from the following files: