OllamaInterface/OllamaHistoryWidget.ui

Mon, 26 Aug 2024 16:01:11 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Aug 2024 16:01:11 +0200
changeset 9
c471738b75b3
parent 5
6e8af43d537d
child 12
cf507e6f12d7
permissions
-rw-r--r--

Implemented the 'Remove Model' menu action.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>OllamaHistoryWidget</class>
 <widget class="QWidget" name="OllamaHistoryWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>400</width>
    <height>25</height>
   </rect>
  </property>
  <layout class="QHBoxLayout" name="horizontalLayout">
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
    <number>0</number>
   </property>
   <item>
    <widget class="QLineEdit" name="titleEdit">
     <property name="readOnly">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLineEdit" name="modelEdit">
     <property name="maximumSize">
      <size>
       <width>100</width>
       <height>16777215</height>
      </size>
     </property>
     <property name="readOnly">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QToolButton" name="newChatButton">
     <property name="toolTip">
      <string>Press to start a new chat based on the current history.</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QToolButton" name="editButton">
     <property name="toolTip">
      <string>Press to edit the chat title.</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QToolButton" name="deleteButton">
     <property name="toolTip">
      <string>Press to delete this chat history.</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>titleEdit</tabstop>
  <tabstop>modelEdit</tabstop>
  <tabstop>newChatButton</tabstop>
  <tabstop>editButton</tabstop>
  <tabstop>deleteButton</tabstop>
 </tabstops>
 <resources/>
 <connections/>
</ui>

eric ide

mercurial