#include <qoccframe.h>
Collaboration diagram for QoccFrame:
Public Slots | |
void | fitArea () |
void | fitAll () |
void | fitExtents () |
void | viewAxo () |
void | viewTop () |
void | viewLeft () |
void | viewFront () |
void | viewTopFront () |
Public Member Functions | |
QoccFrame (QoccController *aContext=NULL, QWidget *parent=NULL, Qt::WindowFlags wflags=0) | |
Constructor for QoccFrame. This constructor creates an uninitialised window for rendering a Handle_V3d_View based OpenCASCADE 3D viewer. | |
~QoccFrame () | |
The class destructor. | |
Qocc3dWidget * | getWidget () |
QToolBar * | getToolBar () |
Private Member Functions | |
void | setToolbarActions (void) |
void | createActions (void) |
createActions sets up all the singleton toolbar actions, and calls the grouped action functions. | |
void | connectActions (void) |
void | disconnectActions (void) |
void | connectParent (void) |
void | disconnectParent (void) |
void | createZoomGroup (void) |
void | createViewGroup (void) |
void | invokeAction (QAction *group, QAction *action, const char *signal) |
Private Attributes | |
QoccController * | myController |
Qocc3dWidget * | myWidget |
QToolBar * | myToolBar |
QVBoxLayout * | myLayout |
QoccMainWindow * | myParent |
QAction * | actionIdle |
QAction * | actionZoomGroup |
QMenu * | popupZoomGroup |
QAction * | actionFitExtents |
QAction * | actionFitArea |
QAction * | actionFitAll |
QAction * | actionViewGroup |
QMenu * | popupViewGroup |
QAction * | actionViewTop |
QAction * | actionViewFront |
QAction * | actionViewTopFront |
QAction * | actionViewLeft |
QAction * | actionViewAxo |
Definition at line 41 of file qoccframe.h.
QoccFrame::QoccFrame | ( | QoccController * | aController = NULL , |
|
QWidget * | parent = NULL , |
|||
Qt::WindowFlags | wflags = 0 | |||
) |
Constructor for QoccFrame. This constructor creates an uninitialised window for rendering a Handle_V3d_View based OpenCASCADE 3D viewer.
aContext | The widget's AIS context | |
parent | The widget's parent widget | |
wflags | The widget's window configuration flags |
Definition at line 49 of file qoccframe.cpp.
References connectActions(), connectParent(), createActions(), myController, myLayout, myParent, myToolBar, myWidget, and setToolbarActions().
Here is the call graph for this function:
QoccFrame::~QoccFrame | ( | ) |
The class destructor.
Definition at line 78 of file qoccframe.cpp.
References actionFitAll, actionFitArea, actionFitExtents, actionZoomGroup, disconnectActions(), disconnectParent(), myLayout, myToolBar, and myWidget.
Here is the call graph for this function:
void QoccFrame::connectActions | ( | void | ) | [private] |
Definition at line 181 of file qoccframe.cpp.
References actionFitAll, actionFitArea, actionFitExtents, actionIdle, actionViewAxo, actionViewFront, actionViewGroup, actionViewLeft, actionViewTop, actionViewTopFront, actionZoomGroup, fitAll(), fitArea(), fitExtents(), myWidget, viewAxo(), viewFront(), viewLeft(), viewTop(), and viewTopFront().
Referenced by QoccFrame().
Here is the caller graph for this function:
void QoccFrame::connectParent | ( | void | ) | [private] |
Definition at line 211 of file qoccframe.cpp.
References myController, myParent, and myWidget.
Referenced by QoccFrame().
Here is the caller graph for this function:
void QoccFrame::createActions | ( | void | ) | [private] |
createActions sets up all the singleton toolbar actions, and calls the grouped action functions.
Definition at line 97 of file qoccframe.cpp.
References actionIdle, createViewGroup(), and createZoomGroup().
Referenced by QoccFrame().
Here is the call graph for this function:
Here is the caller graph for this function:
void QoccFrame::createViewGroup | ( | void | ) | [private] |
Definition at line 134 of file qoccframe.cpp.
References actionViewAxo, actionViewFront, actionViewGroup, actionViewLeft, actionViewTop, actionViewTopFront, and popupViewGroup.
Referenced by createActions().
Here is the caller graph for this function:
void QoccFrame::createZoomGroup | ( | void | ) | [private] |
Definition at line 107 of file qoccframe.cpp.
References actionFitAll, actionFitArea, actionFitExtents, actionZoomGroup, and popupZoomGroup.
Referenced by createActions().
Here is the caller graph for this function:
void QoccFrame::disconnectActions | ( | void | ) | [private] |
Definition at line 201 of file qoccframe.cpp.
References actionFitAll, actionFitArea, actionFitExtents, actionIdle, and actionZoomGroup.
Referenced by ~QoccFrame().
Here is the caller graph for this function:
void QoccFrame::disconnectParent | ( | void | ) | [private] |
Definition at line 233 of file qoccframe.cpp.
References myWidget.
Referenced by ~QoccFrame().
Here is the caller graph for this function:
void QoccFrame::fitAll | ( | ) | [slot] |
Definition at line 261 of file qoccframe.cpp.
References actionFitAll, actionZoomGroup, and invokeAction().
Referenced by connectActions().
void QoccFrame::fitArea | ( | ) | [slot] |
Definition at line 256 of file qoccframe.cpp.
References actionFitArea, actionZoomGroup, and invokeAction().
Referenced by connectActions().
void QoccFrame::fitExtents | ( | ) | [slot] |
Definition at line 251 of file qoccframe.cpp.
References actionFitExtents, actionZoomGroup, and invokeAction().
Referenced by connectActions().
QToolBar* QoccFrame::getToolBar | ( | ) | [inline] |
Definition at line 54 of file qoccframe.h.
Qocc3dWidget* QoccFrame::getWidget | ( | ) | [inline] |
Definition at line 53 of file qoccframe.h.
void QoccFrame::invokeAction | ( | QAction * | group, | |
QAction * | action, | |||
const char * | signal | |||
) | [private] |
Definition at line 238 of file qoccframe.cpp.
References myWidget.
Referenced by fitAll(), fitArea(), fitExtents(), viewAxo(), viewFront(), viewLeft(), viewTop(), and viewTopFront().
void QoccFrame::setToolbarActions | ( | void | ) | [private] |
Definition at line 172 of file qoccframe.cpp.
References actionIdle, actionViewGroup, actionZoomGroup, and myToolBar.
Referenced by QoccFrame().
Here is the caller graph for this function:
void QoccFrame::viewAxo | ( | ) | [slot] |
Definition at line 266 of file qoccframe.cpp.
References actionViewAxo, actionViewGroup, and invokeAction().
Referenced by connectActions().
void QoccFrame::viewFront | ( | ) | [slot] |
Definition at line 276 of file qoccframe.cpp.
References actionViewFront, actionViewGroup, and invokeAction().
Referenced by connectActions().
void QoccFrame::viewLeft | ( | ) | [slot] |
Definition at line 286 of file qoccframe.cpp.
References actionViewGroup, actionViewLeft, and invokeAction().
Referenced by connectActions().
void QoccFrame::viewTop | ( | ) | [slot] |
Definition at line 271 of file qoccframe.cpp.
References actionViewGroup, actionViewTop, and invokeAction().
Referenced by connectActions().
void QoccFrame::viewTopFront | ( | ) | [slot] |
Definition at line 281 of file qoccframe.cpp.
References actionViewGroup, actionViewTopFront, and invokeAction().
Referenced by connectActions().
QAction* QoccFrame::actionFitAll [private] |
Definition at line 84 of file qoccframe.h.
Referenced by connectActions(), createZoomGroup(), disconnectActions(), fitAll(), and ~QoccFrame().
QAction* QoccFrame::actionFitArea [private] |
Definition at line 83 of file qoccframe.h.
Referenced by connectActions(), createZoomGroup(), disconnectActions(), fitArea(), and ~QoccFrame().
QAction* QoccFrame::actionFitExtents [private] |
Definition at line 82 of file qoccframe.h.
Referenced by connectActions(), createZoomGroup(), disconnectActions(), fitExtents(), and ~QoccFrame().
QAction* QoccFrame::actionIdle [private] |
Definition at line 78 of file qoccframe.h.
Referenced by connectActions(), createActions(), disconnectActions(), and setToolbarActions().
QAction* QoccFrame::actionViewAxo [private] |
Definition at line 92 of file qoccframe.h.
Referenced by connectActions(), createViewGroup(), and viewAxo().
QAction* QoccFrame::actionViewFront [private] |
Definition at line 89 of file qoccframe.h.
Referenced by connectActions(), createViewGroup(), and viewFront().
QAction* QoccFrame::actionViewGroup [private] |
Definition at line 86 of file qoccframe.h.
Referenced by connectActions(), createViewGroup(), setToolbarActions(), viewAxo(), viewFront(), viewLeft(), viewTop(), and viewTopFront().
QAction* QoccFrame::actionViewLeft [private] |
Definition at line 91 of file qoccframe.h.
Referenced by connectActions(), createViewGroup(), and viewLeft().
QAction* QoccFrame::actionViewTop [private] |
Definition at line 88 of file qoccframe.h.
Referenced by connectActions(), createViewGroup(), and viewTop().
QAction* QoccFrame::actionViewTopFront [private] |
Definition at line 90 of file qoccframe.h.
Referenced by connectActions(), createViewGroup(), and viewTopFront().
QAction* QoccFrame::actionZoomGroup [private] |
Definition at line 80 of file qoccframe.h.
Referenced by connectActions(), createZoomGroup(), disconnectActions(), fitAll(), fitArea(), fitExtents(), setToolbarActions(), and ~QoccFrame().
QoccController* QoccFrame::myController [private] |
QVBoxLayout* QoccFrame::myLayout [private] |
QoccMainWindow* QoccFrame::myParent [private] |
QToolBar* QoccFrame::myToolBar [private] |
Definition at line 74 of file qoccframe.h.
Referenced by QoccFrame(), setToolbarActions(), and ~QoccFrame().
Qocc3dWidget* QoccFrame::myWidget [private] |
Definition at line 72 of file qoccframe.h.
Referenced by connectActions(), connectParent(), disconnectParent(), invokeAction(), QoccFrame(), and ~QoccFrame().
QMenu* QoccFrame::popupViewGroup [private] |
QMenu* QoccFrame::popupZoomGroup [private] |