feat: Update terminology from "Profiles" to "Setups" across translations and UI for clarity
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions
This commit is contained in:
parent
8ba38c14ac
commit
f022d984b6
8 changed files with 221 additions and 134 deletions
|
|
@ -396,41 +396,58 @@ class SettingsDialog(QDialog):
|
|||
return widget
|
||||
|
||||
def _create_profiles_tab(self) -> QWidget:
|
||||
"""Create profiles management tab."""
|
||||
"""Create setups/import-export tab with clearer guidance."""
|
||||
widget = QWidget()
|
||||
layout = QVBoxLayout()
|
||||
|
||||
layout.addWidget(QLabel(tr("settings.profiles.label")))
|
||||
saved_setups_label = QLabel(tr("settings.profiles.label"))
|
||||
saved_setups_label.setToolTip(tr("settings.profiles.label_tooltip"))
|
||||
layout.addWidget(saved_setups_label)
|
||||
|
||||
self.profiles_help_label = QLabel(tr("settings.profiles.help_text"))
|
||||
self.profiles_help_label.setWordWrap(True)
|
||||
self.profiles_help_label.setStyleSheet("color: gray; font-size: 11px;")
|
||||
layout.addWidget(self.profiles_help_label)
|
||||
|
||||
self.profiles_list = QListWidget()
|
||||
self.profiles_list.setToolTip(tr("settings.profiles.list_tooltip"))
|
||||
self._refresh_profiles_list()
|
||||
layout.addWidget(self.profiles_list)
|
||||
|
||||
button_layout = QHBoxLayout()
|
||||
|
||||
save_profile_btn = QPushButton(tr("settings.profiles.save_btn"))
|
||||
save_profile_btn.clicked.connect(self._save_profile)
|
||||
button_layout.addWidget(save_profile_btn)
|
||||
self.save_profile_btn = QPushButton(tr("settings.profiles.save_btn"))
|
||||
self.save_profile_btn.setToolTip(tr("settings.profiles.save_tooltip"))
|
||||
self.save_profile_btn.clicked.connect(self._save_profile)
|
||||
button_layout.addWidget(self.save_profile_btn)
|
||||
|
||||
load_profile_btn = QPushButton(tr("settings.profiles.load_btn"))
|
||||
load_profile_btn.clicked.connect(self._load_profile)
|
||||
button_layout.addWidget(load_profile_btn)
|
||||
self.load_profile_btn = QPushButton(tr("settings.profiles.load_btn"))
|
||||
self.load_profile_btn.setToolTip(tr("settings.profiles.load_tooltip"))
|
||||
self.load_profile_btn.clicked.connect(self._load_profile)
|
||||
button_layout.addWidget(self.load_profile_btn)
|
||||
|
||||
delete_profile_btn = QPushButton(tr("settings.profiles.delete_btn"))
|
||||
delete_profile_btn.clicked.connect(self._delete_profile)
|
||||
button_layout.addWidget(delete_profile_btn)
|
||||
self.delete_profile_btn = QPushButton(tr("settings.profiles.delete_btn"))
|
||||
self.delete_profile_btn.setToolTip(tr("settings.profiles.delete_tooltip"))
|
||||
self.delete_profile_btn.clicked.connect(self._delete_profile)
|
||||
button_layout.addWidget(self.delete_profile_btn)
|
||||
|
||||
layout.addLayout(button_layout)
|
||||
|
||||
export_label = QLabel(tr("settings.profiles.transfer_label"))
|
||||
export_label.setToolTip(tr("settings.profiles.transfer_tooltip"))
|
||||
layout.addWidget(export_label)
|
||||
|
||||
export_layout = QHBoxLayout()
|
||||
|
||||
export_btn = QPushButton(tr("settings.profiles.export_btn"))
|
||||
export_btn.clicked.connect(self._export_config)
|
||||
export_layout.addWidget(export_btn)
|
||||
self.export_btn = QPushButton(tr("settings.profiles.export_btn"))
|
||||
self.export_btn.setToolTip(tr("settings.profiles.export_tooltip"))
|
||||
self.export_btn.clicked.connect(self._export_config)
|
||||
export_layout.addWidget(self.export_btn)
|
||||
|
||||
import_btn = QPushButton(tr("settings.profiles.import_btn"))
|
||||
import_btn.clicked.connect(self._import_config)
|
||||
export_layout.addWidget(import_btn)
|
||||
self.import_btn = QPushButton(tr("settings.profiles.import_btn"))
|
||||
self.import_btn.setToolTip(tr("settings.profiles.import_tooltip"))
|
||||
self.import_btn.clicked.connect(self._import_config)
|
||||
export_layout.addWidget(self.import_btn)
|
||||
|
||||
layout.addLayout(export_layout)
|
||||
layout.addStretch()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue