ApplicationWindow.qml 660 B

12345678910111213141516171819202122232425
  1. // Copyright (C) 2017 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. // Qt-Security score:significant reason:default
  4. import QtQuick
  5. import QtQuick.Window
  6. import QtQuick.Templates as T
  7. import QtQuick.Controls.Imagine
  8. import QtQuick.Controls.Imagine.impl
  9. T.ApplicationWindow {
  10. id: window
  11. background: NinePatchImage {
  12. width: window.width
  13. height: window.height
  14. source: Imagine.url + "applicationwindow-background"
  15. NinePatchImageSelector on source {
  16. states: [
  17. {"active": window.active}
  18. ]
  19. }
  20. }
  21. }