StyleHomeControlSystem6.qml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /**
  2. * Copyright © 2010 Digia Plc
  3. * Copyright © 2010 Nokia Corporation
  4. *
  5. * All rights reserved.
  6. *
  7. * Nokia and Nokia Connecting People are registered trademarks of
  8. * Nokia Corporation.
  9. * Java and all Java-based marks are trademarks or registered
  10. * trademarks of
  11. * Sun Microsystems, Inc. Other product and company names
  12. * mentioned herein may be
  13. * trademarks or trade names of their respective owners.
  14. *
  15. *
  16. * Subject to the conditions below, you may, without charge:
  17. *
  18. * · Use, copy, modify and/or merge copies of this software and
  19. * associated documentation files (the "Software")
  20. *
  21. * · Publish, distribute, sub-licence and/or sell new software
  22. * derived from or incorporating the Software.
  23. *
  24. *
  25. * This file, unmodified, shall be included with all copies or
  26. * substantial portions
  27. * of the Software that are distributed in source code form.
  28. *
  29. * The Software cannot constitute the primary value of any new
  30. * software derived
  31. * from or incorporating the Software.
  32. *
  33. * Any person dealing with the Software shall not misrepresent
  34. * the source of the Software.
  35. *
  36. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  37. * KIND, EXPRESS OR IMPLIED,
  38. * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  39. * MERCHANTABILITY, FITNESS FOR A
  40. * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  41. * AUTHORS OR COPYRIGHT
  42. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  43. * WHETHER IN AN ACTION
  44. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  45. * CONNECTION WITH THE
  46. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  47. */
  48. import Qt 4.7
  49. import "../../colibri"
  50. import "../../colibri/gradients"
  51. //white style for Home Control System
  52. CLStyle {
  53. SystemPalette {id: palette; colorGroup: SystemPalette.Active}
  54. id: systemCLStyle
  55. colorWhenActive: "#AAAAAA"
  56. colorWhenDefault: "#C9C8C8"
  57. colorWhenPressed: "#C9C8C8"
  58. colorWhenHovered: "#C9C8C8"
  59. colorWhenSelected: "#2F9CD5"
  60. textColor: "#252525"
  61. roundness: 0.00001 // 0-1
  62. fontSize: 12
  63. fontFamily: "Helvetica"
  64. fontWeight: "DemiBold"
  65. borderWidth: 1
  66. borderColor: "#9C9C9C"
  67. borderColorWhenHovered: "white"
  68. borderColorWhenPressed: palette.highlight
  69. borderColorWhenSelected: palette.highlight
  70. borderWidthInner: 1
  71. borderColorInner: "#7E7E7E"
  72. borderColorInnerWhenHovered: "white"
  73. borderColorInnerWhenPressed: palette.highlight
  74. bgColor: "#848484"
  75. itemRoundness: 0.00001
  76. selectionColor: "#C3C7C7"
  77. selectedTextColor: palette.windowText
  78. gradientActiveOn: false
  79. gradientDefaultOn: false
  80. gradientHoveredOn: false
  81. gradientPressedOn: false
  82. gradientBgOn: false
  83. gradientCheckedOn: false
  84. gradientSelectedOn: false
  85. activeStateOn: true
  86. hoveredStateOn: true
  87. pressedStateOn: true
  88. borderColorWhenChecked: "#3f3b3c"
  89. colorWhenChecked: "#3f3b3c"
  90. borderColorWhenActive: palette.highlight
  91. gradientBg: Gradient {
  92. GradientStop { position: 0; color: "#C2C2C2" }
  93. GradientStop { position: 1; color: "#E0E0E0" }
  94. }
  95. gradientWhenDefault: Gradient {
  96. GradientStop { position: 0; color: "#FFFFFF" }
  97. GradientStop { position: 1; color: "#C9C8C8" }
  98. }
  99. gradientWhenHovered: Gradient {
  100. GradientStop { position: 0; color: "#FFFFFF" }
  101. GradientStop { position: 1; color: "#908F8F" }
  102. }
  103. gradientWhenPressed: Gradient {
  104. GradientStop { position: 0; color: "#FFFFFF" }
  105. GradientStop { position: 1; color: "#908F8F" }
  106. }
  107. gradientWhenSelected: LightBlue{}
  108. gradientWhenChecked: gradientWhenDefault
  109. gradientWhenActive: Gradient {
  110. GradientStop { position: 0; color: "#C9C8C8" }
  111. GradientStop { position: 1; color: "#FFFFFF" }
  112. }
  113. }