Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum | CursorPlacement { CursorOnTop , CursorOnBottom , CursorOnLeft , CursorOnRight , CursorOnCenter , CursorAboveOf , CursorBelowOf , CursorLeftOf , CursorRightOf , CursorDefault } |
typedef std::function< CursorPlacement()> | GetCursorPlacement |
typedef std::function< Visualization::Item *()> | GetItemFunction |
Public Types inherited from Visualization::CustomSceneEvent | |
using | EventFunction = std::function< void()> |
Public Member Functions | |
SetCursorEvent (GetItemFunction getItemToFocus, CursorPlacement placement=CursorDefault, bool showPrompt=false) | |
SetCursorEvent (GetItemFunction getItemToFocus, GetCursorPlacement getCursorPlacement, bool showPrompt=false) | |
SetCursorEvent (Visualization::Item *itemToGetCursor, CursorPlacement placement=CursorDefault, bool showPrompt=false) | |
SetCursorEvent (Visualization::Item *itemToGetCursor, QPoint point, bool showPrompt=false) | |
SetCursorEvent (Visualization::Item *parentContainer, Model::Node *node, CursorPlacement placement=CursorDefault, bool showPrompt=false) | |
SetCursorEvent (Visualization::Scene *scene, Model::Node *node, CursorPlacement placement=CursorDefault, bool showPrompt=false) | |
virtual void | execute () |
Public Member Functions inherited from Visualization::CustomSceneEvent | |
CustomSceneEvent (EventFunction f) | |
CustomSceneEvent (QEvent::Type type) | |
virtual | ~CustomSceneEvent () |
void | setEventFunction (EventFunction f) |
Static Public Attributes | |
static const QEvent::Type | EventType = static_cast<QEvent::Type> (QEvent::registerEventType()) |
Static Public Attributes inherited from Visualization::CustomSceneEvent | |
static const QEvent::Type | EventType = static_cast<QEvent::Type> (QEvent::registerEventType()) |
Private Attributes | |
GetCursorPlacement | getCursorPlacement_ {} |
GetItemFunction | getItemToFocus_ {} |
Visualization::Item * | itemToGetCursor_ {} |
Model::Node * | node_ {} |
Visualization::Item * | parentContainer_ {} |
CursorPlacement | placement_ {} |
QPoint | point_ {-1, -1} |
Visualization::Scene * | scene_ {} |
bool | showPrompt_ {false} |
typedef std::function<CursorPlacement ()> Interaction::SetCursorEvent::GetCursorPlacement |
typedef std::function<Visualization::Item* ()> Interaction::SetCursorEvent::GetItemFunction |
Interaction::SetCursorEvent::SetCursorEvent | ( | Visualization::Item * | itemToGetCursor, |
CursorPlacement | placement = CursorDefault , |
||
bool | showPrompt = false |
||
) |
Interaction::SetCursorEvent::SetCursorEvent | ( | Visualization::Item * | itemToGetCursor, |
QPoint | point, | ||
bool | showPrompt = false |
||
) |
Interaction::SetCursorEvent::SetCursorEvent | ( | GetItemFunction | getItemToFocus, |
CursorPlacement | placement = CursorDefault , |
||
bool | showPrompt = false |
||
) |
Interaction::SetCursorEvent::SetCursorEvent | ( | GetItemFunction | getItemToFocus, |
GetCursorPlacement | getCursorPlacement, | ||
bool | showPrompt = false |
||
) |
Interaction::SetCursorEvent::SetCursorEvent | ( | Visualization::Item * | parentContainer, |
Model::Node * | node, | ||
CursorPlacement | placement = CursorDefault , |
||
bool | showPrompt = false |
||
) |
Interaction::SetCursorEvent::SetCursorEvent | ( | Visualization::Scene * | scene, |
Model::Node * | node, | ||
CursorPlacement | placement = CursorDefault , |
||
bool | showPrompt = false |
||
) |
|
virtual |
Reimplemented from Visualization::CustomSceneEvent.
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |