Browse Source

Added App Title

Signed-off-by: Blagovest Petrov <blagovest@petrovs.info>
pull/1/head
Blagovest Petrov 4 years ago
parent
commit
fba191e9c8
  1. 1
      CMakeLists.txt
  2. 17
      main.qml

1
CMakeLists.txt

@ -20,7 +20,6 @@ include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS})
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
#set(CMAKE_AUTORCC ON)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDEInstallDirs)

17
main.qml

@ -107,12 +107,21 @@ Window {
}
MenuButton {
id: buttonMinimize
anchors.left: buttonExit.right
caption: "_"
onClicked: mainWindow.hide()
id: buttonMinimize
anchors.left: buttonExit.right
caption: "_"
onClicked: mainWindow.hide()
}
Text {
id: appTitle
anchors.left: buttonMinimize.right
text: qsTr("TangraPlay")
font.pixelSize: 20
font.bold: true
color: "#f9c620"
}
}
}

Loading…
Cancel
Save