Add initial project structure with essential files including .gitignore, application resources, and various model and view components for the application. Implemented asynchronous parsing support and database structure checks.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#include "projectparammodel.h"
|
||||
|
||||
ProjectParamModel::ProjectParamModel(QObject *parent)
|
||||
: QObject{parent}
|
||||
{}
|
||||
|
||||
QString ProjectParamModel::name() const
|
||||
{
|
||||
return m_name;
|
||||
}
|
||||
|
||||
void ProjectParamModel::setName(const QString &newName)
|
||||
{
|
||||
if (m_name == newName)
|
||||
return;
|
||||
m_name = newName;
|
||||
emit nameChanged();
|
||||
}
|
||||
|
||||
QString ProjectParamModel::value() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
void ProjectParamModel::setValue(const QString &newValue)
|
||||
{
|
||||
if (m_value == newValue)
|
||||
return;
|
||||
m_value = newValue;
|
||||
emit valueChanged();
|
||||
}
|
||||
Reference in New Issue
Block a user