Envision
A visual programming IDE for object-oriented languages
List of all members | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Interaction::ViewSwitcherMenu Class Reference
Inheritance diagram for Interaction::ViewSwitcherMenu:
Core::Reflect< Base >

Static Public Member Functions

static void show (Visualization::Item *target)
 Shows a ViewSwitcherMenu, which is initialized on the given target. More...
 

Protected Member Functions

virtual void endFocusMode (Visualization::Item *target) override
 
virtual bool executeEntry (Visualization::Item *item) override
 
virtual void startFocusMode (Visualization::Item *target) override
 

Private Member Functions

 ViewSwitcherMenu (QVector< QVector< Visualization::Item * >> items, Visualization::Item *selectedItem, Visualization::Item *target, StyleType *style=itemStyles().get())
 

Static Private Member Functions

static void showNow (Visualization::Item *target)
 

Private Attributes

bool inEditMode_ {}
 
QString nameBefore_
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ ViewSwitcherMenu()

Interaction::ViewSwitcherMenu::ViewSwitcherMenu ( QVector< QVector< Visualization::Item * >>  items,
Visualization::Item selectedItem,
Visualization::Item target,
StyleType *  style = itemStyles().get() 
)
private

Member Function Documentation

◆ endFocusMode()

void Interaction::ViewSwitcherMenu::endFocusMode ( Visualization::Item target)
overrideprotectedvirtual

◆ executeEntry()

bool Interaction::ViewSwitcherMenu::executeEntry ( Visualization::Item item)
overrideprotectedvirtual

◆ show()

void Interaction::ViewSwitcherMenu::show ( Visualization::Item target)
static

Shows a ViewSwitcherMenu, which is initialized on the given target.

◆ showNow()

void Interaction::ViewSwitcherMenu::showNow ( Visualization::Item target)
staticprivate

◆ startFocusMode()

void Interaction::ViewSwitcherMenu::startFocusMode ( Visualization::Item target)
overrideprotectedvirtual

Member Data Documentation

◆ inEditMode_

bool Interaction::ViewSwitcherMenu::inEditMode_ {}
private

◆ nameBefore_

QString Interaction::ViewSwitcherMenu::nameBefore_
private