diff --git a/src/GUI_UIs/ui_dialog_settings.ui b/src/GUI_UIs/ui_dialog_settings.ui
index 54c44f80b..a47d1003e 100644
--- a/src/GUI_UIs/ui_dialog_settings.ui
+++ b/src/GUI_UIs/ui_dialog_settings.ui
@@ -21,7 +21,7 @@
- QLayout::SetDefaultConstraint
+ QLayout::SizeConstraint::SetDefaultConstraint
@@ -32,10 +32,10 @@
- QFrame::Panel
+ QFrame::Shape::Panel
- Qt::ScrollBarAlwaysOn
+ Qt::ScrollBarPolicy::ScrollBarAlwaysOntrue
@@ -44,9 +44,9 @@
0
- -347
- 795
- 948
+ 0
+ 791
+ 1139
@@ -153,7 +153,7 @@ Not recommended unless you have many large files slowing the backup.
Backups
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCentertrue
@@ -203,7 +203,7 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
@@ -225,7 +225,7 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
@@ -263,7 +263,7 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
@@ -296,7 +296,7 @@ Not recommended unless you have many large files slowing the backup.
Current coder:
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter
@@ -313,14 +313,14 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
- Qt::Horizontal
+ Qt::Orientation::Horizontal
@@ -366,14 +366,14 @@ Not recommended unless you have many large files slowing the backup.
Language
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
- <html><head/><body><p>Close and open the software for the change in language to occur.</p></body></html>
+ Close and open the software for the change in language to occur.
@@ -393,7 +393,7 @@ Not recommended unless you have many large files slowing the backup.
Font size for codes tree
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCentertrue
@@ -406,7 +406,7 @@ Not recommended unless you have many large files slowing the backup.
Font size for documents
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCentertrue
@@ -426,7 +426,7 @@ Not recommended unless you have many large files slowing the backup.
Characters before and after
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -436,7 +436,7 @@ Not recommended unless you have many large files slowing the backup.
Text context, coded text style
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -582,24 +582,8 @@ Not recommended unless you have many large files slowing the backup.
0
-
-
-
-
-
-
- Qt::Vertical
-
-
- QSizePolicy::Expanding
-
-
-
- 20
- 30
-
-
-
+
+
@@ -608,46 +592,36 @@ Not recommended unless you have many large files slowing the backup.
50000
-
-
- 40000
-
- 30000
-
-
- 20000
-
-
-
-
-
-
-
+
+
- Very large text documents. Load text chunks by number of characters.
+ <html><head/><body><p>Used when entering speaker name in transcription</p></body></html>
- Code text chunk size
+ Speaker format
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
-
-
+
+
- <html><head/><body><p>Show the identifying numbers for files, cases, codes, et cetera.</p></body></html>
+ Very large text documents. Load text chunks by number of characters.
- Show IDs
+ Code text chunk size
+
+
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -660,10 +634,13 @@ Not recommended unless you have many large files slowing the backup.
Style
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
+
+
+
@@ -673,23 +650,36 @@ Not recommended unless you have many large files slowing the backup.
Time format
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
-
-
+
+
- <html><head/><body><p>Used when entering speaker name in transcription</p></body></html>
+ <html><head/><body><p>Show the identifying numbers for files, cases, codes, et cetera.</p></body></html>
- Speaker format
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Show IDs
+
+
+
+ Qt::Orientation::Vertical
+
+
+ QSizePolicy::Policy::Expanding
+
+
+
+ 20
+ 30
+
+
+
+
@@ -769,7 +759,7 @@ Not recommended unless you have many large files slowing the backup.
API key
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -779,7 +769,7 @@ Not recommended unless you have many large files slowing the backup.
Get Access:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -789,7 +779,7 @@ Not recommended unless you have many large files slowing the backup.
Description:
- Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTop|Qt::AlignmentFlag::AlignTrailing
@@ -815,7 +805,7 @@ Not recommended unless you have many large files slowing the backup.
true
- Qt::TextBrowserInteraction
+ Qt::TextInteractionFlag::TextBrowserInteraction
@@ -825,7 +815,7 @@ Not recommended unless you have many large files slowing the backup.
false
- QComboBox::NoInsert
+ QComboBox::InsertPolicy::NoInsert
@@ -839,7 +829,7 @@ Not recommended unless you have many large files slowing the backup.
- QLineEdit::PasswordEchoOnEdit
+ QLineEdit::EchoMode::PasswordEchoOnEdit
@@ -859,7 +849,7 @@ Not recommended unless you have many large files slowing the backup.
AI Profile:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -869,7 +859,7 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Vertical
+ Qt::Orientation::Vertical
@@ -882,7 +872,7 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
@@ -917,7 +907,7 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
@@ -970,7 +960,7 @@ Not recommended unless you have many large files slowing the backup.
context window:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -980,7 +970,7 @@ Not recommended unless you have many large files slowing the backup.
Temperature:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1033,7 +1023,7 @@ Not recommended unless you have many large files slowing the backup.
context window:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1043,7 +1033,7 @@ Not recommended unless you have many large files slowing the backup.
Language for AI conversations:
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter
@@ -1068,7 +1058,7 @@ Not recommended unless you have many large files slowing the backup.
true
- QComboBox::NoInsert
+ QComboBox::InsertPolicy::NoInsert<select available model>
@@ -1081,7 +1071,7 @@ Not recommended unless you have many large files slowing the backup.
API Base URL:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1091,7 +1081,7 @@ Not recommended unless you have many large files slowing the backup.
Top_p:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1130,7 +1120,7 @@ Not recommended unless you have many large files slowing the backup.
Fast Model:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1163,7 +1153,7 @@ Not recommended unless you have many large files slowing the backup.
Large Model:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1207,10 +1197,10 @@ Not recommended unless you have many large files slowing the backup.
true
- QComboBox::NoInsert
+ QComboBox::InsertPolicy::NoInsert
- QComboBox::AdjustToContentsOnFirstShow
+ QComboBox::SizeAdjustPolicy::AdjustToContentsOnFirstShow<select available model>
@@ -1223,7 +1213,7 @@ Not recommended unless you have many large files slowing the backup.
Reasoning:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter
@@ -1243,10 +1233,10 @@ Not recommended unless you have many large files slowing the backup.
- Qt::Horizontal
+ Qt::Orientation::Horizontal
- QDialogButtonBox::Cancel|QDialogButtonBox::Ok
+ QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
diff --git a/src/qualcoder/GUI/ui_dialog_settings.py b/src/qualcoder/GUI/ui_dialog_settings.py
index 7192d3b0c..4a11925ef 100644
--- a/src/qualcoder/GUI/ui_dialog_settings.py
+++ b/src/qualcoder/GUI/ui_dialog_settings.py
@@ -1,4 +1,4 @@
-# Form implementation generated from reading ui file 'c:\Users\kai\Documents\Programmierung\QualCoder\Kai_QualCoder\src\GUI_UIs\ui_dialog_settings.ui'
+# Form implementation generated from reading ui file 'ui_dialog_settings.ui'
#
# Created by: PyQt6 UI code generator 6.10.2
#
@@ -32,7 +32,7 @@ def setupUi(self, Dialog_settings):
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -347, 795, 948))
+ self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 791, 1139))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -237,28 +237,22 @@ def setupUi(self, Dialog_settings):
self.gridLayout_4 = QtWidgets.QGridLayout(self.widget_ui_right)
self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
self.gridLayout_4.setObjectName("gridLayout_4")
- self.comboBox_timestamp = QtWidgets.QComboBox(parent=self.widget_ui_right)
- self.comboBox_timestamp.setObjectName("comboBox_timestamp")
- self.gridLayout_4.addWidget(self.comboBox_timestamp, 3, 2, 1, 1)
- spacerItem2 = QtWidgets.QSpacerItem(20, 30, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
- self.gridLayout_4.addItem(spacerItem2, 5, 1, 1, 1)
+ self.comboBox_style = QtWidgets.QComboBox(parent=self.widget_ui_right)
+ self.comboBox_style.setObjectName("comboBox_style")
+ self.gridLayout_4.addWidget(self.comboBox_style, 1, 2, 1, 1)
self.comboBox_text_chunk_size = QtWidgets.QComboBox(parent=self.widget_ui_right)
self.comboBox_text_chunk_size.setObjectName("comboBox_text_chunk_size")
self.comboBox_text_chunk_size.addItem("")
self.comboBox_text_chunk_size.addItem("")
- self.comboBox_text_chunk_size.addItem("")
- self.comboBox_text_chunk_size.addItem("")
self.gridLayout_4.addWidget(self.comboBox_text_chunk_size, 2, 2, 1, 1)
- self.comboBox_style = QtWidgets.QComboBox(parent=self.widget_ui_right)
- self.comboBox_style.setObjectName("comboBox_style")
- self.gridLayout_4.addWidget(self.comboBox_style, 1, 2, 1, 1)
+ self.label_6 = QtWidgets.QLabel(parent=self.widget_ui_right)
+ self.label_6.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+ self.label_6.setObjectName("label_6")
+ self.gridLayout_4.addWidget(self.label_6, 4, 1, 1, 1)
self.label_8 = QtWidgets.QLabel(parent=self.widget_ui_right)
self.label_8.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
self.label_8.setObjectName("label_8")
self.gridLayout_4.addWidget(self.label_8, 2, 0, 1, 2)
- self.checkBox = QtWidgets.QCheckBox(parent=self.widget_ui_right)
- self.checkBox.setObjectName("checkBox")
- self.gridLayout_4.addWidget(self.checkBox, 0, 1, 1, 2)
self.comboBox_speaker = QtWidgets.QComboBox(parent=self.widget_ui_right)
self.comboBox_speaker.setObjectName("comboBox_speaker")
self.gridLayout_4.addWidget(self.comboBox_speaker, 4, 2, 1, 1)
@@ -266,14 +260,18 @@ def setupUi(self, Dialog_settings):
self.label_style.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
self.label_style.setObjectName("label_style")
self.gridLayout_4.addWidget(self.label_style, 1, 1, 1, 1)
+ self.comboBox_timestamp = QtWidgets.QComboBox(parent=self.widget_ui_right)
+ self.comboBox_timestamp.setObjectName("comboBox_timestamp")
+ self.gridLayout_4.addWidget(self.comboBox_timestamp, 3, 2, 1, 1)
self.label_5 = QtWidgets.QLabel(parent=self.widget_ui_right)
self.label_5.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
self.label_5.setObjectName("label_5")
self.gridLayout_4.addWidget(self.label_5, 3, 1, 1, 1)
- self.label_6 = QtWidgets.QLabel(parent=self.widget_ui_right)
- self.label_6.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
- self.label_6.setObjectName("label_6")
- self.gridLayout_4.addWidget(self.label_6, 4, 1, 1, 1)
+ self.checkBox = QtWidgets.QCheckBox(parent=self.widget_ui_right)
+ self.checkBox.setObjectName("checkBox")
+ self.gridLayout_4.addWidget(self.checkBox, 0, 1, 1, 2)
+ spacerItem2 = QtWidgets.QSpacerItem(20, 30, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
+ self.gridLayout_4.addItem(spacerItem2, 5, 1, 1, 1)
self.horizontalLayout.addWidget(self.widget_ui_right)
self.gridLayout.addWidget(self.widget_ui, 2, 0, 1, 3)
self.widget_ai = QtWidgets.QWidget(parent=self.scrollAreaWidgetContents)
@@ -547,7 +545,7 @@ def retranslateUi(self, Dialog_settings):
self.label_current_coder.setText(_translate("Dialog_settings", "Current coder: "))
self.label_directory.setText(_translate("Dialog_settings", "/"))
self.label_4.setText(_translate("Dialog_settings", "Language"))
- self.comboBox_language.setToolTip(_translate("Dialog_settings", "
Close and open the software for the change in language to occur.
"))
+ self.comboBox_language.setToolTip(_translate("Dialog_settings", "Close and open the software for the change in language to occur."))
self.label.setText(_translate("Dialog_settings", "General font and size"))
self.label_3.setText(_translate("Dialog_settings", "Font size for codes tree"))
self.label_7.setText(_translate("Dialog_settings", "Font size for documents"))
@@ -576,18 +574,16 @@ def retranslateUi(self, Dialog_settings):
self.comboBox_surrounding_chars.setItemText(1, _translate("Dialog_settings", "200"))
self.comboBox_surrounding_chars.setItemText(2, _translate("Dialog_settings", "300"))
self.comboBox_text_chunk_size.setItemText(0, _translate("Dialog_settings", "50000"))
- self.comboBox_text_chunk_size.setItemText(1, _translate("Dialog_settings", "40000"))
- self.comboBox_text_chunk_size.setItemText(2, _translate("Dialog_settings", "30000"))
- self.comboBox_text_chunk_size.setItemText(3, _translate("Dialog_settings", "20000"))
+ self.comboBox_text_chunk_size.setItemText(1, _translate("Dialog_settings", "30000"))
+ self.label_6.setToolTip(_translate("Dialog_settings", "
Used when entering speaker name in transcription
"))
+ self.label_6.setText(_translate("Dialog_settings", "Speaker format"))
self.label_8.setToolTip(_translate("Dialog_settings", "Very large text documents. Load text chunks by number of characters."))
self.label_8.setText(_translate("Dialog_settings", "Code text chunk size"))
- self.checkBox.setToolTip(_translate("Dialog_settings", "
Show the identifying numbers for files, cases, codes, et cetera.
Show the identifying numbers for files, cases, codes, et cetera.
"))
+ self.checkBox.setText(_translate("Dialog_settings", "Show IDs"))
self.label_ai_integration.setText(_translate("Dialog_settings", "AI Integration"))
self.checkBox_AI_enable.setText(_translate("Dialog_settings", "enable AI integration"))
self.label_ai_api_key.setText(_translate("Dialog_settings", "API key"))
@@ -621,3 +617,13 @@ def retranslateUi(self, Dialog_settings):
self.comboBox_AI_model_large.setToolTip(_translate("Dialog_settings", "Select an available AI model. The large model is used for most of the AI features in QualCoder."))
self.comboBox_AI_model_large.setPlaceholderText(_translate("Dialog_settings", "