swift
|
Text message widget. More...
Signals | |
void | displayInInfoWindow (const swift::misc::CVariant &message, std::chrono::milliseconds displayDuration) |
Message to be displayed in central info window. More... | |
void | commandEntered (const QString &commandLine, const swift::misc::CIdentifier &originator) |
Command line was entered. | |
void | textMessageTabSelected () |
Text message tab selected. | |
Public Member Functions | |
CTextMessageComponent (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CTextMessageComponent () |
Destructor. | |
virtual bool | setParentDockWidgetInfoArea (CDockWidgetInfoArea *parentDockableWidget) |
Corresponding dockable widget in info area. More... | |
bool | handleGlobalCommandLineText (const QString &commandLine, const swift::misc::CIdentifier &originator) |
Used to allow direct input from global command line when visible. More... | |
void | showCorrespondingTab (const swift::misc::aviation::CCallsign &callsign) |
Display the tab for given callsign. | |
void | showCorrespondingTabForFrequency (const swift::misc::physical_quantities::CFrequency &frequency) |
Display the tab for given frequency. | |
void | setTab (TextMessageTab tab) |
Set tab. | |
bool | hasAllMessagesTab () const |
Has an all tab. | |
void | showSettings (bool show) |
Show the settings. | |
void | showTextMessageEntry (bool show) |
Show an text entry field. | |
void | focusTextEntry () |
Focus the text entry field. | |
void | removeAllMessagesTab () |
Remove the all tab, the operation cannot be undone. | |
bool | isShowingRealNames () const |
Showing real names. | |
void | setShowingRealNames (bool show) |
Showing real names. | |
void | setAsUsedInOverlayMode () |
Used as overlay and not dock widget. | |
void | activate (bool send, bool receive) |
Ignore incoming send/receive signals. | |
bool | isActivated () const |
Text activated. | |
void | setAtcButtonsRowsColumns (int rows, int cols, bool setMaxElements) |
Rows/columns. | |
void | setAtcButtonsBackgroundUpdates (bool backgroundUpdates) |
Background updates or explicitly called. | |
void | updateAtcStationsButtons () |
Update buttons. | |
void | fontSizeMinus () |
Font size. | |
void | fontSizePlus () |
Font size. | |
![]() | |
CDockWidgetInfoArea * | getDockWidgetInfoArea () const |
Corresponding dockable widget in info area. | |
bool | hasDockWidgetArea () const |
Has dock area? | |
CInfoArea * | getParentInfoArea () const |
The parent info area. | |
bool | isParentDockWidgetFloating () const |
Is the parent dockable widget floating? | |
bool | isVisibleWidget () const |
Visible widget. More... | |
CEnableForFramelessWindow * | mainApplicationWindow () const |
Main application window if any. | |
QWidget * | mainApplicationWindowWidget () const |
Main application window widget if any. | |
void | displayMyself () |
Display myself. | |
Additional Inherited Members | |
![]() | |
CEnableForDockWidgetInfoArea (CDockWidgetInfoArea *parentInfoArea=nullptr) | |
Constructor. More... | |
virtual | ~CEnableForDockWidgetInfoArea () |
Destructor. | |
![]() | |
CDockWidgetInfoArea * | m_parentDockableInfoArea = nullptr |
my parent dockable widget | |
swift::misc::CConnectionGuard | m_connections |
connections | |
Text message widget.
Definition at line 37 of file textmessagecomponent.h.
|
signal |
Message to be displayed in central info window.
bool swift::gui::components::CTextMessageComponent::handleGlobalCommandLineText | ( | const QString & | commandLine, |
const swift::misc::CIdentifier & | originator | ||
) |
Used to allow direct input from global command line when visible.
Definition at line 813 of file textmessagecomponent.cpp.
|
virtual |
Corresponding dockable widget in info area.
Reimplemented from swift::gui::CEnableForDockWidgetInfoArea.
Definition at line 130 of file textmessagecomponent.cpp.