NameDialog.ui 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NameDialog</class>
  4. <widget class="QDialog" name="NameDialog">
  5. <property name="windowModality">
  6. <enum>Qt::WindowModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>555</width>
  13. <height>102</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string notr="true">Dialog</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <widget class="QLabel" name="label">
  22. <property name="sizePolicy">
  23. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  24. <horstretch>0</horstretch>
  25. <verstretch>0</verstretch>
  26. </sizepolicy>
  27. </property>
  28. <property name="text">
  29. <string notr="true">TextLabel</string>
  30. </property>
  31. <property name="wordWrap">
  32. <bool>true</bool>
  33. </property>
  34. </widget>
  35. </item>
  36. <item>
  37. <widget class="QLineEdit" name="userText">
  38. <property name="sizePolicy">
  39. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  40. <horstretch>0</horstretch>
  41. <verstretch>0</verstretch>
  42. </sizepolicy>
  43. </property>
  44. <property name="text">
  45. <string notr="true"/>
  46. </property>
  47. </widget>
  48. </item>
  49. <item>
  50. <widget class="QDialogButtonBox" name="buttonBox">
  51. <property name="sizePolicy">
  52. <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
  53. <horstretch>0</horstretch>
  54. <verstretch>0</verstretch>
  55. </sizepolicy>
  56. </property>
  57. <property name="orientation">
  58. <enum>Qt::Horizontal</enum>
  59. </property>
  60. <property name="standardButtons">
  61. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  62. </property>
  63. <property name="centerButtons">
  64. <bool>true</bool>
  65. </property>
  66. </widget>
  67. </item>
  68. </layout>
  69. </widget>
  70. <resources/>
  71. <connections>
  72. <connection>
  73. <sender>buttonBox</sender>
  74. <signal>accepted()</signal>
  75. <receiver>NameDialog</receiver>
  76. <slot>accept()</slot>
  77. <hints>
  78. <hint type="sourcelabel">
  79. <x>257</x>
  80. <y>94</y>
  81. </hint>
  82. <hint type="destinationlabel">
  83. <x>157</x>
  84. <y>274</y>
  85. </hint>
  86. </hints>
  87. </connection>
  88. <connection>
  89. <sender>buttonBox</sender>
  90. <signal>rejected()</signal>
  91. <receiver>NameDialog</receiver>
  92. <slot>reject()</slot>
  93. <hints>
  94. <hint type="sourcelabel">
  95. <x>325</x>
  96. <y>94</y>
  97. </hint>
  98. <hint type="destinationlabel">
  99. <x>286</x>
  100. <y>274</y>
  101. </hint>
  102. </hints>
  103. </connection>
  104. </connections>
  105. </ui>