将DEM重采样工具放到工具箱中
parent
00d9fb3162
commit
87b45a6089
|
|
@ -7,7 +7,7 @@
|
||||||
#include "QMergeRasterProcessDialog.h"
|
#include "QMergeRasterProcessDialog.h"
|
||||||
#include "RasterMainWidget.h"
|
#include "RasterMainWidget.h"
|
||||||
#include "ToolBoxWidget.h"
|
#include "ToolBoxWidget.h"
|
||||||
|
#include "QDEMResampleDialog.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -101,18 +101,29 @@ void MergeRasterProcessToolButton::excute()
|
||||||
|
|
||||||
void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox)
|
void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox)
|
||||||
{
|
{
|
||||||
GF3ImportDataToolButton* items1 = new GF3ImportDataToolButton(toolbox);
|
|
||||||
Complex2AmpPhaseToolButton* items2 = new Complex2AmpPhaseToolButton(toolbox);
|
|
||||||
QRDOrthProcessClassToolButton* items3 = new QRDOrthProcessClassToolButton(toolbox);
|
|
||||||
QOrthSlrRasterToolButton* items4 = new QOrthSlrRasterToolButton(toolbox);
|
|
||||||
MergeRasterProcessToolButton* items5 = new MergeRasterProcessToolButton(toolbox);
|
|
||||||
|
|
||||||
|
|
||||||
emit toolbox->addBoxToolItemSIGNAL(items1);
|
|
||||||
emit toolbox->addBoxToolItemSIGNAL(items2);
|
|
||||||
emit toolbox->addBoxToolItemSIGNAL(items3);
|
|
||||||
emit toolbox->addBoxToolItemSIGNAL(items4);
|
|
||||||
emit toolbox->addBoxToolItemSIGNAL(items5);
|
|
||||||
|
|
||||||
|
|
||||||
|
emit toolbox->addBoxToolItemSIGNAL(new GF3ImportDataToolButton(toolbox));
|
||||||
|
emit toolbox->addBoxToolItemSIGNAL(new Complex2AmpPhaseToolButton(toolbox));
|
||||||
|
emit toolbox->addBoxToolItemSIGNAL(new QRDOrthProcessClassToolButton(toolbox));
|
||||||
|
emit toolbox->addBoxToolItemSIGNAL(new QOrthSlrRasterToolButton(toolbox));
|
||||||
|
emit toolbox->addBoxToolItemSIGNAL(new MergeRasterProcessToolButton(toolbox));
|
||||||
|
emit toolbox->addBoxToolItemSIGNAL(new QDEMResampleDialogToolButton(toolbox));
|
||||||
|
}
|
||||||
|
|
||||||
|
QDEMResampleDialogToolButton::QDEMResampleDialogToolButton(QWidget* parent)
|
||||||
|
{
|
||||||
|
this->toolPath = QVector<QString>(0);
|
||||||
|
this->toolPath.push_back(u8"»ù´¡´¦Àí");
|
||||||
|
this->toolname = QString(u8"DEMÖØ²ÉÑù");
|
||||||
|
}
|
||||||
|
|
||||||
|
QDEMResampleDialogToolButton::~QDEMResampleDialogToolButton()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void QDEMResampleDialogToolButton::excute()
|
||||||
|
{
|
||||||
|
QDEMResampleDialog* dialog = new QDEMResampleDialog();
|
||||||
|
dialog->show();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,15 @@ public slots:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
class BASETOOLBOX_EXPORT QDEMResampleDialogToolButton : public QToolAbstract {
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
QDEMResampleDialogToolButton(QWidget* parent = nullptr);
|
||||||
|
~QDEMResampleDialogToolButton();
|
||||||
|
public :
|
||||||
|
virtual void excute() override;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
extern "C" BASETOOLBOX_EXPORT void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox);
|
extern "C" BASETOOLBOX_EXPORT void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows, ToolBoxWidget* toolbox);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue