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