OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Terminal Class Reference

#include "Terminal.h"

Inheritance diagram for Terminal:
otoolkit::Tool

Public Member Functions

 Terminal ()
 
virtual ~Terminal ()
 
virtual QString getToolName (void) const override
 Return the unique tool name The name will be used to create all required menu entries.
 
virtual bool runTool (QMenu *_rootMenu, otoolkit::ToolWidgets &_content) override
 Create the central widget that will be displayed to the user in the main tab view.
 
virtual void restoreToolSettings (QSettings &_settings) override
 
virtual bool prepareToolShutdown (QSettings &_settings) override
 Stop all the logic of this tool.
 
void notifyItemDeleted (TerminalCollectionItem *_item)
 
void setEndpointFromMessageType (ot::MessageType _type)
 
ot::MessageType endpointToMessageType (void) const
 
- Public Member Functions inherited from otoolkit::Tool
 Tool ()
 
virtual ~Tool ()
 
virtual QIcon getToolIcon (void) const
 Return the icon that will be used in the tool menu.
 
virtual void toolWasShown (void)
 
virtual void toolWasHidden (void)
 
void setToolIsRunning (bool _isRunning)
 
bool getToolIsRunning (void) const
 
void setToolIsExternal (bool _isExternal)
 
bool getToolIsExternal (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from otoolkit::Tool
ot::WidgetViewcreateCentralWidgetView (QWidget *_widget, const QString &_widgetName) const
 
ot::WidgetViewcreateSideWidgetView (QWidget *_widget, const QString &_widgetName) const
 
ot::WidgetViewcreateToolWidgetView (QWidget *_widget, const QString &_widgetName) const
 

Constructor & Destructor Documentation

◆ Terminal()

Terminal::Terminal ( )

◆ ~Terminal()

Terminal::~Terminal ( )
virtual

Member Function Documentation

◆ endpointToMessageType()

ot::MessageType Terminal::endpointToMessageType ( void ) const

◆ getToolName()

QString Terminal::getToolName ( void ) const
overridevirtual

Return the unique tool name The name will be used to create all required menu entries.

Implements otoolkit::Tool.

◆ notifyItemDeleted()

void Terminal::notifyItemDeleted ( TerminalCollectionItem * _item)

◆ prepareToolShutdown()

bool Terminal::prepareToolShutdown ( QSettings & _settings)
overridevirtual

Stop all the logic of this tool.

Reimplemented from otoolkit::Tool.

◆ restoreToolSettings()

void Terminal::restoreToolSettings ( QSettings & _settings)
overridevirtual

Reimplemented from otoolkit::Tool.

◆ runTool()

bool Terminal::runTool ( QMenu * _rootMenu,
otoolkit::ToolWidgets & _content )
overridevirtual

Create the central widget that will be displayed to the user in the main tab view.

Implements otoolkit::Tool.

◆ setEndpointFromMessageType()

void Terminal::setEndpointFromMessageType ( ot::MessageType _type)

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