Add UI for DIDKIT.

This commit is contained in:
Krad
2022-09-23 13:13:41 +08:00
parent 90ead1ce1a
commit cc4326ded3
31 changed files with 1014 additions and 69 deletions

View File

@@ -0,0 +1,20 @@
#include "ClearPropertyAction.h"
#include "Model/PropertyTableModel.h"
ClearPropertyAction::ClearPropertyAction(const QString& aName, PropertyTableModel* aModel, QWidget* aParent)
: QAction(aName, aParent)
, mModel(aModel)
{
connect(this,&QAction::triggered,this,&ClearPropertyAction::executeAction);
}
ClearPropertyAction::~ClearPropertyAction()
{
}
void ClearPropertyAction::executeAction()
{
mModel->removeRows(0,mModel->rowCount());;
}