mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
* allow to set/unset frameless mode in CDockWidget * adjusted context menus * adjusted style sheets * ini settings for margins * hidden info area to host floating widgets only visible when floating (allows to CDockInfoArea widgets) * made some private slots non-virtual
This commit is contained in:
@@ -413,9 +413,14 @@ QString BlackMisc::boolToOnOff(bool v, bool i18n)
|
||||
return v ? "on" : "off";
|
||||
}
|
||||
|
||||
|
||||
QString BlackMisc::boolToYesNo(bool v, bool i18n)
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
return v ? "yes" : "no";
|
||||
}
|
||||
|
||||
QString BlackMisc::boolToTrueFalse(bool v, bool i18n)
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
return v ? "true" : "false";
|
||||
}
|
||||
|
||||
@@ -177,6 +177,9 @@ namespace BlackMisc
|
||||
//! Bool to yes / no
|
||||
QString boolToYesNo(bool v, bool i18n = false);
|
||||
|
||||
//! Bool to true / false
|
||||
QString boolToTrueFalse(bool v, bool i18n = false);
|
||||
|
||||
//! Get local host name
|
||||
const QString &localHostName();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user