DefaultDial.qml 1.0 KB

1234567891011121314151617181920212223242526272829
  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.Controls
  6. import QtQuick.Templates as T
  7. import QtQuick.NativeStyle as NativeStyle
  8. T.Dial {
  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. 80 /* minimum */ )
  15. implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
  16. implicitContentHeight + topPadding + bottomPadding,
  17. 80 /* minimum */ )
  18. background: NativeStyle.Dial {
  19. control: control
  20. useNinePatchImage: false
  21. readonly property bool __ignoreNotCustomizable: true
  22. }
  23. }