longinputdialog.ui 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LongInputDialog</class>
  4. <widget class="QDialog" name="LongInputDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>317</width>
  10. <height>151</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Long Input</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  19. <item>
  20. <widget class="QLabel" name="m_label">
  21. <property name="text">
  22. <string>Enter long input:</string>
  23. </property>
  24. </widget>
  25. </item>
  26. <item>
  27. <spacer name="horizontalSpacer">
  28. <property name="orientation">
  29. <enum>Qt::Horizontal</enum>
  30. </property>
  31. <property name="sizeHint" stdset="0">
  32. <size>
  33. <width>40</width>
  34. <height>20</height>
  35. </size>
  36. </property>
  37. </spacer>
  38. </item>
  39. </layout>
  40. </item>
  41. <item>
  42. <widget class="QPlainTextEdit" name="m_longInput"/>
  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. <tabstops>
  57. <tabstop>m_longInput</tabstop>
  58. <tabstop>buttonBox</tabstop>
  59. </tabstops>
  60. <resources/>
  61. <connections>
  62. <connection>
  63. <sender>buttonBox</sender>
  64. <signal>accepted()</signal>
  65. <receiver>LongInputDialog</receiver>
  66. <slot>accept()</slot>
  67. <hints>
  68. <hint type="sourcelabel">
  69. <x>248</x>
  70. <y>254</y>
  71. </hint>
  72. <hint type="destinationlabel">
  73. <x>157</x>
  74. <y>274</y>
  75. </hint>
  76. </hints>
  77. </connection>
  78. <connection>
  79. <sender>buttonBox</sender>
  80. <signal>rejected()</signal>
  81. <receiver>LongInputDialog</receiver>
  82. <slot>reject()</slot>
  83. <hints>
  84. <hint type="sourcelabel">
  85. <x>316</x>
  86. <y>260</y>
  87. </hint>
  88. <hint type="destinationlabel">
  89. <x>286</x>
  90. <y>274</y>
  91. </hint>
  92. </hints>
  93. </connection>
  94. </connections>
  95. </ui>