This commit is contained in:
Chenwenxuan
2024-03-06 14:54:30 +08:00
commit edac2715f0
1525 changed files with 809982 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
#ifndef CUSTOMWIDGETCREATOR_H
#define CUSTOMWIDGETCREATOR_H
#include <QFrame>
#include <QList>
class QListWidgetItem;
namespace Ui {
class CustomWidgetCreator;
}
class CustomWidgetCreator : public QFrame
{
Q_OBJECT
public:
explicit CustomWidgetCreator(QWidget* parent, QMap<QString, QAction*>& a_map);
~CustomWidgetCreator();
QStringList getChosenActions();
protected slots:
void addChosenAction();
void addChosenAction(QListWidgetItem* item);
void removeChosenAction();
void removeChosenAction(QListWidgetItem* item);
private:
Ui::CustomWidgetCreator* ui;
};
#endif // CUSTOMWIDGETCREATOR_H