|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>OllamaPage</class> |
|
4 <widget class="QWidget" name="OllamaPage"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>557</width> |
|
10 <height>464</height> |
|
11 </rect> |
|
12 </property> |
|
13 <layout class="QVBoxLayout" name="verticalLayout"> |
|
14 <item> |
|
15 <widget class="QLabel" name="headerLabel"> |
|
16 <property name="text"> |
|
17 <string><b>Configure 'ollama' Interface</b></string> |
|
18 </property> |
|
19 </widget> |
|
20 </item> |
|
21 <item> |
|
22 <widget class="Line" name="line9_3"> |
|
23 <property name="frameShape"> |
|
24 <enum>QFrame::HLine</enum> |
|
25 </property> |
|
26 <property name="frameShadow"> |
|
27 <enum>QFrame::Sunken</enum> |
|
28 </property> |
|
29 <property name="orientation"> |
|
30 <enum>Qt::Horizontal</enum> |
|
31 </property> |
|
32 </widget> |
|
33 </item> |
|
34 <item> |
|
35 <widget class="QGroupBox" name="groupBox"> |
|
36 <property name="title"> |
|
37 <string>Server URL</string> |
|
38 </property> |
|
39 <layout class="QGridLayout" name="gridLayout"> |
|
40 <item row="0" column="0"> |
|
41 <widget class="QLabel" name="label"> |
|
42 <property name="text"> |
|
43 <string>Scheme:</string> |
|
44 </property> |
|
45 </widget> |
|
46 </item> |
|
47 <item row="0" column="1"> |
|
48 <widget class="QComboBox" name="serverSchemeComboBox"> |
|
49 <property name="toolTip"> |
|
50 <string>Select the scheme of the 'ollama' server URL.</string> |
|
51 </property> |
|
52 <item> |
|
53 <property name="text"> |
|
54 <string>http</string> |
|
55 </property> |
|
56 </item> |
|
57 <item> |
|
58 <property name="text"> |
|
59 <string>https</string> |
|
60 </property> |
|
61 </item> |
|
62 </widget> |
|
63 </item> |
|
64 <item row="0" column="2"> |
|
65 <spacer name="horizontalSpacer_2"> |
|
66 <property name="orientation"> |
|
67 <enum>Qt::Horizontal</enum> |
|
68 </property> |
|
69 <property name="sizeHint" stdset="0"> |
|
70 <size> |
|
71 <width>387</width> |
|
72 <height>20</height> |
|
73 </size> |
|
74 </property> |
|
75 </spacer> |
|
76 </item> |
|
77 <item row="1" column="0"> |
|
78 <widget class="QLabel" name="label_2"> |
|
79 <property name="text"> |
|
80 <string>Host:</string> |
|
81 </property> |
|
82 </widget> |
|
83 </item> |
|
84 <item row="1" column="1" colspan="2"> |
|
85 <widget class="QLineEdit" name="serverHostEdit"> |
|
86 <property name="toolTip"> |
|
87 <string>Enter the host name of the 'ollama' server.</string> |
|
88 </property> |
|
89 <property name="clearButtonEnabled"> |
|
90 <bool>true</bool> |
|
91 </property> |
|
92 </widget> |
|
93 </item> |
|
94 <item row="2" column="0"> |
|
95 <widget class="QLabel" name="label_3"> |
|
96 <property name="text"> |
|
97 <string>Port:</string> |
|
98 </property> |
|
99 </widget> |
|
100 </item> |
|
101 <item row="2" column="1"> |
|
102 <widget class="QSpinBox" name="serverPortSpinBox"> |
|
103 <property name="toolTip"> |
|
104 <string>Enter the port of the 'ollama' server URL.</string> |
|
105 </property> |
|
106 <property name="showGroupSeparator" stdset="0"> |
|
107 <bool>true</bool> |
|
108 </property> |
|
109 <property name="minimum"> |
|
110 <number>10000</number> |
|
111 </property> |
|
112 <property name="maximum"> |
|
113 <number>65535</number> |
|
114 </property> |
|
115 </widget> |
|
116 </item> |
|
117 <item row="2" column="2"> |
|
118 <spacer name="horizontalSpacer_3"> |
|
119 <property name="orientation"> |
|
120 <enum>Qt::Horizontal</enum> |
|
121 </property> |
|
122 <property name="sizeHint" stdset="0"> |
|
123 <size> |
|
124 <width>387</width> |
|
125 <height>20</height> |
|
126 </size> |
|
127 </property> |
|
128 </spacer> |
|
129 </item> |
|
130 </layout> |
|
131 </widget> |
|
132 </item> |
|
133 <item> |
|
134 <widget class="QGroupBox" name="groupBox_2"> |
|
135 <property name="title"> |
|
136 <string>Local Server</string> |
|
137 </property> |
|
138 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
139 <item> |
|
140 <widget class="QLabel" name="label_4"> |
|
141 <property name="text"> |
|
142 <string>Port:</string> |
|
143 </property> |
|
144 </widget> |
|
145 </item> |
|
146 <item> |
|
147 <widget class="QSpinBox" name="localServerPortSpinBox"> |
|
148 <property name="toolTip"> |
|
149 <string>Enter the port of the local 'ollama' server.</string> |
|
150 </property> |
|
151 <property name="showGroupSeparator" stdset="0"> |
|
152 <bool>true</bool> |
|
153 </property> |
|
154 <property name="minimum"> |
|
155 <number>10000</number> |
|
156 </property> |
|
157 <property name="maximum"> |
|
158 <number>65535</number> |
|
159 </property> |
|
160 </widget> |
|
161 </item> |
|
162 <item> |
|
163 <spacer name="horizontalSpacer_4"> |
|
164 <property name="orientation"> |
|
165 <enum>Qt::Horizontal</enum> |
|
166 </property> |
|
167 <property name="sizeHint" stdset="0"> |
|
168 <size> |
|
169 <width>408</width> |
|
170 <height>20</height> |
|
171 </size> |
|
172 </property> |
|
173 </spacer> |
|
174 </item> |
|
175 </layout> |
|
176 </widget> |
|
177 </item> |
|
178 <item> |
|
179 <widget class="QGroupBox" name="groupBox_3"> |
|
180 <property name="title"> |
|
181 <string>Model Library</string> |
|
182 </property> |
|
183 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
184 <item> |
|
185 <widget class="QLabel" name="label_5"> |
|
186 <property name="text"> |
|
187 <string>URL:</string> |
|
188 </property> |
|
189 </widget> |
|
190 </item> |
|
191 <item> |
|
192 <widget class="QLineEdit" name="modelLibraryUrlEdit"> |
|
193 <property name="toolTip"> |
|
194 <string>Enter the URL of the 'ollama' model library.</string> |
|
195 </property> |
|
196 <property name="clearButtonEnabled"> |
|
197 <bool>true</bool> |
|
198 </property> |
|
199 </widget> |
|
200 </item> |
|
201 </layout> |
|
202 </widget> |
|
203 </item> |
|
204 <item> |
|
205 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
206 <item> |
|
207 <widget class="QLabel" name="label_6"> |
|
208 <property name="text"> |
|
209 <string>Heartbeat Timer:</string> |
|
210 </property> |
|
211 </widget> |
|
212 </item> |
|
213 <item> |
|
214 <widget class="QSpinBox" name="heartbeatSpinBox"> |
|
215 <property name="toolTip"> |
|
216 <string>Enter the heartbeat timeout value (0 = disable).</string> |
|
217 </property> |
|
218 <property name="alignment"> |
|
219 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
220 </property> |
|
221 <property name="specialValueText"> |
|
222 <string>Disabled</string> |
|
223 </property> |
|
224 <property name="suffix"> |
|
225 <string> s</string> |
|
226 </property> |
|
227 <property name="maximum"> |
|
228 <number>30</number> |
|
229 </property> |
|
230 </widget> |
|
231 </item> |
|
232 <item> |
|
233 <spacer name="horizontalSpacer"> |
|
234 <property name="orientation"> |
|
235 <enum>Qt::Horizontal</enum> |
|
236 </property> |
|
237 <property name="sizeHint" stdset="0"> |
|
238 <size> |
|
239 <width>40</width> |
|
240 <height>20</height> |
|
241 </size> |
|
242 </property> |
|
243 </spacer> |
|
244 </item> |
|
245 </layout> |
|
246 </item> |
|
247 <item> |
|
248 <widget class="QCheckBox" name="streamingChatCheckBox"> |
|
249 <property name="text"> |
|
250 <string>Use streaming chat response</string> |
|
251 </property> |
|
252 </widget> |
|
253 </item> |
|
254 <item> |
|
255 <spacer name="verticalSpacer"> |
|
256 <property name="orientation"> |
|
257 <enum>Qt::Vertical</enum> |
|
258 </property> |
|
259 <property name="sizeHint" stdset="0"> |
|
260 <size> |
|
261 <width>20</width> |
|
262 <height>59</height> |
|
263 </size> |
|
264 </property> |
|
265 </spacer> |
|
266 </item> |
|
267 </layout> |
|
268 </widget> |
|
269 <tabstops> |
|
270 <tabstop>serverSchemeComboBox</tabstop> |
|
271 <tabstop>serverHostEdit</tabstop> |
|
272 <tabstop>serverPortSpinBox</tabstop> |
|
273 <tabstop>localServerPortSpinBox</tabstop> |
|
274 <tabstop>modelLibraryUrlEdit</tabstop> |
|
275 <tabstop>heartbeatSpinBox</tabstop> |
|
276 <tabstop>streamingChatCheckBox</tabstop> |
|
277 </tabstops> |
|
278 <resources/> |
|
279 <connections/> |
|
280 </ui> |