SandboxGui::DrawingPlane Class Reference
#include <Overlay.h>
Public Member Functions | |
DrawingPlane () | |
virtual | ~DrawingPlane () |
Public Member Functions inherited from Gui::BaseMouseSelection | |
BaseMouseSelection () | |
virtual | ~BaseMouseSelection () |
Public Member Functions inherited from Gui::AbstractMouseSelection | |
AbstractMouseSelection () | |
const std::vector< SbVec2s > & | getPositions () const |
void | grabMouseModel (Gui::View3DInventorViewer *) |
void | redraw () |
void | releaseMouseModel (void) |
SelectionRole | selectedRole () const |
virtual | ~AbstractMouseSelection (void) |
int | handleEvent (const SoEvent *const ev, const SbViewportRegion &vp) |
Protected Member Functions | |
void | draw () |
drawing stuff More... | |
void | initialize () |
implement this in derived classes More... | |
virtual int | keyboardEvent (const SoKeyboardEvent *const e) |
virtual int | locationEvent (const SoLocation2Event *const e, const QPoint &pos) |
virtual int | mouseButtonEvent (const SoMouseButtonEvent *const e, const QPoint &pos) |
void | terminate () |
implement this in derived classes More... | |
Protected Member Functions inherited from Gui::AbstractMouseSelection |
Additional Inherited Members | |
Public Types inherited from Gui::AbstractMouseSelection | |
enum | { Continue =0, Restart =1, Finish =2, Cancel =3, Ignore =4 } |
Protected Attributes inherited from Gui::AbstractMouseSelection | |
QCursor | m_cPrevCursor |
int | m_iXold |
int | m_iYold |
int | m_iXnew |
int | m_iYnew |
SelectionRole | m_selectedRole |
Constructor & Destructor Documentation
◆ DrawingPlane()
DrawingPlane::DrawingPlane | ( | ) |
◆ ~DrawingPlane()
|
virtual |
References terminate().
Member Function Documentation
◆ draw()
|
protectedvirtual |
◆ initialize()
|
protectedvirtual |
implement this in derived classes
Implements Gui::AbstractMouseSelection.
◆ keyboardEvent()
|
protectedvirtual |
Reimplemented from Gui::AbstractMouseSelection.
References Gui::AbstractMouseSelection::Continue.
◆ locationEvent()
|
protectedvirtual |
Reimplemented from Gui::AbstractMouseSelection.
References Gui::AbstractMouseSelection::Continue, and draw().
◆ mouseButtonEvent()
|
protectedvirtual |
Reimplemented from Gui::AbstractMouseSelection.
References Gui::AbstractMouseSelection::Continue, and Gui::AbstractMouseSelection::Finish.
◆ terminate()
|
protectedvirtual |
implement this in derived classes
Implements Gui::AbstractMouseSelection.
Referenced by ~DrawingPlane().
The documentation for this class was generated from the following files:
- src/Mod/Sandbox/Gui/Overlay.h
- src/Mod/Sandbox/Gui/Overlay.cpp