--- a/OllamaInterface/Ui_OllamaHistoryWidget.py Fri Aug 30 12:04:28 2024 +0200 +++ b/OllamaInterface/Ui_OllamaHistoryWidget.py Fri Aug 30 15:22:47 2024 +0200 @@ -31,6 +31,9 @@ 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) @@ -40,10 +43,12 @@ OllamaHistoryWidget.setTabOrder(self.titleEdit, self.modelEdit) OllamaHistoryWidget.setTabOrder(self.modelEdit, self.newChatButton) OllamaHistoryWidget.setTabOrder(self.newChatButton, self.editButton) - OllamaHistoryWidget.setTabOrder(self.editButton, self.deleteButton) + 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."))