Loading...
Searching...
No Matches
moveMode.h
Go to the documentation of this file.
#ifndef BALL_VIEW_KERNEL_MODES_MOVEMODE_H
#define BALL_VIEW_KERNEL_MODES_MOVEMODE_H
#include <BALL/VIEW/KERNEL/MODES/interactionMode.h>
namespace BALL
{
namespace VIEW
{
class MoveMode : public InteractionMode
{
Q_OBJECT
public:
MoveMode(Scene* scene);
virtual Qt::Key getKey() const;
virtual QString getName() const { return "MoveMode"; }
virtual void activate();
virtual void populateContextMenu(QMenu* menu);
protected Q_SLOTS:
void moveAtomTriggered_();
protected:
QAction* move_atom_;
Index getMoveModeAction_(QMouseEvent* e);
void processMoveModeMouseEvents_(QMouseEvent* e);
virtual void mouseMoveEventImpl_(QMouseEvent* evt);
virtual void mouseReleaseEventImpl_(QMouseEvent* evt);
};
}
}
#endif //BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
BALL::VIEW::InteractionMode::InteractionMode
InteractionMode(Scene *scene)
BALL::VIEW::MoveMode::getName
virtual QString getName() const
Definition moveMode.h:19
BALL::VIEW::MoveMode::populateContextMenu
virtual void populateContextMenu(QMenu *menu)
BALL::VIEW::MoveMode::move_atom_
QAction * move_atom_
Definition moveMode.h:28
BALL::VIEW::MoveMode::moveAtomTriggered_
void moveAtomTriggered_()
BALL::VIEW::MoveMode::getMoveModeAction_
Index getMoveModeAction_(QMouseEvent *e)
BALL::VIEW::MoveMode::activate
virtual void activate()
BALL::VIEW::MoveMode::processMoveModeMouseEvents_
void processMoveModeMouseEvents_(QMouseEvent *e)
BALL::VIEW::MoveMode::getKey
virtual Qt::Key getKey() const
BALL::VIEW::MoveMode::MoveMode
MoveMode(Scene *scene)
BALL::VIEW::MoveMode::mouseReleaseEventImpl_
virtual void mouseReleaseEventImpl_(QMouseEvent *evt)
BALL::VIEW::MoveMode::mouseMoveEventImpl_
virtual void mouseMoveEventImpl_(QMouseEvent *evt)
BALL::VIEW::Scene
Definition scene.h:141
QMouseEvent
interactionMode.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::Index
BALL_INDEX_TYPE Index
Definition COMMON/global.h:105