2022-12-12 11:24:21 +00:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
|
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls.Basic
|
|
|
|
import FileSystemModule
|
|
|
|
|
|
|
|
ApplicationWindow {
|
|
|
|
id: root
|
|
|
|
width: 500
|
|
|
|
height: 360
|
|
|
|
flags: Qt.Window | Qt.FramelessWindowHint
|
|
|
|
color: Colors.surface1
|
|
|
|
|
|
|
|
menuBar: MyMenuBar {
|
|
|
|
id: menuBar
|
2023-06-27 13:54:20 +00:00
|
|
|
|
|
|
|
dragWindow: root
|
|
|
|
implicitHeight: 30
|
2022-12-12 11:24:21 +00:00
|
|
|
infoText: "About Qt"
|
|
|
|
}
|
|
|
|
|
|
|
|
Image {
|
|
|
|
id: logo
|
2023-06-27 13:54:20 +00:00
|
|
|
|
2022-12-12 11:24:21 +00:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.margins: 20
|
2023-06-27 13:54:20 +00:00
|
|
|
|
2023-04-11 14:52:16 +00:00
|
|
|
source: "../icons/qt_logo.svg"
|
2023-06-27 13:54:20 +00:00
|
|
|
sourceSize.width: 80
|
|
|
|
sourceSize.height: 80
|
2022-12-12 11:24:21 +00:00
|
|
|
fillMode: Image.PreserveAspectFit
|
2023-06-27 13:54:20 +00:00
|
|
|
|
2022-12-12 11:24:21 +00:00
|
|
|
smooth: true
|
|
|
|
antialiasing: true
|
|
|
|
asynchronous: true
|
|
|
|
}
|
|
|
|
|
|
|
|
TextArea {
|
|
|
|
anchors.top: logo.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.margins: 20
|
2023-06-27 13:54:20 +00:00
|
|
|
|
|
|
|
selectedTextColor: Colors.textFile
|
|
|
|
selectionColor: Colors.selection
|
2022-12-12 11:24:21 +00:00
|
|
|
horizontalAlignment: Text.AlignHCenter
|
2023-06-27 13:54:20 +00:00
|
|
|
text: qsTr("Qt Group (Nasdaq Helsinki: QTCOM) is a global software company with a strong"
|
|
|
|
+ "presence in more than 70 industries and is the leading independent technology"
|
|
|
|
+ "behind 1+ billion devices and applications. Qt is used by major global"
|
|
|
|
+ "companiesand developers worldwide, and the technology enables its customers to"
|
|
|
|
+ "deliver exceptional user experiences and advance their digital transformation"
|
|
|
|
+ "initiatives. Qt achieves this through its cross-platform software framework for"
|
|
|
|
+ "the development of apps and devices, under both commercial and"
|
|
|
|
+ "open-source licenses.")
|
|
|
|
color: Colors.textFile
|
|
|
|
wrapMode: Text.WrapAnywhere
|
2022-12-12 11:24:21 +00:00
|
|
|
readOnly: true
|
2023-06-27 13:54:20 +00:00
|
|
|
antialiasing: true
|
|
|
|
background: null
|
|
|
|
}
|
|
|
|
|
|
|
|
ResizeButton {
|
|
|
|
resizeWindow: root
|
2022-12-12 11:24:21 +00:00
|
|
|
}
|
|
|
|
}
|