40 lines
960 B
C
40 lines
960 B
C
|
#pragma once
|
|||
|
#ifndef QToolAbstract_H_
|
|||
|
#define QToolAbstract_H_
|
|||
|
|
|||
|
#include "BaseConstVariable.h"
|
|||
|
#include <QTreeWidgetItem>
|
|||
|
#include <QPushButton>
|
|||
|
#include <QMessageBox>
|
|||
|
#include <QDebug>
|
|||
|
#include <QWidget>
|
|||
|
#include <QItemDelegate>
|
|||
|
#include <QString>
|
|||
|
|
|||
|
|
|||
|
// <20>Զ<EFBFBD><D4B6><EFBFBD> QTreeWidgetItem <20>̳<EFBFBD><CCB3><EFBFBD>
|
|||
|
class BASECONSTVARIABLEAPI QToolAbstract : public QObject {
|
|||
|
Q_OBJECT
|
|||
|
public:
|
|||
|
QToolAbstract(QObject* parent=nullptr);
|
|||
|
~QToolAbstract();
|
|||
|
public slots:
|
|||
|
virtual void excute();
|
|||
|
virtual void setToolXpath(QVector<QString> toolPath);
|
|||
|
virtual void setToolName(QString toolname);
|
|||
|
virtual QVector<QString> getToolXpath();
|
|||
|
virtual QString getToolName();
|
|||
|
public:
|
|||
|
QVector<QString> toolPath;
|
|||
|
QString toolname;
|
|||
|
public:
|
|||
|
virtual void run();
|
|||
|
};
|
|||
|
|
|||
|
/*
|
|||
|
// ע<>Ṥ<EFBFBD><E1B9A4><EFBFBD><EFBFBD>
|
|||
|
PluginTool_*.dll
|
|||
|
void RegisterPreToolBox(RasterProcessTool* mainWindows);
|
|||
|
extern "C" void RegisterPreToolBox(LAMPMainWidget::RasterMainWidget* mainwindows,ToolBoxWidget* toolbox);
|
|||
|
*/
|
|||
|
#endif // !1
|