Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
virtual Visualization::Item * | createInputItem (const QString &initialCommandText) override |
virtual Visualization::StaticStyle * | modeIcon () const override |
virtual void | onEnterKeyPress (Qt::KeyboardModifiers modifiers) override |
Called when the handler of the prompt's shell detects and enter key press. More... | |
virtual void | setSelection (InputSelection selection) override |
Public Member Functions inherited from Interaction::PromptMode | |
virtual | ~PromptMode () |
virtual void | onShellUpdate () |
Called whenever the Prompt shell is about to be updated and repainted. More... | |
virtual void | onTabKeyPress (Qt::KeyboardModifiers modifiers) |
Called when the handler of the prompt's shell detects a TAB key press. More... | |
Private Attributes | |
QueryPromptInput * | inputItem_ {} |
Additional Inherited Members | |
Public Types inherited from Interaction::PromptMode | |
enum | InputSelection { None , All , AtEnd } |
Protected Member Functions inherited from Interaction::PromptMode | |
void | showErrors (QList< QString > errorMessages, Qt::TextFormat format=Qt::PlainText) const |
Call this method from derived classes in order to display a list of errors messages under the prompt. More... | |
void | showErrors (QList< Visualization::Item * > errorItems) const |
Call this method from derived classes in order to display a list of error item under the prompt. More... | |
|
overridevirtual |
Implements Interaction::PromptMode.
|
overridevirtual |
Implements Interaction::PromptMode.
|
overridevirtual |
Called when the handler of the prompt's shell detects and enter key press.
The default implementation does nothing.
Reimplemented from Interaction::PromptMode.
|
overridevirtual |
Implements Interaction::PromptMode.
|
private |