DefaultProgressBar.qml 1002 B

12345678910111213141516171819202122232425262728
  1. // Copyright (C) 2020 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.Templates as T
  6. import QtQuick.Controls
  7. import QtQuick.NativeStyle as NativeStyle
  8. T.ProgressBar {
  9. id: control
  10. readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem
  11. readonly property bool __notCustomizable: true
  12. implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
  13. implicitContentWidth + leftPadding + rightPadding,
  14. 90)
  15. implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
  16. implicitContentHeight + topPadding + bottomPadding)
  17. background: NativeStyle.ProgressBar {
  18. control: control
  19. useNinePatchImage: false
  20. readonly property bool __ignoreNotCustomizable: true
  21. }
  22. }