serversetting.ui 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ServerSetting</class>
  4. <widget class="QWidget" name="ServerSetting">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>281</width>
  10. <height>121</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <layout class="QFormLayout" name="formLayout">
  22. <item row="0" column="0">
  23. <widget class="QLabel" name="labAddress">
  24. <property name="text">
  25. <string>Server</string>
  26. </property>
  27. </widget>
  28. </item>
  29. <item row="1" column="0">
  30. <widget class="QLabel" name="labPort">
  31. <property name="text">
  32. <string>Name</string>
  33. </property>
  34. </widget>
  35. </item>
  36. <item row="0" column="1">
  37. <widget class="QLineEdit" name="ledAddress"/>
  38. </item>
  39. <item row="1" column="1">
  40. <widget class="QLineEdit" name="ledPort"/>
  41. </item>
  42. <item row="2" column="0">
  43. <widget class="QLabel" name="label">
  44. <property name="text">
  45. <string>Password</string>
  46. </property>
  47. </widget>
  48. </item>
  49. <item row="2" column="1">
  50. <widget class="QLineEdit" name="ledPwd">
  51. <property name="inputMethodHints">
  52. <set>Qt::InputMethodHint::ImhHiddenText|Qt::InputMethodHint::ImhNoAutoUppercase|Qt::InputMethodHint::ImhNoPredictiveText|Qt::InputMethodHint::ImhSensitiveData</set>
  53. </property>
  54. <property name="echoMode">
  55. <enum>QLineEdit::EchoMode::Password</enum>
  56. </property>
  57. </widget>
  58. </item>
  59. </layout>
  60. </item>
  61. <item>
  62. <layout class="QHBoxLayout" name="horizontalLayout_2">
  63. <item>
  64. <spacer name="horizontalSpacer">
  65. <property name="orientation">
  66. <enum>Qt::Orientation::Horizontal</enum>
  67. </property>
  68. <property name="sizeHint" stdset="0">
  69. <size>
  70. <width>40</width>
  71. <height>20</height>
  72. </size>
  73. </property>
  74. </spacer>
  75. </item>
  76. <item>
  77. <layout class="QHBoxLayout" name="horizontalLayout">
  78. <item>
  79. <widget class="QPushButton" name="btnCencel">
  80. <property name="sizePolicy">
  81. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  82. <horstretch>0</horstretch>
  83. <verstretch>0</verstretch>
  84. </sizepolicy>
  85. </property>
  86. <property name="minimumSize">
  87. <size>
  88. <width>50</width>
  89. <height>35</height>
  90. </size>
  91. </property>
  92. <property name="maximumSize">
  93. <size>
  94. <width>100</width>
  95. <height>50</height>
  96. </size>
  97. </property>
  98. <property name="text">
  99. <string>取消</string>
  100. </property>
  101. </widget>
  102. </item>
  103. <item>
  104. <widget class="QPushButton" name="btnOk">
  105. <property name="sizePolicy">
  106. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  107. <horstretch>0</horstretch>
  108. <verstretch>0</verstretch>
  109. </sizepolicy>
  110. </property>
  111. <property name="minimumSize">
  112. <size>
  113. <width>50</width>
  114. <height>35</height>
  115. </size>
  116. </property>
  117. <property name="maximumSize">
  118. <size>
  119. <width>100</width>
  120. <height>50</height>
  121. </size>
  122. </property>
  123. <property name="styleSheet">
  124. <string notr="true"/>
  125. </property>
  126. <property name="text">
  127. <string>确定</string>
  128. </property>
  129. </widget>
  130. </item>
  131. </layout>
  132. </item>
  133. </layout>
  134. </item>
  135. </layout>
  136. </widget>
  137. <resources/>
  138. <connections/>
  139. </ui>