38 lines
780 B
C++
38 lines
780 B
C++
#ifndef SETTINGSPAGEACTIVITY_H
|
|
#define SETTINGSPAGEACTIVITY_H
|
|
|
|
#include <QObject>
|
|
|
|
class QQuickItem;
|
|
class DynamicLoader;
|
|
class QQmlEngine;
|
|
|
|
class SettingsPageActivity : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SettingsPageActivity(QQuickItem * item, QObject *parent = nullptr);
|
|
|
|
private:
|
|
QQuickItem * root;
|
|
DynamicLoader* loader = 0;
|
|
QQmlEngine * engine;
|
|
|
|
const QString FIELD_PROJECT_PATH = "ProjectsPathLabelField";
|
|
QQuickItem * fieldProjectPath = 0;
|
|
|
|
const QString FIELD_REMOTE_ADDRESS = "RemoteAddressLabelField";
|
|
QQuickItem * fieldRemoteAdress = 0;
|
|
|
|
bool isAllElementsFound();
|
|
void init();
|
|
|
|
public:
|
|
private slots:
|
|
void errorOccurredDynamycLoaderHandler(const QString& message);
|
|
signals:
|
|
};
|
|
|
|
#endif // SETTINGSPAGEACTIVITY_H
|