OpenMW
|
#include <pathgridmode.hpp>
Public Member Functions | |
PathgridMode (WorldspaceWidget *worldspace, QWidget *parent=0) | |
virtual void | activate (CSVWidget::SceneToolbar *toolbar) |
Default-Implementation: do nothing. More... | |
virtual void | deactivate (CSVWidget::SceneToolbar *toolbar) |
Default-Implementation: do nothing. More... | |
virtual void | primaryEditPressed (const WorldspaceHitResult &hit) |
Default-implementation: Ignored. More... | |
virtual void | secondaryEditPressed (const WorldspaceHitResult &hit) |
Default-implementation: Ignored. More... | |
virtual void | primarySelectPressed (const WorldspaceHitResult &hit) |
Default-implementation: Ignored. More... | |
virtual void | secondarySelectPressed (const WorldspaceHitResult &hit) |
Default-implementation: Ignored. More... | |
virtual bool | primaryEditStartDrag (const QPoint &pos) |
virtual bool | secondaryEditStartDrag (const QPoint &pos) |
virtual void | drag (const QPoint &pos, int diffX, int diffY, double speedFactor) |
Default-implementation: ignored. More... | |
virtual void | dragCompleted (const QPoint &pos) |
Default-implementation: ignored. More... | |
virtual void | dragAborted () |
Public Member Functions inherited from CSVRender::EditMode | |
EditMode (WorldspaceWidget *worldspaceWidget, const QIcon &icon, unsigned int mask, const QString &tooltip="", QWidget *parent=0) | |
unsigned int | getInteractionMask () const |
virtual void | setEditLock (bool locked) |
Default-implementation: Ignored. More... | |
virtual bool | primarySelectStartDrag (const QPoint &pos) |
virtual bool | secondarySelectStartDrag (const QPoint &pos) |
virtual void | dragWheel (int diff, double speedFactor) |
Default-implementation: ignored. More... | |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
Default-implementation: ignored. More... | |
virtual void | dropEvent (QDropEvent *event) |
Default-implementation: ignored. More... | |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
Default-implementation: ignored. More... | |
virtual int | getSubMode () const |
Default: return -1. More... | |
Public Member Functions inherited from CSVWidget::ModeButton | |
ModeButton (const QIcon &icon, const QString &tooltip="", QWidget *parent=0) | |
virtual bool | createContextMenu (QMenu *menu) |
Public Member Functions inherited from CSVWidget::PushButton | |
PushButton (const QIcon &icon, Type type, const QString &tooltip="", QWidget *parent=0) | |
PushButton (Type type, const QString &tooltip="", QWidget *parent=0) | |
bool | hasKeepOpen () const |
QString | getBaseToolTip () const |
Return tooltip used at construction (without any button-specific modifications) More... | |
Type | getType () const |
Private Types | |
enum | DragMode { DragMode_None, DragMode_Move, DragMode_Edge } |
Private Member Functions | |
QString | getTooltip () |
Private Attributes | |
DragMode | mDragMode |
std::string | mLastId |
std::string | mEdgeId |
unsigned short | mFromNode |
PathgridSelectionMode * | mSelectionMode |
Additional Inherited Members | |
Public Types inherited from CSVWidget::PushButton | |
enum | Type { Type_TopMode, Type_TopAction, Type_Mode, Type_Toggle } |
Protected Member Functions inherited from CSVRender::EditMode | |
WorldspaceWidget & | getWorldspaceWidget () |
Protected Member Functions inherited from CSVWidget::PushButton | |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | keyReleaseEvent (QKeyEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
|
private |
CSVRender::PathgridMode::PathgridMode | ( | WorldspaceWidget * | worldspace, |
QWidget * | parent = 0 |
||
) |
|
virtual |
Default-Implementation: do nothing.
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-Implementation: do nothing.
Reimplemented from CSVWidget::ModeButton.
|
virtual |
Default-implementation: ignored.
Reimplemented from CSVRender::EditMode.
|
virtual |
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-implementation: ignored.
Reimplemented from CSVRender::EditMode.
|
private |
|
virtual |
Default-implementation: Ignored.
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-implementation: ignore and return false
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-implementation: Ignored.
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-implementation: Ignored.
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-implementation: ignore and return false
Reimplemented from CSVRender::EditMode.
|
virtual |
Default-implementation: Ignored.
Reimplemented from CSVRender::EditMode.
|
private |
|
private |
|
private |
|
private |
|
private |