Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum | PromptOption { None = 0 , CenterViewOnPrompt = 0x00000001 , InputHasHint = 0x00000002 , AutoHint = 0x00000004 } |
using | PromptOptions = QFlags< PromptOption > |
using | PromptShowCall = std::function< void(Visualization::Item *)> |
Static Public Member Functions | |
static Visualization::Item * | commandReceiver () |
static const std::unique_ptr< Visualization::Cursor > & | commandReceiverCursor () |
static QPoint | commandReceiverCursorPosition () |
static const QString & | defaultModeName () |
static void | hide () |
static bool | isVisible () |
static PromptMode * | mode () |
template<typename ModeType > | |
static void | registerMode (const QString &modeName) |
static void | registerPromptShowShortcut (Qt::Key key, PromptShowCall showFunction) |
static qreal | scale () |
static PromptShell * | shell () |
static void | show (const QString &modeName, Visualization::Item *commandReceiver, QString initialCommandText={}, PromptOptions options=AutoHint) |
static void | show (Visualization::Item *commandReceiver, QString initialCommandText={}, PromptOptions options=AutoHint) |
static PromptShowCall | showShortcut (Qt::Key key) |
static bool | toggleScale (Visualization::Item *target, QKeySequence keySequence, ActionRegistry::InputState inputState) |
Private Types | |
using | ModeConstructor = std::function< PromptMode *()> |
Static Private Member Functions | |
static QMap< QString, ModeConstructor > & | modeRegistry () |
static QMap< Qt::Key, PromptShowCall > & | promptShowShortcuts () |
Static Private Attributes | |
static Visualization::Item * | commandReceiver_ {} |
static std::unique_ptr< Visualization::Cursor > | commandReceiverCursor_ {} |
static PromptMode * | mode_ {} |
static qreal | scale_ {1.0} |
static PromptShell * | shell_ {} |
|
private |
using Interaction::Prompt::PromptOptions = QFlags<PromptOption> |
using Interaction::Prompt::PromptShowCall = std::function<void (Visualization::Item*)> |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
staticprivate |
|
staticprivate |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |