1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Remove accidentally pushed tmp files

This commit is contained in:
kelteseth 2017-07-06 13:59:47 +02:00
parent 6a9f7066d2
commit 5a1a14f109
6 changed files with 0 additions and 968 deletions

View File

@ -1,161 +0,0 @@
#ifndef SCREENPLAYSETTINGS_H
#define SCREENPLAYSETTINGS_H
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject >
#include <QQmlPropertyMap>
#include <QStandardPaths>
#include <QString>
#include <QTextStream>
#include <QVariant>
#include <QVector>
#include "wallpaper.h"
class ActiveProfiles;
class Profile;
class Settings : public QObject {
Q_OBJECT
public:
explicit Settings(QObject* parent = nullptr);
Q_PROPERTY(bool autostart READ autostart WRITE setAutostart NOTIFY autostartChanged)
Q_PROPERTY(bool highPriorityStart READ highPriorityStart WRITE setHighPriorityStart NOTIFY highPriorityStartChanged)
Q_PROPERTY(Renderer renderer READ renderer WRITE setRenderer NOTIFY rendererChanged)
Q_PROPERTY(bool sendStatistics READ sendStatistics WRITE setSendStatistics NOTIFY sendStatisticsChanged)
Q_PROPERTY(Version version READ version)
Q_INVOKABLE void createNewProfile(int screenNumber);
Q_INVOKABLE void constructWallpaper(QString profile, QString monitorID);
enum Renderer {
OpenGL,
Softare,
};
Q_ENUM(Renderer)
struct Version {
int major = 0;
int minor = 0;
int patch = 0;
};
bool autostart() const
{
return m_autostart;
}
bool highPriorityStart() const
{
return m_highPriorityStart;
}
Renderer renderer() const
{
return m_renderer;
}
bool sendStatistics() const
{
return m_sendStatistics;
}
Version version() const
{
return m_version;
}
signals:
void autostartChanged(bool autostart);
void highPriorityStartChanged(bool highPriorityStart);
void rendererChanged(Renderer renderer);
void sendStatisticsChanged(bool sendStatistics);
public slots:
void setAutostart(bool autostart)
{
qDebug() << autostart;
if (m_autostart == autostart)
return;
m_autostart = autostart;
emit autostartChanged(m_autostart);
}
void setHighPriorityStart(bool highPriorityStart)
{
if (m_highPriorityStart == highPriorityStart)
return;
m_highPriorityStart = highPriorityStart;
emit highPriorityStartChanged(m_highPriorityStart);
}
void setRenderer(Renderer renderer)
{
if (m_renderer == renderer)
return;
m_renderer = renderer;
emit rendererChanged(m_renderer);
}
void setsendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
void setSendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
private:
void createDefaultConfig();
void createProfileConfig();
bool m_autostart = true;
bool m_highPriorityStart = true;
Renderer m_renderer = Renderer::OpenGL;
bool m_sendStatistics;
Version m_version;
QVector<Wallpaper> m_wallpapers;
QVector<ActiveProfiles> m_activeProfiles;
};
class ActiveProfiles {
public:
ActiveProfiles();
ActiveProfiles(QString name, QString id);
private:
QString m_name;
QString m_id;
};
enum FillMode {
Stretch,
PreserveAspectFit,
PreserveAspectCrop,
};
#endif // SCREENPLAYSETTINGS_H

View File

@ -1,161 +0,0 @@
#ifndef SCREENPLAYSETTINGS_H
#define SCREENPLAYSETTINGS_H
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject >
#include <QQmlPropertyMap>
#include <QStandardPaths>
#include <QString>
#include <QTextStream>
#include <QVariant>
#include <QVector>
#include "wallpaper.h"
class ActiveProfiles;
class Profile;
class Settings : public QObject {
Q_OBJECT
public:
explicit Settings(QObject* parent = nullptr);
Q_PROPERTY(bool autostart READ autostart WRITE setAutostart NOTIFY autostartChanged)
Q_PROPERTY(bool highPriorityStart READ highPriorityStart WRITE setHighPriorityStart NOTIFY highPriorityStartChanged)
Q_PROPERTY(Renderer renderer READ renderer WRITE setRenderer NOTIFY rendererChanged)
Q_PROPERTY(bool sendStatistics READ sendStatistics WRITE setSendStatistics NOTIFY sendStatisticsChanged)
Q_PROPERTY(Version version READ version)
Q_INVOKABLE void createNewProfile(int screenNumber);
Q_INVOKABLE void constructWallpaper(QString profile, QString monitorID);
enum Renderer {
OpenGL,
Softare,
};
Q_ENUM(Renderer)
struct Version {
int major = 0;
int minor = 0;
int patch = 0;
};
bool autostart() const
{
return m_autostart;
}
bool highPriorityStart() const
{
return m_highPriorityStart;
}
Renderer renderer() const
{
return m_renderer;
}
bool sendStatistics() const
{
return m_sendStatistics;
}
Version version() const
{
return m_version;
}
signals:
void autostartChanged(bool autostart);
void highPriorityStartChanged(bool highPriorityStart);
void rendererChanged(Renderer renderer);
void sendStatisticsChanged(bool sendStatistics);
public slots:
void setAutostart(bool autostart)
{
qDebug() << autostart;
if (m_autostart == autostart)
return;
m_autostart = autostart;
emit autostartChanged(m_autostart);
}
void setHighPriorityStart(bool highPriorityStart)
{
if (m_highPriorityStart == highPriorityStart)
return;
m_highPriorityStart = highPriorityStart;
emit highPriorityStartChanged(m_highPriorityStart);
}
void setRenderer(Renderer renderer)
{
if (m_renderer == renderer)
return;
m_renderer = renderer;
emit rendererChanged(m_renderer);
}
void setsendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
void setSendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
private:
void createDefaultConfig();
void createProfileConfig();
bool m_autostart = true;
bool m_highPriorityStart = true;
Renderer m_renderer = Renderer::OpenGL;
bool m_sendStatistics;
Version m_version;
QVector<Wallpaper> m_wallpapers;
QVector<ActiveProfiles> m_activeProfiles;
};
class ActiveProfiles {
public:
ActiveProfiles();
ActiveProfiles(QString name, QString id);
private:
QString m_name;
QString m_id;
};
enum FillMode {
Stretch,
PreserveAspectFit,
PreserveAspectCrop,
};
#endif // SCREENPLAYSETTINGS_H

View File

@ -1,161 +0,0 @@
#ifndef SCREENPLAYSETTINGS_H
#define SCREENPLAYSETTINGS_H
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject >
#include <QQmlPropertyMap>
#include <QStandardPaths>
#include <QString>
#include <QTextStream>
#include <QVariant>
#include <QVector>
#include "wallpaper.h"
class ActiveProfiles;
class Profile;
class Settings : public QObject {
Q_OBJECT
public:
explicit Settings(QObject* parent = nullptr);
Q_PROPERTY(bool autostart READ autostart WRITE setAutostart NOTIFY autostartChanged)
Q_PROPERTY(bool highPriorityStart READ highPriorityStart WRITE setHighPriorityStart NOTIFY highPriorityStartChanged)
Q_PROPERTY(Renderer renderer READ renderer WRITE setRenderer NOTIFY rendererChanged)
Q_PROPERTY(bool sendStatistics READ sendStatistics WRITE setSendStatistics NOTIFY sendStatisticsChanged)
Q_PROPERTY(Version version READ version)
Q_INVOKABLE void createNewProfile(int screenNumber);
Q_INVOKABLE void constructWallpaper(QString profile, QString monitorID);
enum Renderer {
OpenGL,
Softare,
};
Q_ENUM(Renderer)
struct Version {
int major = 0;
int minor = 0;
int patch = 0;
};
bool autostart() const
{
return m_autostart;
}
bool highPriorityStart() const
{
return m_highPriorityStart;
}
Renderer renderer() const
{
return m_renderer;
}
bool sendStatistics() const
{
return m_sendStatistics;
}
Version version() const
{
return m_version;
}
signals:
void autostartChanged(bool autostart);
void highPriorityStartChanged(bool highPriorityStart);
void rendererChanged(Renderer renderer);
void sendStatisticsChanged(bool sendStatistics);
public slots:
void setAutostart(bool autostart)
{
qDebug() << autostart;
if (m_autostart == autostart)
return;
m_autostart = autostart;
emit autostartChanged(m_autostart);
}
void setHighPriorityStart(bool highPriorityStart)
{
if (m_highPriorityStart == highPriorityStart)
return;
m_highPriorityStart = highPriorityStart;
emit highPriorityStartChanged(m_highPriorityStart);
}
void setRenderer(Renderer renderer)
{
if (m_renderer == renderer)
return;
m_renderer = renderer;
emit rendererChanged(m_renderer);
}
void setsendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
void setSendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
private:
void createDefaultConfig();
void createProfileConfig();
bool m_autostart = true;
bool m_highPriorityStart = true;
Renderer m_renderer = Renderer::OpenGL;
bool m_sendStatistics;
Version m_version;
QVector<Wallpaper> m_wallpapers;
QVector<ActiveProfiles> m_activeProfiles;
};
class ActiveProfiles {
public:
ActiveProfiles();
ActiveProfiles(QString name, QString id);
private:
QString m_name;
QString m_id;
};
enum FillMode {
Stretch,
PreserveAspectFit,
PreserveAspectCrop,
};
#endif // SCREENPLAYSETTINGS_H

