refactor(ui): Remove second way to switch to model browser parts tab

This commit is contained in:
Lars Toenning
2024-07-28 09:54:36 +02:00
parent 9b781d9334
commit 431b321aeb
3 changed files with 0 additions and 14 deletions

View File

@@ -36,7 +36,6 @@ namespace BlackGui::Components
connect(ui->pb_SetRelativePosition, &QPushButton::released, this, &CModelBrowserComponent::onSetRelativePosition, Qt::QueuedConnection);
connect(ui->pb_LoadModelSet, &QPushButton::released, this, &CModelBrowserComponent::loadModelSet, Qt::QueuedConnection);
connect(ui->pb_Display, &QPushButton::released, this, &CModelBrowserComponent::display, Qt::QueuedConnection);
connect(ui->pb_Parts, &QPushButton::released, this, &CModelBrowserComponent::selectTabParts);
connect(ui->pb_Remove, &QPushButton::released, this, &CModelBrowserComponent::remove, Qt::QueuedConnection);
connect(ui->editor_Coordinate, &CCoordinateForm::changedCoordinate, this, &CModelBrowserComponent::onSetAbsolutePosition, Qt::QueuedConnection);
connect(ui->editor_Pbh, &CPbhsForm::changeValues, this, &CModelBrowserComponent::onSetPBH, Qt::QueuedConnection);
@@ -194,11 +193,6 @@ namespace BlackGui::Components
return true;
}
void CModelBrowserComponent::selectTabParts()
{
ui->tw_Tab->setCurrentIndex(1);
}
void CModelBrowserComponent::onCGChecked(bool checked)
{
if (ui->cb_OverrideCG->isChecked() != checked) { ui->cb_OverrideCG->setChecked(true); }

View File

@@ -47,7 +47,6 @@ namespace BlackGui::Components
void remove();
void loadModelSet();
bool hasContexts() const;
void selectTabParts();
void onCGChecked(bool checked);
void updatePartsAndPBH(bool setPbh, bool setParts);
void fetchSimulatorValues();

View File

@@ -129,13 +129,6 @@
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="pb_Parts">
<property name="text">
<string>parts</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>