swift
Signals | Public Member Functions | List of all members
swift::gui::components::CCommandInput Class Reference

Specialized line edit for command inputs. More...

Inheritance diagram for swift::gui::components::CCommandInput:
[legend]

Signals

void commandEntered (const QString &command, const swift::misc::CIdentifier &originator)
 Command was entered.
 
void textEntered (const QString &command, const swift::misc::CIdentifier &originator)
 Text entered (which is not a command)
 
- Signals inherited from swift::gui::CLineEditHistory
void returnPressedUnemptyLine ()
 Return has been pressed, line is NOT empty (spaces are trimmed) More...
 

Public Member Functions

 CCommandInput (QWidget *parent=nullptr)
 Constructor.
 
void showToolTip (bool show)
 Show tooltip.
 
- Public Member Functions inherited from swift::gui::CLineEditHistory
QString getLastEnteredLine () const
 Get the last entered line.
 
QString getLastEnteredLineFormatted () const
 Get the last entered line but simplified and trimmed.
 
void clearHistory ()
 Clear the history.
 
- Public Member Functions inherited from swift::misc::CIdentifiable
const CIdentifieridentifier () const
 Get identifier.
 
void setIdentifier (const CIdentifier &identifier)
 Set identifier, allows to set an external identifier.
 
bool isMyIdentifier (const CIdentifier &otherIdentifier) const
 My identifier?
 

Additional Inherited Members

- Protected Member Functions inherited from swift::gui::CLineEditHistory
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
- Protected Member Functions inherited from swift::misc::CIdentifiable
 CIdentifiable (const QString &objectName)
 Use literal based object name.
 
 CIdentifiable (QObject *nameProvider)
 Connect with QObject providing the name.
 
 CIdentifiable ()
 Construct without a name.
 
 ~CIdentifiable ()
 Destructor.
 
 CIdentifiable (const CIdentifiable &)=default
 Copy constructor.
 
CIdentifiableoperator= (const CIdentifiable &)=default
 Copy assignment operator.
 

Detailed Description

Specialized line edit for command inputs.

Definition at line 33 of file commandinput.h.


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