mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T506, partially reverted QDockWidget overlay messages
* for some reasons overlay message do not work with COverlayMessagesDockWidget when floating * so using COverlayMessagesFrame for ATC/Cockpit again * COverlayMessagesFrame does not have the issue with floating
This commit is contained in:
committed by
Mat Sutcliffe
parent
dda468b899
commit
8bb1915d97
@@ -58,7 +58,7 @@ namespace BlackGui
|
||||
namespace Components
|
||||
{
|
||||
CAtcStationComponent::CAtcStationComponent(QWidget *parent) :
|
||||
QFrame(parent),
|
||||
COverlayMessagesFrame(parent),
|
||||
CIdentifiable(this),
|
||||
ui(new Ui::CAtcStationComponent)
|
||||
{
|
||||
@@ -70,7 +70,7 @@ namespace BlackGui
|
||||
CUpperCaseValidator *ucv = new CUpperCaseValidator(ui->le_AtcStationsOnlineMetar);
|
||||
ui->le_AtcStationsOnlineMetar->setValidator(ucv);
|
||||
|
||||
this->deferredActivate(this);
|
||||
this->activateTextMessages(true);
|
||||
|
||||
// some icons
|
||||
ui->tb_AtcStationsAtisReload->setIcon(CIcons::atis());
|
||||
@@ -469,7 +469,7 @@ namespace BlackGui
|
||||
|
||||
void CAtcStationComponent::showOverlayInlineTextMessage()
|
||||
{
|
||||
CEnableForDockWidgetInfoArea::showOverlayInlineTextMessage(TextMessagesCom1);
|
||||
COverlayMessagesFrame::showOverlayInlineTextMessage(TextMessagesCom1);
|
||||
}
|
||||
|
||||
void CAtcStationComponent::onDetailsToggled(bool checked)
|
||||
|
||||
Reference in New Issue
Block a user