#include <qoccmainwindow.h>
Collaboration diagram for QoccMainWindow:
Signals | |
void | fileOpening () |
void | fileOpened () |
Public Member Functions | |
QoccMainWindow () | |
~QoccMainWindow () | |
Private Slots | |
void | fileNew () |
void | fileOpen () |
void | fileSave () |
void | filePrint () |
void | fileClose () |
void | undo () |
void | redo () |
void | cut () |
void | copy () |
void | paste () |
void | about () |
void | bottle () |
void | aboutQt () |
void | statusMessage (const QString aMessage) |
void | selectNeutralPoint (void) |
void | selectVertices (void) |
void | selectEdges (void) |
void | selectWires (void) |
void | selectFaces (void) |
void | selectShells (void) |
void | selectSolids (void) |
void | selectCompSolids (void) |
void | selectCompounds (void) |
void | selectShapes (void) |
void | circleCentre (void) |
void | line2Pt (void) |
void | vertex (void) |
void | cancelDraw (void) |
Private Member Functions | |
QAction * | createAction (const QString &caption, const QString &shortcut, const QString &tip, const char *slot, const QObject *target=NULL) |
This routine is a utility function for creating actions. Use tr("str") in the calling function to provide support for language translations. | |
void | createActions (void) |
void | createMenus (void) |
void | createToolBars (void) |
Private Attributes | |
QMenu * | fileMenu |
QMenu * | editMenu |
QMenu * | drawMenu |
QMenu * | viewMenu |
QMenu * | viewActionsMenu |
QMenu * | viewDisplayMenu |
QMenu * | formatMenu |
QMenu * | helpMenu |
QMenu * | gridMenu |
QMenu * | selectMenu |
QAction * | newAction |
QAction * | openAction |
QAction * | saveAction |
QAction * | printAction |
QAction * | exitAction |
QAction * | undoAction |
QAction * | redoAction |
QAction * | cutAction |
QAction * | copyAction |
QAction * | pasteAction |
QAction * | aboutAction |
QAction * | fitAction |
QAction * | fitAllAction |
QAction * | zoomAction |
QAction * | panAction |
QAction * | rotAction |
QAction * | gridXYAction |
QAction * | gridXZAction |
QAction * | gridYZAction |
QAction * | gridOnAction |
QAction * | gridOffAction |
QAction * | gridRectAction |
QAction * | gridCircAction |
QAction * | viewFrontAction |
QAction * | viewBackAction |
QAction * | viewTopAction |
QAction * | viewBottomAction |
QAction * | viewLeftAction |
QAction * | viewRightAction |
QAction * | viewAxoAction |
QAction * | viewResetAction |
QAction * | viewGridAction |
QAction * | selectNeutralAction |
QAction * | selectCompoundAction |
QAction * | selectCompSolidAction |
QAction * | selectSolidAction |
QAction * | selectShellAction |
QAction * | selectFaceAction |
QAction * | selectWireAction |
QAction * | selectEdgeAction |
QAction * | selectVertexAction |
QAction * | selectShapeAction |
QAction * | pointAction |
QAction * | circle2PtAction |
QAction * | line2PtAction |
QAction * | cancelDrawAction |
QAction * | backgroundAction |
QAction * | aboutQtAction |
QAction * | bottleAction |
QoccController * | myController |
QTabBar * | myTabBar |
QTabWidget * | myTabWidget |
QWidget * | myTab |
QoccFrame * | mySketchFrame |
QoccFrame * | myGeometryFrame |
QoccFrame * | myAssemblyFrame |
QoccFrame * | myMeshFrame |
QToolBar * | drawToolBar |
QString | myLastFolder |
Definition at line 53 of file qoccmainwindow.h.
QoccMainWindow::QoccMainWindow | ( | ) |
Definition at line 44 of file qoccmainwindow.cpp.
References createActions(), createMenus(), createToolBars(), QoccController::getDocument(), Handle(), QoccDocument::id(), myController, mySketchFrame, myTabWidget, qGeomApp, qGeomEngine, and QoccDocument::RemovePresentation().
Here is the call graph for this function:
QoccMainWindow::~QoccMainWindow | ( | ) | [inline] |
Definition at line 60 of file qoccmainwindow.h.
void QoccMainWindow::about | ( | ) | [private, slot] |
Definition at line 243 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
void QoccMainWindow::aboutQt | ( | ) | [private, slot] |
void QoccMainWindow::bottle | ( | ) | [private, slot] |
Definition at line 338 of file qoccmainwindow.cpp.
References QoccController::clearAllLocalContexts(), QoccController::clearCommand(), QoccController::deleteAllObjects(), LoadBottle(), and myController.
Referenced by createActions().
void QoccMainWindow::cancelDraw | ( | void | ) | [private, slot] |
Definition at line 332 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
void QoccMainWindow::circleCentre | ( | void | ) | [private, slot] |
Definition at line 311 of file qoccmainwindow.cpp.
References circle2PtAction, myController, and QoccController::setCommand().
Referenced by createActions().
void QoccMainWindow::copy | ( | ) | [private, slot] |
Definition at line 231 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
QAction * QoccMainWindow::createAction | ( | const QString & | caption, | |
const QString & | shortcut, | |||
const QString & | tip, | |||
const char * | slot, | |||
const QObject * | target = NULL | |||
) | [private] |
This routine is a utility function for creating actions. Use tr("str") in the calling function to provide support for language translations.
caption | the menu caption. | |
shortcut | keyboard shot. | |
tip | the tool tip text. | |
slot | the slot function to be called, e.g. use SLOT(fooBar()) . | |
target | the QObject target of the connection, if not this object. |
Definition at line 379 of file qoccmainwindow.cpp.
Referenced by createActions().
Here is the caller graph for this function:
void QoccMainWindow::createActions | ( | void | ) | [private] |
Definition at line 392 of file qoccmainwindow.cpp.
References about(), aboutAction, aboutQt(), aboutQtAction, bottle(), bottleAction, cancelDraw(), cancelDrawAction, circle2PtAction, circleCentre(), copy(), copyAction, createAction(), cut(), cutAction, exitAction, fileNew(), fileOpen(), filePrint(), fileSave(), gridCircAction, gridOffAction, gridOnAction, gridRectAction, gridXYAction, gridXZAction, gridYZAction, line2Pt(), line2PtAction, myController, newAction, openAction, paste(), pasteAction, pointAction, printAction, redo(), redoAction, saveAction, selectEdgeAction, selectEdges(), selectFaceAction, selectFaces(), selectNeutralAction, selectNeutralPoint(), selectShellAction, selectShells(), selectVertexAction, selectVertices(), selectWireAction, selectWires(), undo(), undoAction, and vertex().
Referenced by QoccMainWindow().
Here is the call graph for this function:
Here is the caller graph for this function:
void QoccMainWindow::createMenus | ( | void | ) | [private] |
Definition at line 464 of file qoccmainwindow.cpp.
References aboutAction, aboutQtAction, bottleAction, cancelDrawAction, circle2PtAction, copyAction, cutAction, drawMenu, editMenu, exitAction, fileMenu, gridCircAction, gridMenu, gridOffAction, gridOnAction, gridRectAction, gridXYAction, gridXZAction, gridYZAction, helpMenu, line2PtAction, newAction, openAction, pasteAction, pointAction, printAction, redoAction, saveAction, selectEdgeAction, selectFaceAction, selectMenu, selectNeutralAction, selectShellAction, selectVertexAction, selectWireAction, undoAction, and viewMenu.
Referenced by QoccMainWindow().
Here is the caller graph for this function:
void QoccMainWindow::createToolBars | ( | void | ) | [private] |
Definition at line 630 of file qoccmainwindow.cpp.
References circle2PtAction, drawToolBar, line2PtAction, and pointAction.
Referenced by QoccMainWindow().
Here is the caller graph for this function:
void QoccMainWindow::cut | ( | ) | [private, slot] |
Definition at line 225 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
void QoccMainWindow::fileClose | ( | ) | [private, slot] |
Definition at line 205 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
void QoccMainWindow::fileNew | ( | ) | [private, slot] |
Definition at line 137 of file qoccmainwindow.cpp.
References QoccController::clearAllLocalContexts(), QoccController::clearCommand(), QoccController::deleteAllObjects(), and myController.
Referenced by createActions().
void QoccMainWindow::fileOpen | ( | ) | [private, slot] |
Definition at line 145 of file qoccmainwindow.cpp.
References QoccController::clearAllLocalContexts(), QoccController::clearCommand(), fileOpened(), fileOpening(), QoccInputOutput::FormatBREP, QoccInputOutput::FormatIGES, QoccInputOutput::FormatSTEP, QoccInputOutput::FormatSTL, QoccInputOutput::importModel(), myController, and myLastFolder.
Referenced by createActions().
void QoccMainWindow::fileOpened | ( | ) | [signal] |
Referenced by fileOpen().
void QoccMainWindow::fileOpening | ( | ) | [signal] |
Referenced by fileOpen().
void QoccMainWindow::filePrint | ( | ) | [private, slot] |
Definition at line 199 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
void QoccMainWindow::fileSave | ( | ) | [private, slot] |
Definition at line 193 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
void QoccMainWindow::line2Pt | ( | void | ) | [private, slot] |
Definition at line 318 of file qoccmainwindow.cpp.
References line2PtAction, myController, and QoccController::setCommand().
Referenced by createActions().
void QoccMainWindow::paste | ( | ) | [private, slot] |
Definition at line 237 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), and myController.
Referenced by createActions().
void QoccMainWindow::redo | ( | ) | [private, slot] |
Definition at line 218 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), myController, and QoccController::redo().
Referenced by createActions().
void QoccMainWindow::selectCompounds | ( | void | ) | [private, slot] |
Definition at line 300 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
void QoccMainWindow::selectCompSolids | ( | void | ) | [private, slot] |
Definition at line 295 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
void QoccMainWindow::selectEdges | ( | void | ) | [private, slot] |
Definition at line 275 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
Referenced by createActions().
void QoccMainWindow::selectFaces | ( | void | ) | [private, slot] |
Definition at line 263 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
Referenced by createActions().
void QoccMainWindow::selectNeutralPoint | ( | void | ) | [private, slot] |
Definition at line 258 of file qoccmainwindow.cpp.
References QoccController::clearAllLocalContexts(), and myController.
Referenced by createActions().
void QoccMainWindow::selectShapes | ( | void | ) | [private, slot] |
Definition at line 305 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
void QoccMainWindow::selectShells | ( | void | ) | [private, slot] |
Definition at line 285 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
Referenced by createActions().
void QoccMainWindow::selectSolids | ( | void | ) | [private, slot] |
Definition at line 290 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
void QoccMainWindow::selectVertices | ( | void | ) | [private, slot] |
Definition at line 269 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
Referenced by createActions().
void QoccMainWindow::selectWires | ( | void | ) | [private, slot] |
Definition at line 280 of file qoccmainwindow.cpp.
References myController, and QoccController::setLocalContext().
Referenced by createActions().
void QoccMainWindow::statusMessage | ( | const QString | aMessage | ) | [private, slot] |
Definition at line 366 of file qoccmainwindow.cpp.
void QoccMainWindow::undo | ( | ) | [private, slot] |
Definition at line 211 of file qoccmainwindow.cpp.
References QoccController::clearCommand(), myController, and QoccController::undo().
Referenced by createActions().
void QoccMainWindow::vertex | ( | void | ) | [private, slot] |
Definition at line 325 of file qoccmainwindow.cpp.
References myController, pointAction, and QoccController::setCommand().
Referenced by createActions().
QAction* QoccMainWindow::aboutAction [private] |
QAction* QoccMainWindow::aboutQtAction [private] |
QAction* QoccMainWindow::backgroundAction [private] |
Definition at line 176 of file qoccmainwindow.h.
QAction* QoccMainWindow::bottleAction [private] |
QAction* QoccMainWindow::cancelDrawAction [private] |
QAction* QoccMainWindow::circle2PtAction [private] |
Definition at line 172 of file qoccmainwindow.h.
Referenced by circleCentre(), createActions(), createMenus(), and createToolBars().
QAction* QoccMainWindow::copyAction [private] |
QAction* QoccMainWindow::cutAction [private] |
QMenu* QoccMainWindow::drawMenu [private] |
QToolBar* QoccMainWindow::drawToolBar [private] |
QMenu* QoccMainWindow::editMenu [private] |
QAction* QoccMainWindow::exitAction [private] |
QMenu* QoccMainWindow::fileMenu [private] |
QAction* QoccMainWindow::fitAction [private] |
Definition at line 136 of file qoccmainwindow.h.
QAction* QoccMainWindow::fitAllAction [private] |
Definition at line 137 of file qoccmainwindow.h.
QMenu* QoccMainWindow::formatMenu [private] |
Definition at line 119 of file qoccmainwindow.h.
QAction* QoccMainWindow::gridCircAction [private] |
QMenu* QoccMainWindow::gridMenu [private] |
QAction* QoccMainWindow::gridOffAction [private] |
QAction* QoccMainWindow::gridOnAction [private] |
QAction* QoccMainWindow::gridRectAction [private] |
QAction* QoccMainWindow::gridXYAction [private] |
QAction* QoccMainWindow::gridXZAction [private] |
QAction* QoccMainWindow::gridYZAction [private] |
QMenu* QoccMainWindow::helpMenu [private] |
QAction* QoccMainWindow::line2PtAction [private] |
Definition at line 173 of file qoccmainwindow.h.
Referenced by createActions(), createMenus(), createToolBars(), and line2Pt().
QoccFrame* QoccMainWindow::myAssemblyFrame [private] |
Definition at line 190 of file qoccmainwindow.h.
QoccController* QoccMainWindow::myController [private] |
Definition at line 182 of file qoccmainwindow.h.
Referenced by about(), bottle(), cancelDraw(), circleCentre(), copy(), createActions(), cut(), fileClose(), fileNew(), fileOpen(), filePrint(), fileSave(), line2Pt(), paste(), QoccMainWindow(), redo(), selectCompounds(), selectCompSolids(), selectEdges(), selectFaces(), selectNeutralPoint(), selectShapes(), selectShells(), selectSolids(), selectVertices(), selectWires(), undo(), and vertex().
QoccFrame* QoccMainWindow::myGeometryFrame [private] |
Definition at line 189 of file qoccmainwindow.h.
QString QoccMainWindow::myLastFolder [private] |
QoccFrame* QoccMainWindow::myMeshFrame [private] |
Definition at line 191 of file qoccmainwindow.h.
QoccFrame* QoccMainWindow::mySketchFrame [private] |
QWidget* QoccMainWindow::myTab [private] |
Definition at line 186 of file qoccmainwindow.h.
QTabBar* QoccMainWindow::myTabBar [private] |
Definition at line 184 of file qoccmainwindow.h.
QTabWidget* QoccMainWindow::myTabWidget [private] |
QAction* QoccMainWindow::newAction [private] |
QAction* QoccMainWindow::openAction [private] |
QAction* QoccMainWindow::panAction [private] |
Definition at line 139 of file qoccmainwindow.h.
QAction* QoccMainWindow::pasteAction [private] |
QAction* QoccMainWindow::pointAction [private] |
Definition at line 171 of file qoccmainwindow.h.
Referenced by createActions(), createMenus(), createToolBars(), and vertex().
QAction* QoccMainWindow::printAction [private] |
QAction* QoccMainWindow::redoAction [private] |
QAction* QoccMainWindow::rotAction [private] |
Definition at line 140 of file qoccmainwindow.h.
QAction* QoccMainWindow::saveAction [private] |
QAction* QoccMainWindow::selectCompoundAction [private] |
Definition at line 161 of file qoccmainwindow.h.
QAction* QoccMainWindow::selectCompSolidAction [private] |
Definition at line 162 of file qoccmainwindow.h.
QAction* QoccMainWindow::selectEdgeAction [private] |
QAction* QoccMainWindow::selectFaceAction [private] |
QMenu* QoccMainWindow::selectMenu [private] |
QAction* QoccMainWindow::selectNeutralAction [private] |
QAction* QoccMainWindow::selectShapeAction [private] |
Definition at line 169 of file qoccmainwindow.h.
QAction* QoccMainWindow::selectShellAction [private] |
QAction* QoccMainWindow::selectSolidAction [private] |
Definition at line 163 of file qoccmainwindow.h.
QAction* QoccMainWindow::selectVertexAction [private] |
QAction* QoccMainWindow::selectWireAction [private] |
QAction* QoccMainWindow::undoAction [private] |
QMenu* QoccMainWindow::viewActionsMenu [private] |
Definition at line 117 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewAxoAction [private] |
Definition at line 156 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewBackAction [private] |
Definition at line 151 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewBottomAction [private] |
Definition at line 153 of file qoccmainwindow.h.
QMenu* QoccMainWindow::viewDisplayMenu [private] |
Definition at line 118 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewFrontAction [private] |
Definition at line 150 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewGridAction [private] |
Definition at line 158 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewLeftAction [private] |
Definition at line 154 of file qoccmainwindow.h.
QMenu* QoccMainWindow::viewMenu [private] |
QAction* QoccMainWindow::viewResetAction [private] |
Definition at line 157 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewRightAction [private] |
Definition at line 155 of file qoccmainwindow.h.
QAction* QoccMainWindow::viewTopAction [private] |
Definition at line 152 of file qoccmainwindow.h.
QAction* QoccMainWindow::zoomAction [private] |
Definition at line 138 of file qoccmainwindow.h.