View File

@ -1,161 +0,0 @@
#ifndef SCREENPLAYSETTINGS_H
#define SCREENPLAYSETTINGS_H
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject >
#include <QQmlPropertyMap>
#include <QStandardPaths>
#include <QString>
#include <QTextStream>
#include <QVariant>
#include <QVector>
#include "wallpaper.h"
class ActiveProfiles;
class Profile;
class Settings : public QObject {
Q_OBJECT
public:
explicit Settings(QObject* parent = nullptr);
Q_PROPERTY(bool autostart READ autostart WRITE setAutostart NOTIFY autostartChanged)
Q_PROPERTY(bool highPriorityStart READ highPriorityStart WRITE setHighPriorityStart NOTIFY highPriorityStartChanged)
Q_PROPERTY(Renderer renderer READ renderer WRITE setRenderer NOTIFY rendererChanged)
Q_PROPERTY(bool sendStatistics READ sendStatistics WRITE setSendStatistics NOTIFY sendStatisticsChanged)
Q_PROPERTY(Version version READ version)
Q_INVOKABLE void createNewProfile(int screenNumber);
Q_INVOKABLE void constructWallpaper(QString profile, QString monitorID);
enum Renderer {
OpenGL,
Softare,
};
Q_ENUM(Renderer)
struct Version {
int major = 0;
int minor = 0;
int patch = 0;
};
bool autostart() const
{
return m_autostart;
}
bool highPriorityStart() const
{
return m_highPriorityStart;
}
Renderer renderer() const
{
return m_renderer;
}
bool sendStatistics() const
{
return m_sendStatistics;
}
Version version() const
{
return m_version;
}
signals:
void autostartChanged(bool autostart);
void highPriorityStartChanged(bool highPriorityStart);
void rendererChanged(Renderer renderer);
void sendStatisticsChanged(bool sendStatistics);
public slots:
void setAutostart(bool autostart)
{
qDebug() << autostart;
if (m_autostart == autostart)
return;
m_autostart = autostart;
emit autostartChanged(m_autostart);
}
void setHighPriorityStart(bool highPriorityStart)
{
if (m_highPriorityStart == highPriorityStart)
return;
m_highPriorityStart = highPriorityStart;
emit highPriorityStartChanged(m_highPriorityStart);
}
void setRenderer(Renderer renderer)
{
if (m_renderer == renderer)
return;
m_renderer = renderer;
emit rendererChanged(m_renderer);
}
void setsendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
void setSendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
private:
void createDefaultConfig();
void createProfileConfig();
bool m_autostart = true;
bool m_highPriorityStart = true;
Renderer m_renderer = Renderer::OpenGL;
bool m_sendStatistics;
Version m_version;
QVector<Wallpaper> m_wallpapers;
QVector<ActiveProfiles> m_activeProfiles;
};
class ActiveProfiles {
public:
ActiveProfiles();
ActiveProfiles(QString name, QString id);
private:
QString m_name;
QString m_id;
};
enum FillMode {
Stretch,
PreserveAspectFit,
PreserveAspectCrop,
};
#endif // SCREENPLAYSETTINGS_H

View File

@ -1,163 +0,0 @@
#ifndef SCREENPLAYSETTINGS_H
#define SCREENPLAYSETTINGS_H
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject >
#include <QQmlPropertyMap>
#include <QStandardPaths>
#include <QString>
#include <QTextStream>
#include <QVariant>
#include <QVector>
#include "wallpaper.h"
class ActiveProfiles;
class Settings : public QObject {
Q_OBJECT
public:
explicit Settings(QObject* parent = nullptr);
Q_PROPERTY(bool autostart READ autostart WRITE setAutostart NOTIFY autostartChanged)
Q_PROPERTY(bool highPriorityStart READ highPriorityStart WRITE setHighPriorityStart NOTIFY highPriorityStartChanged)
Q_PROPERTY(Renderer renderer READ renderer WRITE setRenderer NOTIFY rendererChanged)
Q_PROPERTY(bool sendStatistics READ sendStatistics WRITE setSendStatistics NOTIFY sendStatisticsChanged)
Q_PROPERTY(Version version READ version)
Q_INVOKABLE void createNewProfile(int screenNumber);
enum Renderer {
OpenGL,
Softare,
};
Q_ENUM(Renderer)
struct Version {
int major = 0;
int minor = 0;
int patch = 0;
};
bool autostart() const
{
return m_autostart;
}
bool highPriorityStart() const
{
return m_highPriorityStart;
}
Renderer renderer() const
{
return m_renderer;
}
bool sendStatistics() const
{
return m_sendStatistics;
}
Version version() const
{
return m_version;
}
signals:
void autostartChanged(bool autostart);
void highPriorityStartChanged(bool highPriorityStart);
void rendererChanged(Renderer renderer);
void sendStatisticsChanged(bool sendStatistics);
public slots:
void setAutostart(bool autostart)
{
qDebug() << autostart;
if (m_autostart == autostart)
return;
m_autostart = autostart;
emit autostartChanged(m_autostart);
}
void setHighPriorityStart(bool highPriorityStart)
{
if (m_highPriorityStart == highPriorityStart)
return;
m_highPriorityStart = highPriorityStart;
emit highPriorityStartChanged(m_highPriorityStart);
}
void setRenderer(Renderer renderer)
{
if (m_renderer == renderer)
return;
m_renderer = renderer;
emit rendererChanged(m_renderer);
}
void setsendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
void setSendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
private:
void createDefaultConfig();
void createProfileConfig();
bool m_autostart = true;
bool m_highPriorityStart = true;
Renderer m_renderer = Renderer::OpenGL;
bool m_sendStatistics;
Version m_version;
QVector<Wallpaper> m_wallpapers;
QVector<ActiveProfiles> m_activeProfiles;
};
class ActiveProfiles {
public:
ActiveProfiles();
ActiveProfiles(QString name, QString id)
{
m_name = name;
m_id = id;
}
QString m_name;
QString m_id;
};
enum FillMode {
Stretch,
PreserveAspectFit,
PreserveAspectCrop,
};
#endif // SCREENPLAYSETTINGS_H

