|
OpenMW
|
#include <editmode.hpp>
Public Member Functions | |
| EditMode (WorldspaceWidget *worldspaceWidget, const QIcon &icon, unsigned int mask, const QString &tooltip="", QWidget *parent=0) | |
| unsigned int | getInteractionMask () const |
| virtual void | activate (CSVWidget::SceneToolbar *toolbar) |
| Default-Implementation: do nothing. More... | |
| virtual void | setEditLock (bool locked) |
| Default-implementation: Ignored. 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 bool | primarySelectStartDrag (const QPoint &pos) |
| virtual bool | secondarySelectStartDrag (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 () |
| 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 void | deactivate (SceneToolbar *toolbar) |
| Default-Implementation: do nothing. More... | |
| 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 |
Protected Member Functions | |
| 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 Attributes | |
| WorldspaceWidget * | mWorldspaceWidget |
| unsigned int | mMask |
Additional Inherited Members | |
Public Types inherited from CSVWidget::PushButton | |
| enum | Type { Type_TopMode, Type_TopAction, Type_Mode, Type_Toggle } |
| CSVRender::EditMode::EditMode | ( | WorldspaceWidget * | worldspaceWidget, |
| const QIcon & | icon, | ||
| unsigned int | mask, | ||
| const QString & | tooltip = "", |
||
| QWidget * | parent = 0 |
||
| ) |
|
virtual |
Default-Implementation: do nothing.
Reimplemented from CSVWidget::ModeButton.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignored.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignored
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignored.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignored.
Reimplemented in CSVRender::InstanceMode.
|
virtual |
Default-implementation: ignored.
|
virtual |
Default-implementation: ignored.
Reimplemented in CSVRender::InstanceMode.
|
virtual |
Default-implementation: ignored.
Reimplemented in CSVRender::InstanceMode.
| unsigned int CSVRender::EditMode::getInteractionMask | ( | ) | const |
|
virtual |
Default: return -1.
Reimplemented in CSVRender::InstanceMode.
|
protected |
|
virtual |
Default-implementation: Ignored.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignore and return false
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: Ignored.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignore and return false
|
virtual |
Default-implementation: Ignored.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignore and return false
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: Ignored.
Reimplemented in CSVRender::InstanceMode, and CSVRender::PathgridMode.
|
virtual |
Default-implementation: ignore and return false
|
virtual |
Default-implementation: Ignored.
Reimplemented in CSVRender::InstanceMode.
|
private |
|
private |
1.8.6