BlockDialog.ui 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>BlockDialog</class>
  4. <widget class="QDialog" name="BlockDialog">
  5. <property name="windowModality">
  6. <enum>Qt::ApplicationModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>214</width>
  13. <height>131</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Block</string>
  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="label">
  24. <property name="text">
  25. <string>Block name:</string>
  26. </property>
  27. </widget>
  28. </item>
  29. <item row="0" column="1">
  30. <widget class="QLineEdit" name="BlockName"/>
  31. </item>
  32. </layout>
  33. </item>
  34. <item>
  35. <widget class="QLabel" name="Message">
  36. <property name="text">
  37. <string notr="true"/>
  38. </property>
  39. <property name="textFormat">
  40. <enum>Qt::RichText</enum>
  41. </property>
  42. </widget>
  43. </item>
  44. <item>
  45. <widget class="QDialogButtonBox" name="ButtonBox">
  46. <property name="orientation">
  47. <enum>Qt::Horizontal</enum>
  48. </property>
  49. <property name="standardButtons">
  50. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  51. </property>
  52. </widget>
  53. </item>
  54. </layout>
  55. </widget>
  56. <resources/>
  57. <connections>
  58. <connection>
  59. <sender>ButtonBox</sender>
  60. <signal>accepted()</signal>
  61. <receiver>BlockDialog</receiver>
  62. <slot>accept()</slot>
  63. <hints>
  64. <hint type="sourcelabel">
  65. <x>248</x>
  66. <y>254</y>
  67. </hint>
  68. <hint type="destinationlabel">
  69. <x>157</x>
  70. <y>274</y>
  71. </hint>
  72. </hints>
  73. </connection>
  74. <connection>
  75. <sender>ButtonBox</sender>
  76. <signal>rejected()</signal>
  77. <receiver>BlockDialog</receiver>
  78. <slot>reject()</slot>
  79. <hints>
  80. <hint type="sourcelabel">
  81. <x>316</x>
  82. <y>260</y>
  83. </hint>
  84. <hint type="destinationlabel">
  85. <x>286</x>
  86. <y>274</y>
  87. </hint>
  88. </hints>
  89. </connection>
  90. </connections>
  91. </ui>