swift
|
Specialized line edit for command inputs. More...
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) | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
const CIdentifier & | identifier () 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 | |
![]() | |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
![]() | |
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. | |
CIdentifiable & | operator= (const CIdentifiable &)=default |
Copy assignment operator. | |
Specialized line edit for command inputs.
Definition at line 33 of file commandinput.h.