mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: consistency in naming
Let's try to call it Subsurface-mobile everywhere. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
37c74b5c2f
commit
fd23a4891c
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ Rectangle {
|
||||||
height: width
|
height: width
|
||||||
}
|
}
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
text: qsTr("Subsurface mobile")
|
text: qsTr("Subsurface-mobile")
|
||||||
height: subsurfaceLogo.height
|
height: subsurfaceLogo.height
|
||||||
anchors {
|
anchors {
|
||||||
left: subsurfaceLogo.right
|
left: subsurfaceLogo.right
|
||||||
|
|
|
@ -10,7 +10,7 @@ import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
|
||||||
|
|
||||||
MobileComponents.ApplicationWindow {
|
MobileComponents.ApplicationWindow {
|
||||||
id: rootItem
|
id: rootItem
|
||||||
title: qsTr("Subsurface mobile")
|
title: qsTr("Subsurface-mobile")
|
||||||
property bool fullscreen: true
|
property bool fullscreen: true
|
||||||
|
|
||||||
FontMetrics {
|
FontMetrics {
|
||||||
|
|
|
@ -61,7 +61,7 @@ void run_ui()
|
||||||
}
|
}
|
||||||
QQuickWindow *qml_window = qobject_cast<QQuickWindow *>(qqWindowObject);
|
QQuickWindow *qml_window = qobject_cast<QQuickWindow *>(qqWindowObject);
|
||||||
qml_window->setIcon(QIcon(":/subsurface-mobile-icon"));
|
qml_window->setIcon(QIcon(":/subsurface-mobile-icon"));
|
||||||
qqWindowObject->setProperty("messageText", QVariant("Subsurface mobile startup"));
|
qqWindowObject->setProperty("messageText", QVariant("Subsurface-mobile startup"));
|
||||||
#if !defined(Q_OS_ANDROID)
|
#if !defined(Q_OS_ANDROID)
|
||||||
qml_window->setHeight(1200);
|
qml_window->setHeight(1200);
|
||||||
qml_window->setWidth(800);
|
qml_window->setWidth(800);
|
||||||
|
|
Loading…
Add table
Reference in a new issue