basedialog.ui 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CBaseDialog</class>
  4. <widget class="QDialog" name="CBaseDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>933</width>
  10. <height>653</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>CBaseDialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QDialog {
  18. border-radius:6px;
  19. background-color:rgb(255,255,255);
  20. }
  21. #widget_title {
  22. background-color: #60BB69;
  23. min-height:40px;
  24. }
  25. #label_title {
  26. font:16px &quot;微软雅黑&quot;;
  27. color:rgb(255,255,255);
  28. }
  29. </string>
  30. </property>
  31. <layout class="QVBoxLayout" name="verticalLayout">
  32. <property name="spacing">
  33. <number>0</number>
  34. </property>
  35. <property name="leftMargin">
  36. <number>6</number>
  37. </property>
  38. <property name="topMargin">
  39. <number>6</number>
  40. </property>
  41. <property name="rightMargin">
  42. <number>6</number>
  43. </property>
  44. <property name="bottomMargin">
  45. <number>6</number>
  46. </property>
  47. <item>
  48. <widget class="QWidget" name="widget_title" native="true">
  49. <property name="minimumSize">
  50. <size>
  51. <width>0</width>
  52. <height>60</height>
  53. </size>
  54. </property>
  55. <property name="maximumSize">
  56. <size>
  57. <width>16777215</width>
  58. <height>60</height>
  59. </size>
  60. </property>
  61. <property name="styleSheet">
  62. <string notr="true">
  63. QWidget#widget_title{
  64. background-color: qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:0, stop:0 #6769FF, stop:1 #5EA9FF);
  65. border-top-left-radius:4px;
  66. border-top-right-radius:4px;
  67. }</string>
  68. </property>
  69. <layout class="QHBoxLayout" name="horizontalLayout">
  70. <property name="leftMargin">
  71. <number>10</number>
  72. </property>
  73. <property name="topMargin">
  74. <number>0</number>
  75. </property>
  76. <property name="rightMargin">
  77. <number>6</number>
  78. </property>
  79. <property name="bottomMargin">
  80. <number>0</number>
  81. </property>
  82. <item>
  83. <widget class="QLabel" name="label_title">
  84. <property name="text">
  85. <string>标题</string>
  86. </property>
  87. </widget>
  88. </item>
  89. <item>
  90. <spacer name="horizontalSpacer">
  91. <property name="orientation">
  92. <enum>Qt::Horizontal</enum>
  93. </property>
  94. <property name="sizeHint" stdset="0">
  95. <size>
  96. <width>0</width>
  97. <height>0</height>
  98. </size>
  99. </property>
  100. </spacer>
  101. </item>
  102. <item>
  103. <widget class="QMinMaxWindowWidget" name="widget_sysbutton" native="true"/>
  104. </item>
  105. </layout>
  106. </widget>
  107. </item>
  108. <item>
  109. <widget class="QWidget" name="widget_content" native="true"/>
  110. </item>
  111. </layout>
  112. </widget>
  113. <layoutdefault spacing="6" margin="11"/>
  114. <customwidgets>
  115. <customwidget>
  116. <class>QMinMaxWindowWidget</class>
  117. <extends>QWidget</extends>
  118. <header location="global">qminmaxwindowwidget.h</header>
  119. <container>1</container>
  120. </customwidget>
  121. </customwidgets>
  122. <resources/>
  123. <connections/>
  124. </ui>