settings.ui 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Dialog</class>
  4. <widget class="QDialog" name="Dialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>215</width>
  10. <height>195</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset>
  18. <normaloff>pp.png</normaloff>pp.png</iconset>
  19. </property>
  20. <layout class="QGridLayout" name="gridLayout">
  21. <item row="0" column="0">
  22. <widget class="QGroupBox" name="groupBox_2">
  23. <property name="title">
  24. <string>Settings</string>
  25. </property>
  26. <layout class="QFormLayout" name="formLayout">
  27. <item row="0" column="0">
  28. <widget class="QLabel" name="label">
  29. <property name="text">
  30. <string>IP</string>
  31. </property>
  32. </widget>
  33. </item>
  34. <item row="0" column="1">
  35. <widget class="QLineEdit" name="lineEditIP">
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  38. <horstretch>0</horstretch>
  39. <verstretch>0</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="inputMask">
  43. <string>009.009.009.009;_</string>
  44. </property>
  45. <property name="text">
  46. <string>192.168.0.8</string>
  47. </property>
  48. <property name="cursorPosition">
  49. <number>0</number>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="1" column="0">
  54. <widget class="QLabel" name="label_4">
  55. <property name="text">
  56. <string>Port</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="1" column="1">
  61. <widget class="QLineEdit" name="lineEditPort">
  62. <property name="sizePolicy">
  63. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  64. <horstretch>0</horstretch>
  65. <verstretch>0</verstretch>
  66. </sizepolicy>
  67. </property>
  68. <property name="inputMask">
  69. <string>00009</string>
  70. </property>
  71. <property name="text">
  72. <string>1234</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item row="2" column="0">
  77. <widget class="QLabel" name="label_5">
  78. <property name="text">
  79. <string>Log file</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item row="2" column="1">
  84. <widget class="QLineEdit" name="lineEditLogFile">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  87. <horstretch>0</horstretch>
  88. <verstretch>0</verstretch>
  89. </sizepolicy>
  90. </property>
  91. <property name="text">
  92. <string>default</string>
  93. </property>
  94. </widget>
  95. </item>
  96. </layout>
  97. </widget>
  98. </item>
  99. <item row="1" column="0">
  100. <widget class="QDialogButtonBox" name="buttonBox">
  101. <property name="orientation">
  102. <enum>Qt::Horizontal</enum>
  103. </property>
  104. <property name="standardButtons">
  105. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  106. </property>
  107. </widget>
  108. </item>
  109. </layout>
  110. </widget>
  111. <resources/>
  112. <connections>
  113. <connection>
  114. <sender>buttonBox</sender>
  115. <signal>accepted()</signal>
  116. <receiver>Dialog</receiver>
  117. <slot>accept()</slot>
  118. <hints>
  119. <hint type="sourcelabel">
  120. <x>248</x>
  121. <y>254</y>
  122. </hint>
  123. <hint type="destinationlabel">
  124. <x>157</x>
  125. <y>274</y>
  126. </hint>
  127. </hints>
  128. </connection>
  129. <connection>
  130. <sender>buttonBox</sender>
  131. <signal>rejected()</signal>
  132. <receiver>Dialog</receiver>
  133. <slot>reject()</slot>
  134. <hints>
  135. <hint type="sourcelabel">
  136. <x>316</x>
  137. <y>260</y>
  138. </hint>
  139. <hint type="destinationlabel">
  140. <x>286</x>
  141. <y>274</y>
  142. </hint>
  143. </hints>
  144. </connection>
  145. </connections>
  146. </ui>