View File

@ -1,161 +0,0 @@
#ifndef SCREENPLAYSETTINGS_H
#define SCREENPLAYSETTINGS_H
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject >
#include <QQmlPropertyMap>
#include <QStandardPaths>
#include <QString>
#include <QTextStream>
#include <QVariant>
#include <QVector>
#include "wallpaper.h"
class ActiveProfiles;
class Profile;
class Settings : public QObject {
Q_OBJECT
public:
explicit Settings(QObject* parent = nullptr);
Q_PROPERTY(bool autostart READ autostart WRITE setAutostart NOTIFY autostartChanged)
Q_PROPERTY(bool highPriorityStart READ highPriorityStart WRITE setHighPriorityStart NOTIFY highPriorityStartChanged)
Q_PROPERTY(Renderer renderer READ renderer WRITE setRenderer NOTIFY rendererChanged)
Q_PROPERTY(bool sendStatistics READ sendStatistics WRITE setSendStatistics NOTIFY sendStatisticsChanged)
Q_PROPERTY(Version version READ version)
Q_INVOKABLE void createNewProfile(int screenNumber);
Q_INVOKABLE void constructWallpaper(QString profile, QString monitorID);
enum Renderer {
OpenGL,
Softare,
};
Q_ENUM(Renderer)
struct Version {
int major = 0;
int minor = 0;
int patch = 0;
};
bool autostart() const
{
return m_autostart;
}
bool highPriorityStart() const
{
return m_highPriorityStart;
}
Renderer renderer() const
{
return m_renderer;
}
bool sendStatistics() const
{
return m_sendStatistics;
}
Version version() const
{
return m_version;
}
signals:
void autostartChanged(bool autostart);
void highPriorityStartChanged(bool highPriorityStart);
void rendererChanged(Renderer renderer);
void sendStatisticsChanged(bool sendStatistics);
public slots:
void setAutostart(bool autostart)
{
qDebug() << autostart;
if (m_autostart == autostart)
return;
m_autostart = autostart;
emit autostartChanged(m_autostart);
}
void setHighPriorityStart(bool highPriorityStart)
{
if (m_highPriorityStart == highPriorityStart)
return;
m_highPriorityStart = highPriorityStart;
emit highPriorityStartChanged(m_highPriorityStart);
}
void setRenderer(Renderer renderer)
{
if (m_renderer == renderer)
return;
m_renderer = renderer;
emit rendererChanged(m_renderer);
}
void setsendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
void setSendStatistics(bool sendStatistics)
{
if (m_sendStatistics == sendStatistics)
return;
m_sendStatistics = sendStatistics;
emit sendStatisticsChanged(m_sendStatistics);
}
private:
void createDefaultConfig();
void createProfileConfig();
bool m_autostart = true;
bool m_highPriorityStart = true;
Renderer m_renderer = Renderer::OpenGL;
bool m_sendStatistics;
Version m_version;
QVector<Wallpaper> m_wallpapers;
QVector<ActiveProfiles> m_activeProfiles;
};
class ActiveProfiles {
public:
ActiveProfiles();
ActiveProfiles(QString name, QString id);
private:
QString m_name;
QString m_id;
};
enum FillMode {
Stretch,
PreserveAspectFit,
PreserveAspectCrop,
};
#endif // SCREENPLAYSETTINGS_H