OllamaInterface/ConfigurationPage/OllamaPage.ui

changeset 24
f4d5108e90fe
parent 20
8cb7bfe07e15
diff -r d807aa8c1bd8 -r f4d5108e90fe OllamaInterface/ConfigurationPage/OllamaPage.ui
--- a/OllamaInterface/ConfigurationPage/OllamaPage.ui	Tue Sep 03 15:51:28 2024 +0200
+++ b/OllamaInterface/ConfigurationPage/OllamaPage.ui	Tue Sep 03 17:06:05 2024 +0200
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>557</width>
-    <height>464</height>
+    <height>523</height>
    </rect>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
@@ -178,20 +178,54 @@
    <item>
     <widget class="QGroupBox" name="groupBox_3">
      <property name="title">
-      <string>Model Library</string>
+      <string>URLs</string>
      </property>
-     <layout class="QHBoxLayout" name="horizontalLayout_3">
-      <item>
+     <layout class="QGridLayout" name="gridLayout_2">
+      <item row="0" column="0">
        <widget class="QLabel" name="label_5">
         <property name="text">
-         <string>URL:</string>
+         <string>Model Library:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1">
+       <widget class="QLineEdit" name="modelLibraryUrlEdit">
+        <property name="toolTip">
+         <string>Enter the URL of the 'ollama' model library. Leave empty to use the default URL.</string>
+        </property>
+        <property name="clearButtonEnabled">
+         <bool>true</bool>
         </property>
        </widget>
       </item>
-      <item>
-       <widget class="QLineEdit" name="modelLibraryUrlEdit">
+      <item row="1" column="0">
+       <widget class="QLabel" name="label_7">
+        <property name="text">
+         <string>Download:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QLineEdit" name="downloadUrlEdit">
         <property name="toolTip">
-         <string>Enter the URL of the 'ollama' model library.</string>
+         <string>Enter the URL of the 'ollama' download page. Leave empty to use the default URL.</string>
+        </property>
+        <property name="clearButtonEnabled">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0">
+       <widget class="QLabel" name="label_8">
+        <property name="text">
+         <string>Blog:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="1">
+       <widget class="QLineEdit" name="blogUrlEdit">
+        <property name="toolTip">
+         <string>Enter the URL of the 'ollama' blog. Leave empty to use the default URL.</string>
         </property>
         <property name="clearButtonEnabled">
          <bool>true</bool>
@@ -272,6 +306,8 @@
   <tabstop>serverPortSpinBox</tabstop>
   <tabstop>localServerPortSpinBox</tabstop>
   <tabstop>modelLibraryUrlEdit</tabstop>
+  <tabstop>downloadUrlEdit</tabstop>
+  <tabstop>blogUrlEdit</tabstop>
   <tabstop>heartbeatSpinBox</tabstop>
   <tabstop>streamingChatCheckBox</tabstop>
  </tabstops>

eric ide

mercurial