OllamaInterface/Ui_OllamaHistoryWidget.py

changeset 4
7dd1b9cd3150
child 5
6e8af43d537d
diff -r ca28466a186d -r 7dd1b9cd3150 OllamaInterface/Ui_OllamaHistoryWidget.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/OllamaInterface/Ui_OllamaHistoryWidget.py	Mon Aug 05 18:37:16 2024 +0200
@@ -0,0 +1,44 @@
+# Form implementation generated from reading ui file 'OllamaInterface/OllamaHistoryWidget.ui'
+#
+# Created by: PyQt6 UI code generator 6.7.1
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic6 is
+# run again.  Do not edit this file unless you know what you are doing.
+
+
+from PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_OllamaHistoryWidget(object):
+    def setupUi(self, OllamaHistoryWidget):
+        OllamaHistoryWidget.setObjectName("OllamaHistoryWidget")
+        OllamaHistoryWidget.resize(400, 25)
+        self.horizontalLayout = QtWidgets.QHBoxLayout(OllamaHistoryWidget)
+        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
+        self.horizontalLayout.setObjectName("horizontalLayout")
+        self.titleEdit = QtWidgets.QLineEdit(parent=OllamaHistoryWidget)
+        self.titleEdit.setReadOnly(True)
+        self.titleEdit.setObjectName("titleEdit")
+        self.horizontalLayout.addWidget(self.titleEdit)
+        self.modelEdit = QtWidgets.QLineEdit(parent=OllamaHistoryWidget)
+        self.modelEdit.setMaximumSize(QtCore.QSize(100, 16777215))
+        self.modelEdit.setReadOnly(True)
+        self.modelEdit.setObjectName("modelEdit")
+        self.horizontalLayout.addWidget(self.modelEdit)
+        self.newChatButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget)
+        self.newChatButton.setObjectName("newChatButton")
+        self.horizontalLayout.addWidget(self.newChatButton)
+        self.deleteButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget)
+        self.deleteButton.setObjectName("deleteButton")
+        self.horizontalLayout.addWidget(self.deleteButton)
+
+        self.retranslateUi(OllamaHistoryWidget)
+        QtCore.QMetaObject.connectSlotsByName(OllamaHistoryWidget)
+        OllamaHistoryWidget.setTabOrder(self.titleEdit, self.modelEdit)
+        OllamaHistoryWidget.setTabOrder(self.modelEdit, self.newChatButton)
+        OllamaHistoryWidget.setTabOrder(self.newChatButton, self.deleteButton)
+
+    def retranslateUi(self, OllamaHistoryWidget):
+        _translate = QtCore.QCoreApplication.translate
+        self.newChatButton.setToolTip(_translate("OllamaHistoryWidget", "Press to start a new chat based on the current history."))
+        self.deleteButton.setToolTip(_translate("OllamaHistoryWidget", "Press to delete this chat history."))

eric ide

mercurial