增加dB到线性值工具

pull/13/head
chenzenghui 2025-03-11 13:43:00 +08:00
parent 7e5d390934
commit 8ef3831d65
3 changed files with 31 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#include "QSimulationSARPolynomialOrbitModel.h"
#include "QSimulationLookTableDialog.h"
#include "QCreateSARIntensityByLookTableDialog.h"
#include "QtLinearToIntenisityDialog.h"
SARSimlulationRFPCToolButton::SARSimlulationRFPCToolButton(QWidget* parent)
{
@ -73,6 +74,7 @@ void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWi
emit toolbox->addBoxToolItemSIGNAL(new QSimulationSAROrbitModelToolButton(toolbox));
emit toolbox->addBoxToolItemSIGNAL(new LookTableComputerClassToolButton(toolbox));
emit toolbox->addBoxToolItemSIGNAL(new QCreateSARIntensityByLookTableToolButton(toolbox));
emit toolbox->addBoxToolItemSIGNAL(new QQtLinearToIntenisityToolButton(toolbox));
@ -111,3 +113,19 @@ void QCreateSARIntensityByLookTableToolButton::excute()
QCreateSARIntensityByLookTableDialog* dialog = new QCreateSARIntensityByLookTableDialog;
dialog->show();
}
QQtLinearToIntenisityToolButton::QQtLinearToIntenisityToolButton(QWidget* parent)
{
this->toolPath = QVector<QString>(0);
this->toolPath.push_back(u8"»ù´¡´¦Àí");
this->toolname = QString(u8"dBתÏßÐÔ");
}
QQtLinearToIntenisityToolButton::~QQtLinearToIntenisityToolButton()
{
}
void QQtLinearToIntenisityToolButton::excute()
{
QtLinearToIntenisityDialog* dialog = new QtLinearToIntenisityDialog;
dialog->show();
}

View File

@ -71,6 +71,18 @@ public slots:
};
class SIMULATIONSARTOOL_EXPORT QQtLinearToIntenisityToolButton : public QToolAbstract {
Q_OBJECT
public:
QQtLinearToIntenisityToolButton(QWidget* parent = nullptr);
~QQtLinearToIntenisityToolButton();
public slots:
virtual void excute() override;
};
extern "C" SIMULATIONSARTOOL_EXPORT void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox);

View File

@ -41,7 +41,7 @@
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v143</PlatformToolset>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>