mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #275, own info window component
* added to CVariant for value object * signal in text message to indicate overlay messages * info window component (currently not runtme aware, maybe changed in future) * removed old window, adjusted GUI
This commit is contained in:
@@ -81,7 +81,7 @@ namespace BlackGui
|
||||
}
|
||||
else
|
||||
{
|
||||
emit this->displayOverlayInfo(CStatusMessage::getInfoMessage("SELCAL received", CStatusMessage::TypeGui));
|
||||
emit this->displayInInfoWindow(CStatusMessage::getInfoMessage("SELCAL received", CStatusMessage::TypeGui).toCVariant(), 3 * 1000);
|
||||
}
|
||||
}
|
||||
continue; // not displayed
|
||||
@@ -127,7 +127,7 @@ namespace BlackGui
|
||||
{
|
||||
// if the channel is selected, do nothing
|
||||
if (!this->isCorrespondingTextMessageTabSelected(message))
|
||||
emit this->displayOverlayInfo(message.asStatusMessage(true, true, "\t"));
|
||||
emit this->displayInInfoWindow(message.toCVariant(), 5 * 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user