mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T536, ATC and cockpit component request overlay text messages and use COverlayMessagesFrameEnableForDockWidgetInfoArea
This commit is contained in:
committed by
Mat Sutcliffe
parent
045f79d0bd
commit
963ac03be0
@@ -22,8 +22,7 @@ namespace BlackGui
|
||||
namespace Components
|
||||
{
|
||||
CCockpitComponent::CCockpitComponent(QWidget *parent) :
|
||||
COverlayMessagesFrame(parent),
|
||||
CEnableForDockWidgetInfoArea(),
|
||||
COverlayMessagesFrameEnableForDockWidgetInfoArea(parent),
|
||||
ui(new Ui::CCockpitComponent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
@@ -128,12 +127,12 @@ namespace BlackGui
|
||||
|
||||
void CCockpitComponent::onRequestTextMessageCom1()
|
||||
{
|
||||
this->showOverlayInlineTextMessage(TextMessagesCom1);
|
||||
this->requestTextMessageEntryTab(TextMessagesCom1);
|
||||
}
|
||||
|
||||
void CCockpitComponent::onRequestTextMessageCom2()
|
||||
{
|
||||
this->showOverlayInlineTextMessage(TextMessagesCom2);
|
||||
this->requestTextMessageEntryTab(TextMessagesCom2);
|
||||
}
|
||||
|
||||
void CCockpitComponent::onToggleFloating(bool floating)
|
||||
|
||||
Reference in New Issue
Block a user