fb2note.ui 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Fb2Note</class>
  4. <widget class="QDialog" name="Fb2Note">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>460</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Insert footnote</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="0" column="1">
  18. <widget class="QComboBox" name="m_key">
  19. <property name="sizePolicy">
  20. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  21. <horstretch>0</horstretch>
  22. <verstretch>0</verstretch>
  23. </sizepolicy>
  24. </property>
  25. </widget>
  26. </item>
  27. <item row="4" column="0" colspan="2">
  28. <widget class="QDialogButtonBox" name="buttonBox">
  29. <property name="orientation">
  30. <enum>Qt::Horizontal</enum>
  31. </property>
  32. <property name="standardButtons">
  33. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  34. </property>
  35. </widget>
  36. </item>
  37. <item row="3" column="0" colspan="2">
  38. <widget class="QWebView" name="m_text">
  39. <property name="url">
  40. <url>
  41. <string>about:blank</string>
  42. </url>
  43. </property>
  44. </widget>
  45. </item>
  46. <item row="0" column="0">
  47. <widget class="QLabel" name="label1">
  48. <property name="sizePolicy">
  49. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  50. <horstretch>0</horstretch>
  51. <verstretch>0</verstretch>
  52. </sizepolicy>
  53. </property>
  54. <property name="text">
  55. <string>Identifier:</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="1" column="1">
  60. <widget class="QLineEdit" name="m_title"/>
  61. </item>
  62. <item row="1" column="0">
  63. <widget class="QLabel" name="label2">
  64. <property name="text">
  65. <string>Title:</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="2" column="0" colspan="2">
  70. <widget class="QToolBar" name="m_toolbar">
  71. <property name="sizePolicy">
  72. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  73. <horstretch>0</horstretch>
  74. <verstretch>0</verstretch>
  75. </sizepolicy>
  76. </property>
  77. <property name="floatable">
  78. <bool>true</bool>
  79. </property>
  80. <property name="text" stdset="0">
  81. <string>TextLabel</string>
  82. </property>
  83. </widget>
  84. </item>
  85. </layout>
  86. </widget>
  87. <customwidgets>
  88. <customwidget>
  89. <class>QWebView</class>
  90. <extends>QWidget</extends>
  91. <header>QtWebKit/QWebView</header>
  92. </customwidget>
  93. </customwidgets>
  94. <tabstops>
  95. <tabstop>m_title</tabstop>
  96. <tabstop>m_text</tabstop>
  97. <tabstop>buttonBox</tabstop>
  98. <tabstop>m_key</tabstop>
  99. </tabstops>
  100. <resources/>
  101. <connections>
  102. <connection>
  103. <sender>buttonBox</sender>
  104. <signal>accepted()</signal>
  105. <receiver>Fb2Note</receiver>
  106. <slot>accept()</slot>
  107. <hints>
  108. <hint type="sourcelabel">
  109. <x>257</x>
  110. <y>290</y>
  111. </hint>
  112. <hint type="destinationlabel">
  113. <x>157</x>
  114. <y>274</y>
  115. </hint>
  116. </hints>
  117. </connection>
  118. <connection>
  119. <sender>buttonBox</sender>
  120. <signal>rejected()</signal>
  121. <receiver>Fb2Note</receiver>
  122. <slot>reject()</slot>
  123. <hints>
  124. <hint type="sourcelabel">
  125. <x>325</x>
  126. <y>290</y>
  127. </hint>
  128. <hint type="destinationlabel">
  129. <x>286</x>
  130. <y>274</y>
  131. </hint>
  132. </hints>
  133. </connection>
  134. </connections>
  135. </ui>