OllamaInterface/Ui_OllamaHistoryWidget.py

Mon, 07 Apr 2025 18:22:30 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Apr 2025 18:22:30 +0200
changeset 69
eb9340034f26
parent 68
ca2e671f894e
permissions
-rw-r--r--

Created global tag <release-10.1.8>.

# Form implementation generated from reading ui file 'OllamaInterface/OllamaHistoryWidget.ui'
#
# Created by: PyQt6 UI code generator 6.9.0
#
# 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.editButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget)
        self.editButton.setObjectName("editButton")
        self.horizontalLayout.addWidget(self.editButton)
        self.viewButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget)
        self.viewButton.setObjectName("viewButton")
        self.horizontalLayout.addWidget(self.viewButton)
        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.editButton)
        OllamaHistoryWidget.setTabOrder(self.editButton, self.viewButton)
        OllamaHistoryWidget.setTabOrder(self.viewButton, 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 or switch to an already opened chat."))
        self.editButton.setToolTip(_translate("OllamaHistoryWidget", "Press to edit the chat title."))
        self.viewButton.setToolTip(_translate("OllamaHistoryWidget", "Press to view the current chat history in a separate window."))
        self.deleteButton.setToolTip(_translate("OllamaHistoryWidget", "Press to delete this chat history."))

eric ide

mercurial