refactor(ui): Remove rendering setup button

This commit is contained in:
Lars Toenning
2024-11-22 10:01:12 +01:00
parent d73a4c4c88
commit b69b928b06
6 changed files with 0 additions and 26 deletions

View File

@@ -21,8 +21,6 @@ namespace swift::gui::components
ui->setupUi(this);
ui->tw_InterpolationSetup->setCurrentIndex(0);
connect(ui->comp_InterpolationSetup, &CInterpolationSetupComponent::requestRenderingRestrictionsWidget, this,
&CInterpolationComponent::requestRenderingRestrictionsWidget);
connect(ui->comp_CallsignCompleter, &CCallsignCompleter::validChangedCallsignEntered, this,
&CInterpolationComponent::displayInterpolationMessages);
connect(ui->pb_ReloadInterpolationMessages, &QPushButton::released, this,

View File

@@ -29,10 +29,6 @@ namespace swift::gui::components
//! Destructor
virtual ~CInterpolationComponent() override;
signals:
//! Request redering restrictions widget
void requestRenderingRestrictionsWidget();
private:
QScopedPointer<Ui::CInterpolationComponent> ui;

View File

@@ -28,8 +28,6 @@ namespace swift::gui::components
ui->cb_IgnoreGlobal->setChecked(true);
ui->tvp_InterpolationSetup->menuAddItems(CInterpolationSetupView::MenuRemoveSelectedRows);
connect(ui->pb_RenderingSetup, &QPushButton::clicked, this,
&CInterpolationSetupComponent::requestRenderingRestrictionsWidget);
connect(ui->pb_Save, &QPushButton::clicked, this, &CInterpolationSetupComponent::saveSetup);
connect(ui->pb_DeleteOrReset, &QPushButton::clicked, this, &CInterpolationSetupComponent::removeOrResetSetup);
connect(ui->pb_Reload, &QPushButton::clicked, this, &CInterpolationSetupComponent::reloadSetup,

View File

@@ -41,10 +41,6 @@ namespace swift::gui::components
//! Setup mode
Mode getSetupMode() const;
signals:
//! Request restrictions UI
void requestRenderingRestrictionsWidget();
private:
QScopedPointer<Ui::CInterpolationSetupComponent> ui;

View File

@@ -161,16 +161,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pb_RenderingSetup">
<property name="toolTip">
<string>goto rendering setup</string>
</property>
<property name="text">
<string> rendering</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_DeleteOrReset">
<property name="text">
@@ -215,7 +205,6 @@
<tabstop>rb_Global</tabstop>
<tabstop>pb_Reload</tabstop>
<tabstop>cb_IgnoreGlobal</tabstop>
<tabstop>pb_RenderingSetup</tabstop>
<tabstop>pb_DeleteOrReset</tabstop>
<tabstop>pb_Save</tabstop>
</tabstops>

View File

@@ -317,9 +317,6 @@ void SwiftGuiStd::initGuiSignals()
// interpolation and validation
connect(ui->comp_MainInfoArea->getMappingComponent(), &CMappingComponent::requestValidationDialog, this,
&SwiftGuiStd::displayValidationDialog);
connect(ui->comp_MainInfoArea->getInterpolationComponent(),
&CInterpolationComponent::requestRenderingRestrictionsWidget,
[=] { this->setSettingsPage(CSettingsComponent::SettingTabSimulator); });
// on top
connect(sGui, &CGuiApplication::alwaysOnTop, this, &SwiftGuiStd::onToggledWindowsOnTop, Qt::QueuedConnection);