#include "SimulationSARTool.h" #include "LAMPMainWidget.h" #include "RasterMainWidget.h" #include "ToolBoxWidget.h" #include "QSimulationSARPolynomialOrbitModel.h" SARSimlulationRFPCToolButton::SARSimlulationRFPCToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"RFPC"); } SARSimlulationRFPCToolButton::~SARSimlulationRFPCToolButton() { } void SARSimlulationRFPCToolButton::excute() { QImageSARRFPC* dialog = new QImageSARRFPC(); dialog->show(); } SARSimulationTBPImageToolButton::SARSimulationTBPImageToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"成像工具库"); this->toolname = QString(u8"TimeBP仿真成像"); } SARSimulationTBPImageToolButton::~SARSimulationTBPImageToolButton() { } void SARSimulationTBPImageToolButton::excute() { QSimulationBPImage* dialog = new QSimulationBPImage; dialog->show(); } QSimulationSAROrbitModelToolButton::QSimulationSAROrbitModelToolButton(QWidget* parent) { this->toolPath = QVector(0); this->toolPath.push_back(u8"仿真工具库"); this->toolname = QString(u8"轨道仿真"); } QSimulationSAROrbitModelToolButton::~QSimulationSAROrbitModelToolButton() { } void QSimulationSAROrbitModelToolButton::excute() { QSimulationPolynomialSAROrbitModel* dialog = new QSimulationPolynomialSAROrbitModel; dialog->show(); } void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox) { SARSimlulationRFPCToolButton* items6 = new SARSimlulationRFPCToolButton(toolbox); SARSimulationTBPImageToolButton* items7 = new SARSimulationTBPImageToolButton(toolbox); QSimulationSAROrbitModelToolButton* items8 = new QSimulationSAROrbitModelToolButton(toolbox); emit toolbox->addBoxToolItemSIGNAL(items6); emit toolbox->addBoxToolItemSIGNAL(items7); emit toolbox->addBoxToolItemSIGNAL(items8); }