2024-11-15 01:49:05 +00:00
|
|
|
#pragma once
|
2025-02-06 13:18:25 +00:00
|
|
|
#include "RasterProcessToolWidgetAPI.h"
|
2024-11-15 01:49:05 +00:00
|
|
|
#include <QtWidgets/QMainWindow>
|
2024-11-25 17:51:20 +00:00
|
|
|
#include "QToolAbstract.h"
|
2024-11-15 01:49:05 +00:00
|
|
|
|
2025-02-06 13:18:25 +00:00
|
|
|
namespace Ui {
|
|
|
|
class RasterProcessToolClass;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class RASTERPROCESSTOOLWIDGET_EXPORT RasterProcessTool : public QMainWindow
|
2024-11-15 01:49:05 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
RasterProcessTool(QWidget *parent = nullptr);
|
|
|
|
~RasterProcessTool();
|
|
|
|
|
2024-11-25 17:51:20 +00:00
|
|
|
signals:
|
|
|
|
void addBoxToolItemSIGNAL(QToolAbstract* item);
|
|
|
|
|
2024-11-15 09:23:00 +00:00
|
|
|
public slots:
|
2024-11-25 17:51:20 +00:00
|
|
|
void addBoxToolItemSLOT(QToolAbstract* item);
|
|
|
|
QTreeWidgetItem* findOrCreateParentItem( QVector<QString>& path);
|
|
|
|
QTreeWidgetItem* findOrCreateTopLevelItem( QString& name);
|
|
|
|
QTreeWidgetItem* findChildItemByName(QTreeWidgetItem* parentItem, QString& name);
|
2024-11-15 09:23:00 +00:00
|
|
|
|
2024-11-15 01:49:05 +00:00
|
|
|
private:
|
2025-02-06 13:18:25 +00:00
|
|
|
Ui::RasterProcessToolClass* ui;
|
2024-11-15 01:49:05 +00:00
|
|
|
};
|