2024-12-03 20:07:25 +08:00
|
|
|
#ifndef GRAPHICELEMENTSPANEL_H
|
|
|
|
|
#define GRAPHICELEMENTSPANEL_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
2026-03-13 08:31:37 +08:00
|
|
|
//#include "global.h"
|
|
|
|
|
#include "common/core_model/types.h"
|
2024-12-03 20:07:25 +08:00
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
namespace Ui { class graphicElementsPanel; }
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
|
|
class GraphicElementsPanel : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
GraphicElementsPanel(QWidget *parent = nullptr);
|
|
|
|
|
~GraphicElementsPanel();
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void addGraphicsItem(GraphicsItemType&);
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
void onBtnClicked_GraphicsItem();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::graphicElementsPanel *ui;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|