ScriptingConsole Class Reference

Signals

void viewChanged (QWidget *frame)
 

Public Member Functions

 ScriptingConsole (QWidget *parent, const QString &providerName, const QString &instanceName, ScriptingInstanceRef instance)
 
virtual ~ScriptingConsole ()
 
QString getProviderName () const
 
QString getInstanceName () const
 
ScriptingInstanceRef getInstance ()
 
void clearConsole ()
 
void hideConsole ()
 
void addInput (const std::string &text)
 
virtual void NotifyOutput (const std::string &text) override
 
virtual void NotifyError (const std::string &text) override
 
virtual void NotifyInputReadyStateChanged (BNScriptingProviderInputReadyState state) override
 
virtual void notifyViewChanged (ViewFrame *frame) override
 
virtual void notifyFontChanged () override
 
virtual void focus () override
 
void moveUpInHistory ()
 
void moveDownInHistory ()
 
std::vector< std::string > reverseSearch (const QString &text)
 
void closing ()
 
- Public Member Functions inherited from GlobalAreaWidget
 GlobalAreaWidget (const QString &title)
 
const QString & title () const
 
virtual void notifyFontChanged ()
 
virtual void notifyOffsetChanged (uint64_t)
 
virtual void notifyThemeChanged ()
 
virtual void notifyViewChanged (ViewFrame *)
 
virtual void notifyViewLocationChanged (View *, const ViewLocation &)
 
virtual void focus ()
 

Protected Member Functions

void customEvent (QEvent *event) override
 

Additional Inherited Members

- Protected Attributes inherited from GlobalAreaWidget
QString m_title
 
UIActionHandler m_actionHandler
 
ContextMenuManagerm_contextMenuManager = nullptr
 
Menum_menu = nullptr
 

Constructor & Destructor Documentation

◆ ScriptingConsole()

ScriptingConsole::ScriptingConsole ( QWidget *  parent,
const QString &  providerName,
const QString &  instanceName,
ScriptingInstanceRef  instance 
)

◆ ~ScriptingConsole()

virtual ScriptingConsole::~ScriptingConsole ( )
virtual

Member Function Documentation

◆ addInput()

void ScriptingConsole::addInput ( const std::string &  text)

◆ clearConsole()

void ScriptingConsole::clearConsole ( )

◆ closing()

void ScriptingConsole::closing ( )

◆ customEvent()

void ScriptingConsole::customEvent ( QEvent *  event)
overrideprotected

◆ focus()

virtual void ScriptingConsole::focus ( )
overridevirtual

Reimplemented from GlobalAreaWidget.

◆ getInstance()

ScriptingInstanceRef ScriptingConsole::getInstance ( )
inline

◆ getInstanceName()

QString ScriptingConsole::getInstanceName ( ) const
inline

◆ getProviderName()

QString ScriptingConsole::getProviderName ( ) const
inline

◆ hideConsole()

void ScriptingConsole::hideConsole ( )

◆ moveDownInHistory()

void ScriptingConsole::moveDownInHistory ( )

◆ moveUpInHistory()

void ScriptingConsole::moveUpInHistory ( )

◆ NotifyError()

virtual void ScriptingConsole::NotifyError ( const std::string &  text)
overridevirtual

◆ notifyFontChanged()

virtual void ScriptingConsole::notifyFontChanged ( )
overridevirtual

Reimplemented from GlobalAreaWidget.

◆ NotifyInputReadyStateChanged()

virtual void ScriptingConsole::NotifyInputReadyStateChanged ( BNScriptingProviderInputReadyState  state)
overridevirtual

◆ NotifyOutput()

virtual void ScriptingConsole::NotifyOutput ( const std::string &  text)
overridevirtual

◆ notifyViewChanged()

virtual void ScriptingConsole::notifyViewChanged ( ViewFrame frame)
overridevirtual

Reimplemented from GlobalAreaWidget.

◆ reverseSearch()

std::vector< std::string > ScriptingConsole::reverseSearch ( const QString &  text)

◆ viewChanged

void ScriptingConsole::viewChanged ( QWidget *  frame)
signal

The documentation for this class was generated from the following file: