Simplify comboview/treeview choice with natural language

This commit is contained in:
Furgo
2024-06-27 14:03:02 +02:00
committed by Chris Hennes
parent 3ebba6ac0a
commit ba51408a71
2 changed files with 5 additions and 5 deletions

View File

@@ -546,8 +546,8 @@ void DlgSettingsGeneral::saveDockWindowVisibility()
void DlgSettingsGeneral::loadDockWindowVisibility()
{
ui->treeMode->clear();
ui->treeMode->addItem(tr("Combo View"));
ui->treeMode->addItem(tr("TreeView and PropertyView"));
ui->treeMode->addItem(tr("Combined"));
ui->treeMode->addItem(tr("Independent"));
auto hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/DockWindows");
bool propertyView = hGrp->GetGroup("PropertyView")->GetBool("Enabled", false);

View File

@@ -253,7 +253,7 @@ this according to your screen size or personal taste</string>
<item row="2" column="0">
<widget class="QLabel" name="treeModeLabel">
<property name="text">
<string>Tree view mode:</string>
<string>Tree view and Property view mode:</string>
</property>
</widget>
</item>
@@ -262,8 +262,8 @@ this according to your screen size or personal taste</string>
<property name="toolTip">
<string>Customize how tree view is shown in the panel (restart required).
'ComboView': combine tree view and property view into one panel.
'TreeView and PropertyView': split tree view and property view into separate panel.</string>
'Combined': combine Tree view and Property view into one panel.
'Independent': split Tree view and Property view into separate panels.</string>
</property>
</widget>
</item>