OllamaInterface/Ui_OllamaHistoryWidget.py

changeset 4
7dd1b9cd3150
child 5
6e8af43d537d
equal deleted inserted replaced
3:ca28466a186d 4:7dd1b9cd3150
1 # Form implementation generated from reading ui file 'OllamaInterface/OllamaHistoryWidget.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.1
4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6 # run again. Do not edit this file unless you know what you are doing.
7
8
9 from PyQt6 import QtCore, QtGui, QtWidgets
10
11
12 class Ui_OllamaHistoryWidget(object):
13 def setupUi(self, OllamaHistoryWidget):
14 OllamaHistoryWidget.setObjectName("OllamaHistoryWidget")
15 OllamaHistoryWidget.resize(400, 25)
16 self.horizontalLayout = QtWidgets.QHBoxLayout(OllamaHistoryWidget)
17 self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
18 self.horizontalLayout.setObjectName("horizontalLayout")
19 self.titleEdit = QtWidgets.QLineEdit(parent=OllamaHistoryWidget)
20 self.titleEdit.setReadOnly(True)
21 self.titleEdit.setObjectName("titleEdit")
22 self.horizontalLayout.addWidget(self.titleEdit)
23 self.modelEdit = QtWidgets.QLineEdit(parent=OllamaHistoryWidget)
24 self.modelEdit.setMaximumSize(QtCore.QSize(100, 16777215))
25 self.modelEdit.setReadOnly(True)
26 self.modelEdit.setObjectName("modelEdit")
27 self.horizontalLayout.addWidget(self.modelEdit)
28 self.newChatButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget)
29 self.newChatButton.setObjectName("newChatButton")
30 self.horizontalLayout.addWidget(self.newChatButton)
31 self.deleteButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget)
32 self.deleteButton.setObjectName("deleteButton")
33 self.horizontalLayout.addWidget(self.deleteButton)
34
35 self.retranslateUi(OllamaHistoryWidget)
36 QtCore.QMetaObject.connectSlotsByName(OllamaHistoryWidget)
37 OllamaHistoryWidget.setTabOrder(self.titleEdit, self.modelEdit)
38 OllamaHistoryWidget.setTabOrder(self.modelEdit, self.newChatButton)
39 OllamaHistoryWidget.setTabOrder(self.newChatButton, self.deleteButton)
40
41 def retranslateUi(self, OllamaHistoryWidget):
42 _translate = QtCore.QCoreApplication.translate
43 self.newChatButton.setToolTip(_translate("OllamaHistoryWidget", "Press to start a new chat based on the current history."))
44 self.deleteButton.setToolTip(_translate("OllamaHistoryWidget", "Press to delete this chat history."))

eric ide

mercurial