mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Formatting
This commit is contained in:
@@ -206,8 +206,7 @@ namespace BlackGui
|
||||
const CMetar metar(sGui->getIContextNetwork()->getMetarForAirport(icao));
|
||||
if (metar.hasMessage())
|
||||
{
|
||||
const QString metarText = metar.getMessage() %
|
||||
QStringLiteral("\n\n") % metar.getMetarText();
|
||||
const QString metarText = metar.getMessage() % QStringLiteral("\n\n") % metar.getMetarText();
|
||||
ui->te_AtcStationsOnlineInfo->setText(metarText);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -136,12 +136,14 @@ namespace BlackGui
|
||||
|
||||
//! Data changed
|
||||
//! \remark passing back selected objects so they can be reselected
|
||||
//! \remark condsider modelDataChangedDigest for performance reasons
|
||||
void modelDataChanged(int count, bool withFilter);
|
||||
|
||||
//! Data changed, digest version
|
||||
void modelDataChangedDigest(int count, bool withFilter);
|
||||
|
||||
//! Model has been changed
|
||||
//! Triggered with each change, for performance consider using changedDigest
|
||||
void changed();
|
||||
|
||||
//! Model has been changed, digest signal
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace BlackGui
|
||||
CStatusMessageListModel::CStatusMessageListModel(QObject *parent) :
|
||||
CListModelBase<CStatusMessage, CStatusMessageList, true>("ViewStatusMessageList", parent)
|
||||
{
|
||||
setMode(Detailed);
|
||||
this->setMode(Detailed);
|
||||
|
||||
// force strings for translation in resource files
|
||||
(void)QT_TRANSLATE_NOOP("ViewStatusMessageList", "time");
|
||||
@@ -67,6 +67,5 @@ namespace BlackGui
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -452,9 +452,9 @@ namespace BlackGui
|
||||
bool m_forceColumnsToMaxSize = true; //!< force that columns are extended to full viewport width
|
||||
QWidget *m_filterWidget = nullptr; //!< filter widget or dialog
|
||||
Menu m_menus = MenuDefault; //!< Default menu settings
|
||||
Menus::IMenuDelegate *m_menu = nullptr; //!< custom menu if any
|
||||
Menus::CFontMenu *m_fontMenu = nullptr; //!< font menu if applicable
|
||||
CLoadIndicator *m_loadIndicator = nullptr; //!< load indicator if needed
|
||||
Menus::IMenuDelegate *m_menu = nullptr; //!< custom menu if any
|
||||
Menus::CFontMenu *m_fontMenu = nullptr; //!< font menu if applicable
|
||||
CLoadIndicator *m_loadIndicator = nullptr; //!< load indicator if needed
|
||||
QMap<MenuFlag, Menus::CMenuActions> m_menuFlagActions; //!< initialized actions
|
||||
BlackMisc::CSettingReadOnly<Settings::TGeneralGui> m_guiSettings { this, &CViewBaseNonTemplate::settingsChanged }; //!< general GUI settings
|
||||
BlackMisc::CSetting<Settings::TViewDirectorySettings> m_dirSettings { this }; //!< directory for load/save
|
||||
|
||||
Reference in New Issue
Block a user