adddictionarydialog.ui 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <ui version="4.0" >
  2. <class>AddDictionaryDialog</class>
  3. <widget class="QDialog" name="AddDictionaryDialog" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>377</width>
  9. <height>238</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>Add dictionary</string>
  14. </property>
  15. <layout class="QVBoxLayout" >
  16. <item>
  17. <layout class="QGridLayout" >
  18. <item row="0" column="0" >
  19. <widget class="QLabel" name="label" >
  20. <property name="text" >
  21. <string>Name:</string>
  22. </property>
  23. </widget>
  24. </item>
  25. <item row="0" column="1" >
  26. <widget class="QLineEdit" name="nameEdit" />
  27. </item>
  28. <item row="1" column="0" >
  29. <widget class="QLabel" name="label_2" >
  30. <property name="text" >
  31. <string>Author:</string>
  32. </property>
  33. </widget>
  34. </item>
  35. <item row="1" column="1" >
  36. <widget class="QLineEdit" name="authorEdit" />
  37. </item>
  38. <item row="2" column="0" >
  39. <widget class="QLabel" name="label_3" >
  40. <property name="text" >
  41. <string>Description:</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item row="2" column="1" >
  46. <widget class="QTextEdit" name="descEdit" />
  47. </item>
  48. <item row="3" column="0" >
  49. <widget class="QLabel" name="label_4" >
  50. <property name="text" >
  51. <string>HTTP query:</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="3" column="1" >
  56. <widget class="QLineEdit" name="queryEdit" >
  57. <property name="toolTip" >
  58. <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
  59. p, li { white-space: pre-wrap; }
  60. &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
  61. &lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The '%s' template will be replace to word.&lt;/p>&lt;/body>&lt;/html></string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="4" column="0" >
  66. <widget class="QLabel" name="label_5" >
  67. <property name="text" >
  68. <string>HTML charset:</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="4" column="1" >
  73. <widget class="QComboBox" name="charsetEdit" />
  74. </item>
  75. </layout>
  76. </item>
  77. <item>
  78. <widget class="QDialogButtonBox" name="buttonBox" >
  79. <property name="orientation" >
  80. <enum>Qt::Horizontal</enum>
  81. </property>
  82. <property name="standardButtons" >
  83. <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
  84. </property>
  85. </widget>
  86. </item>
  87. </layout>
  88. </widget>
  89. <resources/>
  90. <connections>
  91. <connection>
  92. <sender>buttonBox</sender>
  93. <signal>accepted()</signal>
  94. <receiver>AddDictionaryDialog</receiver>
  95. <slot>accept()</slot>
  96. <hints>
  97. <hint type="sourcelabel" >
  98. <x>227</x>
  99. <y>217</y>
  100. </hint>
  101. <hint type="destinationlabel" >
  102. <x>157</x>
  103. <y>237</y>
  104. </hint>
  105. </hints>
  106. </connection>
  107. <connection>
  108. <sender>buttonBox</sender>
  109. <signal>rejected()</signal>
  110. <receiver>AddDictionaryDialog</receiver>
  111. <slot>reject()</slot>
  112. <hints>
  113. <hint type="sourcelabel" >
  114. <x>295</x>
  115. <y>223</y>
  116. </hint>
  117. <hint type="destinationlabel" >
  118. <x>286</x>
  119. <y>237</y>
  120. </hint>
  121. </hints>
  122. </connection>
  123. </connections>
  124. </ui>