qminmaxwindowwidget.ui 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>QMinMaxWindowWidget</class>
  4. <widget class="QWidget" name="QMinMaxWindowWidget">
  5. <property name="enabled">
  6. <bool>true</bool>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>112</width>
  13. <height>27</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string/>
  18. </property>
  19. <layout class="QHBoxLayout" name="horizontalLayout">
  20. <property name="spacing">
  21. <number>0</number>
  22. </property>
  23. <property name="leftMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="topMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="rightMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="bottomMargin">
  33. <number>0</number>
  34. </property>
  35. <item>
  36. <widget class="QToolButton" name="toolButtonMin">
  37. <property name="minimumSize">
  38. <size>
  39. <width>25</width>
  40. <height>25</height>
  41. </size>
  42. </property>
  43. <property name="maximumSize">
  44. <size>
  45. <width>25</width>
  46. <height>25</height>
  47. </size>
  48. </property>
  49. <property name="styleSheet">
  50. <string notr="true">QToolButton{
  51. image:url(:/CHJUnHandle/Resources/sysbtn/nav_maxamin.png);
  52. border:none;
  53. }
  54. QToolButton:hover{
  55. border-radius: 4px ;
  56. background-color: rgb(73, 154, 97);
  57. }</string>
  58. </property>
  59. <property name="text">
  60. <string/>
  61. </property>
  62. </widget>
  63. </item>
  64. <item>
  65. <widget class="QToolButton" name="toolButtonMax">
  66. <property name="minimumSize">
  67. <size>
  68. <width>25</width>
  69. <height>25</height>
  70. </size>
  71. </property>
  72. <property name="maximumSize">
  73. <size>
  74. <width>25</width>
  75. <height>25</height>
  76. </size>
  77. </property>
  78. <property name="styleSheet">
  79. <string notr="true">QToolButton{
  80. border:none;
  81. image:url(:/CHJUnHandle/Resources/sysbtn/nav_min.png);
  82. }
  83. QToolButton:hover{
  84. border-radius: 4px ;
  85. background-color: rgb(73, 154, 97);
  86. }
  87. QToolButton:checked{
  88. image:url(:/CHJUnHandle/Resources/sysbtn/nav_max.png);
  89. }</string>
  90. </property>
  91. <property name="text">
  92. <string/>
  93. </property>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QToolButton" name="toolButtonClose">
  98. <property name="maximumSize">
  99. <size>
  100. <width>25</width>
  101. <height>25</height>
  102. </size>
  103. </property>
  104. <property name="styleSheet">
  105. <string notr="true">QToolButton{
  106. border:none;
  107. image:url(:/CHJUnHandle/Resources/sysbtn/nav_close.png);
  108. }
  109. QToolButton:hover{
  110. background-color: rgb(210,32,30);
  111. border-radius: 4px ;
  112. }
  113. </string>
  114. </property>
  115. <property name="text">
  116. <string/>
  117. </property>
  118. </widget>
  119. </item>
  120. </layout>
  121. </widget>
  122. <layoutdefault spacing="6" margin="11"/>
  123. <resources/>
  124. <connections/>
  125. </ui>