SliderStyle.qml 858 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
pragma Singleton
import QtQml 2.2

import Colors 1.0

// =============================================================================

QtObject {
  property QtObject background: QtObject {
    property color color: Colors.n
    property int height: 4
    property int radius: 2
    property int width: 200

    property QtObject content: QtObject {
      property color color: Colors.t
      property int radius: 2
    }
  }

  property QtObject handle: QtObject {
    property int height: 16
    property int radius: 13
    property int width: 16

    property QtObject border: QtObject {
      property QtObject color: QtObject {
        property color normal: Colors.n
        property color pressed: Colors.n
      }
    }

    property QtObject color: QtObject {
      property color normal: Colors.e
      property color pressed: Colors.q
    }
  }
}