|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>RunOllamaServerDialog</class> |
|
4 <widget class="QDialog" name="RunOllamaServerDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>600</width> |
|
10 <height>500</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>ollama Server</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="groupBox"> |
|
22 <property name="title"> |
|
23 <string>Output</string> |
|
24 </property> |
|
25 <layout class="QVBoxLayout" name="verticalLayout"> |
|
26 <item> |
|
27 <widget class="QPlainTextEdit" name="outputEdit"> |
|
28 <property name="sizePolicy"> |
|
29 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
|
30 <horstretch>0</horstretch> |
|
31 <verstretch>0</verstretch> |
|
32 </sizepolicy> |
|
33 </property> |
|
34 <property name="lineWrapMode"> |
|
35 <enum>QPlainTextEdit::WidgetWidth</enum> |
|
36 </property> |
|
37 <property name="readOnly"> |
|
38 <bool>true</bool> |
|
39 </property> |
|
40 </widget> |
|
41 </item> |
|
42 </layout> |
|
43 </widget> |
|
44 </item> |
|
45 <item> |
|
46 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
47 <item> |
|
48 <widget class="QPushButton" name="restartServerButton"> |
|
49 <property name="enabled"> |
|
50 <bool>false</bool> |
|
51 </property> |
|
52 <property name="toolTip"> |
|
53 <string>Press to restart the loacl ollama server.</string> |
|
54 </property> |
|
55 <property name="text"> |
|
56 <string>Re-Start Server</string> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item> |
|
61 <widget class="QPushButton" name="stopServerButton"> |
|
62 <property name="enabled"> |
|
63 <bool>false</bool> |
|
64 </property> |
|
65 <property name="toolTip"> |
|
66 <string>Press to stop the running ollama server.</string> |
|
67 </property> |
|
68 <property name="text"> |
|
69 <string>Stop Server</string> |
|
70 </property> |
|
71 </widget> |
|
72 </item> |
|
73 <item> |
|
74 <spacer name="horizontalSpacer"> |
|
75 <property name="orientation"> |
|
76 <enum>Qt::Horizontal</enum> |
|
77 </property> |
|
78 <property name="sizeHint" stdset="0"> |
|
79 <size> |
|
80 <width>40</width> |
|
81 <height>20</height> |
|
82 </size> |
|
83 </property> |
|
84 </spacer> |
|
85 </item> |
|
86 <item> |
|
87 <widget class="QDialogButtonBox" name="buttonBox"> |
|
88 <property name="orientation"> |
|
89 <enum>Qt::Horizontal</enum> |
|
90 </property> |
|
91 <property name="standardButtons"> |
|
92 <set>QDialogButtonBox::Close</set> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 </layout> |
|
97 </item> |
|
98 </layout> |
|
99 </widget> |
|
100 <tabstops> |
|
101 <tabstop>outputEdit</tabstop> |
|
102 <tabstop>restartServerButton</tabstop> |
|
103 <tabstop>stopServerButton</tabstop> |
|
104 </tabstops> |
|
105 <resources/> |
|
106 <connections> |
|
107 <connection> |
|
108 <sender>buttonBox</sender> |
|
109 <signal>rejected()</signal> |
|
110 <receiver>RunOllamaServerDialog</receiver> |
|
111 <slot>reject()</slot> |
|
112 <hints> |
|
113 <hint type="sourcelabel"> |
|
114 <x>505</x> |
|
115 <y>474</y> |
|
116 </hint> |
|
117 <hint type="destinationlabel"> |
|
118 <x>593</x> |
|
119 <y>419</y> |
|
120 </hint> |
|
121 </hints> |
|
122 </connection> |
|
123 </connections> |
|
124 </ui> |