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

Public Member Functions

 PromptShell (const QString &initialCommandText, Prompt::PromptOptions options=Prompt::None, const StyleType *style=itemStyles().get())
 
void setErrors (QList< Item * > errors)
 

Static Public Member Functions

static void initializeForms ()
 

Protected Member Functions

virtual void changeGeometry (int availableWidth=0, int availableHeight=0) override
 
virtual void determineChildren () override
 

Private Member Functions

void centerViewOnShell () const
 
void setShellPosition ()
 

Private Attributes

QList< Item * > errors_
 
bool initialUpdate_ {true}
 
IteminputItem_ {}
 
Visualization::StaticmodeIcon_ {}
 
Visualization::StaticStylemodeIconStyle_ {}
 
Prompt::PromptOptions promptOptions_ {}
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PromptShell()

Interaction::PromptShell::PromptShell ( const QString &  initialCommandText,
Prompt::PromptOptions  options = Prompt::None,
const StyleType *  style = itemStyles().get() 
)

Member Function Documentation

◆ centerViewOnShell()

void Interaction::PromptShell::centerViewOnShell ( ) const
private

◆ changeGeometry()

void Interaction::PromptShell::changeGeometry ( int  availableWidth = 0,
int  availableHeight = 0 
)
overrideprotectedvirtual

◆ determineChildren()

void Interaction::PromptShell::determineChildren ( )
overrideprotectedvirtual

◆ initializeForms()

void Interaction::PromptShell::initializeForms ( )
static

◆ setErrors()

void Interaction::PromptShell::setErrors ( QList< Item * >  errors)

◆ setShellPosition()

void Interaction::PromptShell::setShellPosition ( )
private

Member Data Documentation

◆ errors_

QList<Item*> Interaction::PromptShell::errors_
private

◆ initialUpdate_

bool Interaction::PromptShell::initialUpdate_ {true}
private

◆ inputItem_

Item* Interaction::PromptShell::inputItem_ {}
private

◆ modeIcon_

Visualization::Static* Interaction::PromptShell::modeIcon_ {}
private

◆ modeIconStyle_

Visualization::StaticStyle* Interaction::PromptShell::modeIconStyle_ {}
private

◆ promptOptions_

Prompt::PromptOptions Interaction::PromptShell::promptOptions_ {}
private