mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 07:15:34 +08:00
refs #312, preparation for small navigation bars
This commit is contained in:
@@ -149,9 +149,9 @@ bool SwiftGuiStd::isContextAudioAvailableCheck()
|
||||
|
||||
void SwiftGuiStd::ps_displayStatusMessageInGui(const CStatusMessage &statusMessage)
|
||||
{
|
||||
if (!this->m_init) return;
|
||||
if (statusMessage.isRedundant()) return;
|
||||
if (statusMessage.wasHandledBy(this)) return;
|
||||
if (!this->m_init) { return; }
|
||||
if (statusMessage.isRedundant()) { return; }
|
||||
if (statusMessage.wasHandledBy(this)) { return; }
|
||||
statusMessage.markAsHandledBy(this);
|
||||
this->m_statusBar.displayStatusMessage(statusMessage);
|
||||
this->ui->comp_MainInfoArea->displayStatusMessage(statusMessage);
|
||||
@@ -308,6 +308,17 @@ void SwiftGuiStd::ps_onChangedMainInfoAreaFloating(bool floating)
|
||||
Q_UNUSED(floating);
|
||||
}
|
||||
|
||||
void SwiftGuiStd::ps_toggleNavigatorHorizontal()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SwiftGuiStd::ps_toggleNavigatorVertical()
|
||||
{
|
||||
bool v = ui->ndw_NavigatorVertical->isVisible();
|
||||
ui->ndw_NavigatorVertical->setVisible(!v);
|
||||
}
|
||||
|
||||
void SwiftGuiStd::playNotifcationSound(CNotificationSounds::Notification notification) const
|
||||
{
|
||||
if (!this->m_contextAudioAvailable) return;
|
||||
|
||||
Reference in New Issue
Block a user