Compare commits
10 Commits
v1.0.0-bet
...
v2.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bb56fe174 | ||
|
|
ffebb3c7d7 | ||
|
|
c49966b47c | ||
|
|
e628ef9e94 | ||
|
|
2b95b41257 | ||
|
|
b07b7b69eb | ||
|
|
102f720d29 | ||
|
|
08dcecbee9 | ||
|
|
4308d9e93a | ||
|
|
257bc67f61 |
94
Chronos.pro
94
Chronos.pro
@@ -1,18 +1,67 @@
|
|||||||
QT += core gui
|
QT += core gui
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
||||||
|
|
||||||
CONFIG += c++17
|
CONFIG += c++17
|
||||||
|
|
||||||
|
win32:VERSION = 2.2.0.0 # major.minor.patch.build
|
||||||
|
else:VERSION = 2.2.0 # major.minor.patch
|
||||||
|
|
||||||
|
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
|
||||||
|
|
||||||
# remove possible other optimization flags
|
# remove possible other optimization flags
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O
|
win32 {
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O1
|
message("Build for Windows")
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
QMAKE_CXXFLAGS_RELEASE -= -O
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O1
|
||||||
|
QMAKE_CXXFLAGS_RELEASE *= -O2
|
||||||
|
DEFINES += APP_OS=\"\\\"Windows\\\"\"
|
||||||
|
DEFINES += APP_OS_VERSION=\"\\\"$$system(wmic os get version /value)\\\"\"
|
||||||
|
equals(QMAKE_TARGET.arch, arm64) {
|
||||||
|
message("CPU Architecture : aarch64")
|
||||||
|
DEFINES += APP_ARCH=\"\\\"arm64\\\"\"
|
||||||
|
}
|
||||||
|
equals(QMAKE_TARGET.arch, x86_64) {
|
||||||
|
message("CPU Architecture : x64")
|
||||||
|
QMAKE_CXXFLAGS_RELEASE += -favor:INTEL64
|
||||||
|
DEFINES += APP_ARCH=\"\\\"x64\\\"\"
|
||||||
|
}
|
||||||
|
RC_ICONS = icon.ico
|
||||||
|
QMAKE_TARGET_COMPANY = "Aurelie Delhaie"
|
||||||
|
QMAKE_TARGET_PRODUCT = "Chronos"
|
||||||
|
QMAKE_TARGET_DESCRIPTION = "Chronos"
|
||||||
|
}
|
||||||
|
|
||||||
|
macx {
|
||||||
|
message("Build for macOS")
|
||||||
|
ICON = icon.icns
|
||||||
|
QMAKE_INFO_PLIST = Info.plist
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O1
|
||||||
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||||
|
QMAKE_CXXFLAGS_RELEASE *= -O3
|
||||||
|
DEFINES += APP_OS=\"\\\"macOS\\\"\"
|
||||||
|
DEFINES += APP_OS_VERSION=\"\\\"$$system(uname -r)\\\"\"
|
||||||
|
equals(QMAKE_APPLE_DEVICE_ARCHS, arm64) {
|
||||||
|
message("CPU Architecture : aarch64")
|
||||||
|
DEFINES += APP_ARCH=\"\\\"aarch64\\\"\"
|
||||||
|
QMAKE_CXXFLAGS_RELEASE += -mcpu=apple-a14
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
linux-g++* {
|
||||||
|
message("Build for Linux")
|
||||||
|
DEFINES += APP_OS=\"\\\"$$system(cat /etc/issue | cut -d\' \' -f1)\\\"\"
|
||||||
|
DEFINES += APP_OS_VERSION=\"\\\"$$system(uname -r)\\\"\"
|
||||||
|
DEFINES += APP_ARCH=\"\\\"amd64\\\"\"
|
||||||
|
QMAKE_CXXFLAGS_RELEASE *= -O3
|
||||||
|
QMAKE_CXXFLAGS_RELEASE += -march=skylake
|
||||||
|
VERSION = 1.1.0
|
||||||
|
}
|
||||||
|
|
||||||
|
# add the desired -O3 if not present, MinGW only
|
||||||
|
# QMAKE_CXXFLAGS_RELEASE *= -O3
|
||||||
|
|
||||||
# add the desired -O3 if not present
|
|
||||||
QMAKE_CXXFLAGS_RELEASE *= -O3
|
|
||||||
|
|
||||||
RC_ICONS = icon.ico
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
# any Qt feature that has been marked deprecated (the exact warnings
|
# any Qt feature that has been marked deprecated (the exact warnings
|
||||||
@@ -26,25 +75,42 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
|
sources/configurationmanager.cpp \
|
||||||
|
sources/configurationdialog.cpp \
|
||||||
sources/aboutbox.cpp \
|
sources/aboutbox.cpp \
|
||||||
sources/day.cpp \
|
sources/breakdialog.cpp \
|
||||||
|
sources/models/breakpoint.cpp \
|
||||||
|
sources/models/day.cpp \
|
||||||
sources/main.cpp \
|
sources/main.cpp \
|
||||||
sources/mainwindow.cpp \
|
sources/mainwindow.cpp \
|
||||||
|
sources/models/settings.cpp \
|
||||||
sources/setdaydialog.cpp \
|
sources/setdaydialog.cpp \
|
||||||
sources/tools.cpp \
|
sources/tools.cpp \
|
||||||
sources/week.cpp \
|
sources/models/week.cpp \
|
||||||
sources/welcome.cpp
|
sources/weekoption.cpp \
|
||||||
|
sources/welcome.cpp \
|
||||||
|
sources/models/year.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
|
sources/configurationmanager.h \
|
||||||
|
sources/configurationdialog.h \
|
||||||
sources/aboutbox.h \
|
sources/aboutbox.h \
|
||||||
sources/day.h \
|
sources/breakdialog.h \
|
||||||
|
sources/models/breakpoint.h \
|
||||||
|
sources/models/day.h \
|
||||||
sources/mainwindow.h \
|
sources/mainwindow.h \
|
||||||
|
sources/models/settings.h \
|
||||||
sources/setdaydialog.h \
|
sources/setdaydialog.h \
|
||||||
sources/tools.h \
|
sources/tools.h \
|
||||||
sources/week.h \
|
sources/models/week.h \
|
||||||
sources/welcome.h
|
sources/weekoption.h \
|
||||||
|
sources/welcome.h \
|
||||||
|
sources/models/year.h
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
|
sources/weekoption.ui \
|
||||||
|
ui/configurationdialog.ui \
|
||||||
|
ui/breakdialog.ui \
|
||||||
ui/aboutbox.ui \
|
ui/aboutbox.ui \
|
||||||
ui/mainwindow.ui \
|
ui/mainwindow.ui \
|
||||||
ui/setdaydialog.ui \
|
ui/setdaydialog.ui \
|
||||||
|
|||||||
189
Chronos.pro.user
189
Chronos.pro.user
@@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE QtCreatorProject>
|
<!DOCTYPE QtCreatorProject>
|
||||||
<!-- Written by QtCreator 4.12.4, 2020-08-10T22:47:23. -->
|
<!-- Written by QtCreator 6.0.2, 2022-03-01T19:28:21. -->
|
||||||
<qtcreator>
|
<qtcreator>
|
||||||
<data>
|
<data>
|
||||||
<variable>EnvironmentId</variable>
|
<variable>EnvironmentId</variable>
|
||||||
<value type="QByteArray">{39b4df9e-fc10-428a-bc34-924198bd0973}</value>
|
<value type="QByteArray">{dbe9fba1-e5a9-4d98-85bf-f46da0900eba}</value>
|
||||||
</data>
|
</data>
|
||||||
<data>
|
<data>
|
||||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||||
<value type="int">0</value>
|
<value type="qlonglong">0</value>
|
||||||
</data>
|
</data>
|
||||||
<data>
|
<data>
|
||||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
<value type="qlonglong" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||||
@@ -37,6 +37,7 @@
|
|||||||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value>
|
||||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||||
@@ -45,25 +46,38 @@
|
|||||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.UseIndenter">false</value>
|
||||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||||
|
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
|
||||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
</data>
|
</data>
|
||||||
<data>
|
<data>
|
||||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||||
<valuemap type="QVariantMap">
|
<valuemap type="QVariantMap">
|
||||||
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
|
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
|
||||||
<value type="QString">-fno-delayed-template-parsing</value>
|
<value type="bool" key="AutoTest.Framework.Boost">true</value>
|
||||||
</valuelist>
|
<value type="bool" key="AutoTest.Framework.CTest">false</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.Catch">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.GTest">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
|
||||||
|
<value type="int" key="AutoTest.RunAfterBuild">0</value>
|
||||||
|
<value type="bool" key="AutoTest.UseGlobal">true</value>
|
||||||
|
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"/>
|
||||||
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||||
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.Questionable</value>
|
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.BuildSystem</value>
|
||||||
<valuemap type="QVariantMap" key="ClangTools">
|
<valuemap type="QVariantMap" key="ClangTools">
|
||||||
|
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
|
||||||
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
||||||
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
||||||
<value type="int" key="ClangTools.ParallelJobs">4</value>
|
<value type="int" key="ClangTools.ParallelJobs">8</value>
|
||||||
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
||||||
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
||||||
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
||||||
@@ -74,35 +88,29 @@
|
|||||||
<data>
|
<data>
|
||||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||||
<valuemap type="QVariantMap">
|
<valuemap type="QVariantMap">
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.15.0 MinGW 64-bit</value>
|
<value type="QString" key="DeviceType">Desktop</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.15.0 MinGW 64-bit</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 6.2.3 GCC 64bit</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5150.win64_mingw81_kit</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 6.2.3 GCC 64bit</value>
|
||||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt6.623.gcc_64_kit</value>
|
||||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
<value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
<value type="qlonglong" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||||
|
<value type="qlonglong" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||||
<value type="bool">true</value>
|
|
||||||
<value type="int" key="EnableQmlDebugging">0</value>
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\robof\OneDrive\Documents\build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Debug</value>
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Debug</value>
|
||||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Debug</value>
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Debug</value>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
|
||||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
@@ -111,49 +119,37 @@
|
|||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
|
||||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||||
<value type="int" key="QtQuickCompiler">2</value>
|
|
||||||
<value type="int" key="SeparateDebugInfo">2</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||||
<value type="bool">true</value>
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Release</value>
|
||||||
<value type="int" key="EnableQmlDebugging">2</value>
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Release</value>
|
||||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\robof\OneDrive\Documents\build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Release</value>
|
|
||||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Release</value>
|
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
|
||||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
@@ -162,49 +158,39 @@
|
|||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
|
||||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
<value type="int" key="QtQuickCompiler">0</value>
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
<value type="int" key="SeparateDebugInfo">2</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||||
<value type="bool">true</value>
|
|
||||||
<value type="int" key="EnableQmlDebugging">0</value>
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\robof\OneDrive\Documents\build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Profile</value>
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Profile</value>
|
||||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Profile</value>
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Profile</value>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
|
||||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
@@ -213,19 +199,17 @@
|
|||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
|
||||||
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
|
||||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
@@ -233,10 +217,10 @@
|
|||||||
<value type="int" key="QtQuickCompiler">0</value>
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
<value type="int" key="SeparateDebugInfo">0</value>
|
<value type="int" key="SeparateDebugInfo">0</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
<value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||||
@@ -246,88 +230,29 @@
|
|||||||
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
<value type="qlonglong" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||||
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
|
|
||||||
<valuelist type="QVariantList" key="Analyzer.Perf.Events">
|
|
||||||
<value type="QString">cpu-cycles</value>
|
|
||||||
</valuelist>
|
|
||||||
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
|
|
||||||
<value type="int" key="Analyzer.Perf.Frequency">250</value>
|
|
||||||
<valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments">
|
|
||||||
<value type="QString">-e</value>
|
|
||||||
<value type="QString">cpu-cycles</value>
|
|
||||||
<value type="QString">--call-graph</value>
|
|
||||||
<value type="QString">dwarf,4096</value>
|
|
||||||
<value type="QString">-F</value>
|
|
||||||
<value type="QString">250</value>
|
|
||||||
</valuelist>
|
|
||||||
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
|
|
||||||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||||
<value type="int" key="Analyzer.Perf.StackSize">4096</value>
|
|
||||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
|
||||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
|
||||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
|
||||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
|
||||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
|
||||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
|
||||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
|
||||||
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
|
|
||||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
|
||||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
|
||||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
|
||||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
|
||||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
|
||||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
|
||||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
|
||||||
<value type="int">0</value>
|
|
||||||
<value type="int">1</value>
|
|
||||||
<value type="int">2</value>
|
|
||||||
<value type="int">3</value>
|
|
||||||
<value type="int">4</value>
|
|
||||||
<value type="int">5</value>
|
|
||||||
<value type="int">6</value>
|
|
||||||
<value type="int">7</value>
|
|
||||||
<value type="int">8</value>
|
|
||||||
<value type="int">9</value>
|
|
||||||
<value type="int">10</value>
|
|
||||||
<value type="int">11</value>
|
|
||||||
<value type="int">12</value>
|
|
||||||
<value type="int">13</value>
|
|
||||||
<value type="int">14</value>
|
|
||||||
</valuelist>
|
|
||||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/robof/OneDrive/Documents/Chronos/Chronos.pro</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/aurelie/src/Chronos/Chronos.pro</value>
|
||||||
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">C:/Users/robof/OneDrive/Documents/Chronos/Chronos.pro</value>
|
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">/home/aurelie/src/Chronos/Chronos.pro</value>
|
||||||
<value type="QString" key="RunConfiguration.Arguments"></value>
|
|
||||||
<value type="bool" key="RunConfiguration.Arguments.multi">false</value>
|
|
||||||
<value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value>
|
|
||||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||||
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
|
||||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">/home/aurelie/src/build-Chronos-Desktop_Qt_6_2_3_GCC_64bit-Debug</value>
|
||||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MinGW_64_bit-Release</value>
|
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
<value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
</data>
|
</data>
|
||||||
<data>
|
<data>
|
||||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||||
<value type="int">1</value>
|
<value type="qlonglong">1</value>
|
||||||
</data>
|
</data>
|
||||||
<data>
|
<data>
|
||||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||||
|
|||||||
340
Chronos.pro.user.39b4df9
Normal file
340
Chronos.pro.user.39b4df9
Normal file
@@ -0,0 +1,340 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE QtCreatorProject>
|
||||||
|
<!-- Written by QtCreator 4.12.4, 2020-11-04T20:10:22. -->
|
||||||
|
<qtcreator>
|
||||||
|
<data>
|
||||||
|
<variable>EnvironmentId</variable>
|
||||||
|
<value type="QByteArray">{39b4df9e-fc10-428a-bc34-924198bd0973}</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||||
|
<value type="int">0</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||||
|
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||||
|
<value type="QString" key="language">Cpp</value>
|
||||||
|
<valuemap type="QVariantMap" key="value">
|
||||||
|
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||||
|
<value type="QString" key="language">QmlJS</value>
|
||||||
|
<valuemap type="QVariantMap" key="value">
|
||||||
|
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||||
|
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||||
|
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
|
||||||
|
<value type="QString">-fno-delayed-template-parsing</value>
|
||||||
|
</valuelist>
|
||||||
|
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||||
|
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.Questionable</value>
|
||||||
|
<valuemap type="QVariantMap" key="ClangTools">
|
||||||
|
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
||||||
|
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
||||||
|
<value type="int" key="ClangTools.ParallelJobs">4</value>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
||||||
|
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.15.0 MSVC2019 64bit</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.15.0 MSVC2019 64bit</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5150.win64_msvc2019_64_kit</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||||
|
<value type="bool">true</value>
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\robof\OneDrive\Documents\build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Debug</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">2</value>
|
||||||
|
<value type="int" key="SeparateDebugInfo">2</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||||
|
<value type="bool">true</value>
|
||||||
|
<value type="int" key="EnableQmlDebugging">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\robof\OneDrive\Documents\build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Release</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
<value type="int" key="SeparateDebugInfo">2</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||||
|
<value type="bool">true</value>
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:\Users\robof\OneDrive\Documents\build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Profile</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||||
|
<value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
<value type="int" key="SeparateDebugInfo">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||||
|
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
|
||||||
|
<valuelist type="QVariantList" key="Analyzer.Perf.Events">
|
||||||
|
<value type="QString">cpu-cycles</value>
|
||||||
|
</valuelist>
|
||||||
|
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
|
||||||
|
<value type="int" key="Analyzer.Perf.Frequency">250</value>
|
||||||
|
<valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments">
|
||||||
|
<value type="QString">-e</value>
|
||||||
|
<value type="QString">cpu-cycles</value>
|
||||||
|
<value type="QString">--call-graph</value>
|
||||||
|
<value type="QString">dwarf,4096</value>
|
||||||
|
<value type="QString">-F</value>
|
||||||
|
<value type="QString">250</value>
|
||||||
|
</valuelist>
|
||||||
|
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
|
||||||
|
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="int" key="Analyzer.Perf.StackSize">4096</value>
|
||||||
|
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||||
|
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||||
|
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||||
|
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||||
|
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||||
|
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||||
|
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||||
|
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||||
|
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
|
||||||
|
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||||
|
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||||
|
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||||
|
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||||
|
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||||
|
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||||
|
<value type="int">0</value>
|
||||||
|
<value type="int">1</value>
|
||||||
|
<value type="int">2</value>
|
||||||
|
<value type="int">3</value>
|
||||||
|
<value type="int">4</value>
|
||||||
|
<value type="int">5</value>
|
||||||
|
<value type="int">6</value>
|
||||||
|
<value type="int">7</value>
|
||||||
|
<value type="int">8</value>
|
||||||
|
<value type="int">9</value>
|
||||||
|
<value type="int">10</value>
|
||||||
|
<value type="int">11</value>
|
||||||
|
<value type="int">12</value>
|
||||||
|
<value type="int">13</value>
|
||||||
|
<value type="int">14</value>
|
||||||
|
</valuelist>
|
||||||
|
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||||
|
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/robof/OneDrive/Documents/Chronos/Chronos.pro</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">C:/Users/robof/OneDrive/Documents/Chronos/Chronos.pro</value>
|
||||||
|
<value type="QString" key="RunConfiguration.Arguments"></value>
|
||||||
|
<value type="bool" key="RunConfiguration.Arguments.multi">false</value>
|
||||||
|
<value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
|
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
||||||
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Release</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||||
|
<value type="int">1</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||||
|
<value type="int">22</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>Version</variable>
|
||||||
|
<value type="int">22</value>
|
||||||
|
</data>
|
||||||
|
</qtcreator>
|
||||||
426
Chronos.pro.user.67c351c
Normal file
426
Chronos.pro.user.67c351c
Normal file
@@ -0,0 +1,426 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE QtCreatorProject>
|
||||||
|
<!-- Written by QtCreator 5.0.2, 2021-10-25T22:57:55. -->
|
||||||
|
<qtcreator>
|
||||||
|
<data>
|
||||||
|
<variable>EnvironmentId</variable>
|
||||||
|
<value type="QByteArray">{67c351c8-ac7f-4fbb-b594-e8b60a17310f}</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||||
|
<value type="int">0</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||||
|
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||||
|
<value type="QString" key="language">Cpp</value>
|
||||||
|
<valuemap type="QVariantMap" key="value">
|
||||||
|
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||||
|
<value type="QString" key="language">QmlJS</value>
|
||||||
|
<valuemap type="QVariantMap" key="value">
|
||||||
|
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||||
|
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||||
|
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.UseIndenter">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||||
|
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
|
||||||
|
<value type="bool" key="AutoTest.Framework.Boost">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.CTest">false</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.Catch">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.GTest">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
|
||||||
|
<value type="int" key="AutoTest.RunAfterBuild">0</value>
|
||||||
|
<value type="bool" key="AutoTest.UseGlobal">true</value>
|
||||||
|
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
|
||||||
|
<value type="QString">-fno-delayed-template-parsing</value>
|
||||||
|
</valuelist>
|
||||||
|
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||||
|
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.BuildSystem</value>
|
||||||
|
<valuemap type="QVariantMap" key="ClangTools">
|
||||||
|
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
|
||||||
|
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
||||||
|
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
||||||
|
<value type="int" key="ClangTools.ParallelJobs">8</value>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
||||||
|
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="QString" key="DeviceType">Desktop</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 6.2.0 MSVC2019 64bit</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 6.2.0 MSVC2019 64bit</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt6.620.win64_msvc2019_64_kit</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\Qt Projects Sources\build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Debug</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\Qt Projects Sources\build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Release</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\Qt Projects Sources\build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Profile</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
<value type="int" key="SeparateDebugInfo">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||||
|
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||||
|
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||||
|
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||||
|
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:E:/Qt Projects Sources/Chronos/Chronos.pro</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">E:/Qt Projects Sources/Chronos/Chronos.pro</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_64bit-Release</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Target.1</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="QString" key="DeviceType">Desktop</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 6.2.0 MSVC2019 ARM64</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 6.2.0 MSVC2019 ARM64</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt6.620.win64_msvc2019_arm64_kit</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\Qt Projects Sources\build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Debug</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\Qt Projects Sources\build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Release</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\Qt Projects Sources\build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Profile</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
<value type="int" key="SeparateDebugInfo">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||||
|
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||||
|
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||||
|
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||||
|
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:E:/Qt Projects Sources/Chronos/Chronos.pro</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">E:/Qt Projects Sources/Chronos/Chronos.pro</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">E:/Qt Projects Sources/build-Chronos-Desktop_Qt_6_2_0_MSVC2019_ARM64-Debug</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||||
|
<value type="int">2</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||||
|
<value type="int">22</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>Version</variable>
|
||||||
|
<value type="int">22</value>
|
||||||
|
</data>
|
||||||
|
</qtcreator>
|
||||||
266
Chronos.pro.user.f1407b1
Normal file
266
Chronos.pro.user.f1407b1
Normal file
@@ -0,0 +1,266 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE QtCreatorProject>
|
||||||
|
<!-- Written by QtCreator 5.0.2, 2021-10-19T22:43:22. -->
|
||||||
|
<qtcreator>
|
||||||
|
<data>
|
||||||
|
<variable>EnvironmentId</variable>
|
||||||
|
<value type="QByteArray">{f1407b1e-b4d5-4aac-ba0d-b38072a0dfb8}</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||||
|
<value type="int">0</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||||
|
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||||
|
<value type="QString" key="language">Cpp</value>
|
||||||
|
<valuemap type="QVariantMap" key="value">
|
||||||
|
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||||
|
<value type="QString" key="language">QmlJS</value>
|
||||||
|
<valuemap type="QVariantMap" key="value">
|
||||||
|
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||||
|
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||||
|
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||||
|
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.UseIndenter">false</value>
|
||||||
|
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||||
|
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||||
|
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
|
||||||
|
<value type="bool" key="AutoTest.Framework.Boost">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.CTest">false</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.Catch">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.GTest">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
|
||||||
|
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
|
||||||
|
<value type="int" key="AutoTest.RunAfterBuild">0</value>
|
||||||
|
<value type="bool" key="AutoTest.UseGlobal">true</value>
|
||||||
|
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"/>
|
||||||
|
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||||
|
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.BuildSystem</value>
|
||||||
|
<valuemap type="QVariantMap" key="ClangTools">
|
||||||
|
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
|
||||||
|
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
||||||
|
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
||||||
|
<value type="int" key="ClangTools.ParallelJobs">4</value>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
||||||
|
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
||||||
|
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
|
||||||
|
</valuemap>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||||
|
<valuemap type="QVariantMap">
|
||||||
|
<value type="QString" key="DeviceType">Desktop</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 6.2.0 for macOS</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt 6.2.0 for macOS</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt6.620.clang_64_kit</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Debug</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis">
|
||||||
|
<value type="QString">arm-darwin-generic-mach_o-64bit</value>
|
||||||
|
</valuelist>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Release</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis">
|
||||||
|
<value type="QString">arm-darwin-generic-mach_o-64bit</value>
|
||||||
|
</valuelist>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||||
|
<value type="int" key="EnableQmlDebugging">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Profile</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||||
|
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||||
|
<valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||||
|
</valuemap>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||||
|
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
|
||||||
|
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||||
|
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||||
|
<value type="int" key="QtQuickCompiler">0</value>
|
||||||
|
<value type="int" key="SeparateDebugInfo">0</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||||
|
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
|
||||||
|
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||||
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||||
|
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||||
|
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||||
|
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||||
|
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||||
|
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||||
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/Volumes/Macintosh SSD/sources/Qt/Chronos/Chronos.pro</value>
|
||||||
|
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">/Volumes/Macintosh SSD/sources/Qt/Chronos/Chronos.pro</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">/Volumes/Macintosh SSD/sources/Qt/build-Chronos-Qt_6_2_0_for_macOS-Release/Chronos.app/Contents/MacOS</value>
|
||||||
|
</valuemap>
|
||||||
|
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
|
</valuemap>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||||
|
<value type="int">1</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||||
|
<value type="int">22</value>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<variable>Version</variable>
|
||||||
|
<value type="int">22</value>
|
||||||
|
</data>
|
||||||
|
</qtcreator>
|
||||||
24
Info.plist
Normal file
24
Info.plist
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>Chronos</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string></string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.aureliedelhaie.Chronos</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
<string>10.14</string>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>NSApplication</string>
|
||||||
|
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||||
|
<true/>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>icon.icns</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
BIN
icon-1.png
Normal file
BIN
icon-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
icon.ico
BIN
icon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 125 KiB |
@@ -5,5 +5,6 @@
|
|||||||
<file>pictures/calendar.png</file>
|
<file>pictures/calendar.png</file>
|
||||||
<file>pictures/about.png</file>
|
<file>pictures/about.png</file>
|
||||||
<file>pictures/banner.png</file>
|
<file>pictures/banner.png</file>
|
||||||
|
<file>pictures/validate.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 50 KiB |
BIN
pictures/validate.png
Normal file
BIN
pictures/validate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
sources/.DS_Store
vendored
Normal file
BIN
sources/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -6,9 +6,36 @@ AboutBox::AboutBox(QWidget *parent) :
|
|||||||
ui(new Ui::AboutBox)
|
ui(new Ui::AboutBox)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
|
||||||
|
xmax = ui->frame->x() + ui->frame->width();
|
||||||
|
xmin = ui->frame->x();
|
||||||
|
ymax = ui->frame->x() + ui->frame->height();
|
||||||
|
ymin = ui->frame->y();
|
||||||
|
ui->systemLabel->setText(QString("Built on %1 %2 (%3)").arg(APP_OS, APP_OS_VERSION, APP_ARCH));
|
||||||
|
ui->versionLabel->setText(QString("Version: %1").arg(APP_VERSION));
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutBox::~AboutBox()
|
AboutBox::~AboutBox()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AboutBox::mousePressEvent(QMouseEvent *event) {
|
||||||
|
m_nMouseClick_X_Coordinate = event->position().rx();
|
||||||
|
m_nMouseClick_Y_Coordinate = event->position().ry();
|
||||||
|
}
|
||||||
|
|
||||||
|
void AboutBox::mouseMoveEvent(QMouseEvent *event) {
|
||||||
|
if (isWidgetIsTitleBar()) {
|
||||||
|
move(event->globalPosition().rx() - m_nMouseClick_X_Coordinate ,
|
||||||
|
event->globalPosition().ry() - m_nMouseClick_Y_Coordinate);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool AboutBox::isWidgetIsTitleBar() {
|
||||||
|
return (m_nMouseClick_X_Coordinate >= xmin &&
|
||||||
|
m_nMouseClick_X_Coordinate < xmax &&
|
||||||
|
m_nMouseClick_Y_Coordinate >= ymin &&
|
||||||
|
m_nMouseClick_Y_Coordinate < ymax);
|
||||||
|
}
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
#define ABOUTBOX_H
|
#define ABOUTBOX_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
#include <QMouseEvent>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <QSysInfo>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class AboutBox;
|
class AboutBox;
|
||||||
@@ -18,6 +20,16 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AboutBox *ui;
|
Ui::AboutBox *ui;
|
||||||
|
|
||||||
|
void mousePressEvent(QMouseEvent *event);
|
||||||
|
void mouseMoveEvent(QMouseEvent *event);
|
||||||
|
int m_nMouseClick_X_Coordinate;
|
||||||
|
int m_nMouseClick_Y_Coordinate;
|
||||||
|
int xmax;
|
||||||
|
int xmin;
|
||||||
|
int ymax;
|
||||||
|
int ymin;
|
||||||
|
inline bool isWidgetIsTitleBar();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ABOUTBOX_H
|
#endif // ABOUTBOX_H
|
||||||
|
|||||||
32
sources/breakdialog.cpp
Normal file
32
sources/breakdialog.cpp
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
#include "breakdialog.h"
|
||||||
|
#include "ui_breakdialog.h"
|
||||||
|
|
||||||
|
BreakDialog::BreakDialog(QWidget *parent) :
|
||||||
|
QDialog(parent),
|
||||||
|
ui(new Ui::BreakDialog)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
connect(ui->startTime, &QTimeEdit::timeChanged, this, &BreakDialog::compute);
|
||||||
|
connect(ui->endTime, &QTimeEdit::timeChanged, this, &BreakDialog::compute);
|
||||||
|
}
|
||||||
|
|
||||||
|
BreakDialog::~BreakDialog()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
|
BreakPoint BreakDialog::get_result()
|
||||||
|
{
|
||||||
|
return bp;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BreakDialog::compute()
|
||||||
|
{
|
||||||
|
if (ui->endTime->time() < ui->startTime->time()) {
|
||||||
|
ui->endTime->setTime(ui->startTime->time());
|
||||||
|
}
|
||||||
|
bp.setStart(ui->startTime->time());
|
||||||
|
bp.setEnd(ui->endTime->time());
|
||||||
|
float minutes = bp.getDuration();
|
||||||
|
ui->totalTime->setText(QString("%1 minutes").arg(QString::number(minutes, 'g', 2)));
|
||||||
|
}
|
||||||
29
sources/breakdialog.h
Normal file
29
sources/breakdialog.h
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
#ifndef BREAKDIALOG_H
|
||||||
|
#define BREAKDIALOG_H
|
||||||
|
|
||||||
|
#include <QDialog>
|
||||||
|
|
||||||
|
#include "models/breakpoint.h"
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class BreakDialog;
|
||||||
|
}
|
||||||
|
|
||||||
|
class BreakDialog : public QDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit BreakDialog(QWidget *parent = nullptr);
|
||||||
|
~BreakDialog();
|
||||||
|
BreakPoint get_result();
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void compute();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::BreakDialog *ui;
|
||||||
|
BreakPoint bp;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // BREAKDIALOG_H
|
||||||
32
sources/configurationdialog.cpp
Normal file
32
sources/configurationdialog.cpp
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
#include "configurationdialog.h"
|
||||||
|
#include "ui_configurationdialog.h"
|
||||||
|
|
||||||
|
ConfigurationDialog::ConfigurationDialog(QWidget *parent) :
|
||||||
|
QDialog(parent),
|
||||||
|
ui(new Ui::ConfigurationDialog)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
RefreshField();
|
||||||
|
}
|
||||||
|
|
||||||
|
ConfigurationDialog::~ConfigurationDialog()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ConfigurationDialog::RefreshField()
|
||||||
|
{
|
||||||
|
Settings* s = mng.GetConfiguration();
|
||||||
|
ui->cloud_url->setText(s->GetCloudUrl());
|
||||||
|
ui->cloud_Email->setText(s->GetCloudEmail());
|
||||||
|
ui->cloud_password->setText(s->GetCloudPassword());
|
||||||
|
ui->cloud_agent->setText(s->GetCloudAgent());
|
||||||
|
ui->cloud_enable->setCheckState(s->GetCloudEnabled() ? Qt::CheckState::Checked : Qt::CheckState::Unchecked);
|
||||||
|
|
||||||
|
bool cloudDisabled = !s->GetCloudEnabled();
|
||||||
|
ui->cloud_url->setDisabled(cloudDisabled);
|
||||||
|
ui->cloud_Email->setDisabled(cloudDisabled);
|
||||||
|
ui->cloud_password->setDisabled(cloudDisabled);
|
||||||
|
ui->cloud_agent->setDisabled(cloudDisabled);
|
||||||
|
}
|
||||||
|
|
||||||
28
sources/configurationdialog.h
Normal file
28
sources/configurationdialog.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#ifndef CONFIGURATIONDIALOG_H
|
||||||
|
#define CONFIGURATIONDIALOG_H
|
||||||
|
|
||||||
|
#include <QDialog>
|
||||||
|
|
||||||
|
#include "configurationmanager.h"
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class ConfigurationDialog;
|
||||||
|
}
|
||||||
|
|
||||||
|
class ConfigurationDialog : public QDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit ConfigurationDialog(QWidget *parent = nullptr);
|
||||||
|
~ConfigurationDialog();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::ConfigurationDialog *ui;
|
||||||
|
ConfigurationManager mng;
|
||||||
|
|
||||||
|
void RefreshField();
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // CONFIGURATIONDIALOG_H
|
||||||
51
sources/configurationmanager.cpp
Normal file
51
sources/configurationmanager.cpp
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
#include "configurationmanager.h"
|
||||||
|
|
||||||
|
ConfigurationManager::ConfigurationManager()
|
||||||
|
{
|
||||||
|
if (QFile::exists(GetPath())) {
|
||||||
|
QFile* file = new QFile(GetPath());
|
||||||
|
file->open(QIODevice::ReadOnly);
|
||||||
|
auto json = QString(file->readAll());
|
||||||
|
file->close();
|
||||||
|
delete file;
|
||||||
|
|
||||||
|
QJsonObject obj = QJsonDocument::fromJson(json.toUtf8()).object();
|
||||||
|
this->s = Settings::FromJSON(obj);
|
||||||
|
} else {
|
||||||
|
this->s = new Settings();
|
||||||
|
Save();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ConfigurationManager::~ConfigurationManager()
|
||||||
|
{
|
||||||
|
delete s;
|
||||||
|
}
|
||||||
|
|
||||||
|
Settings *ConfigurationManager::GetConfiguration()
|
||||||
|
{
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString ConfigurationManager::GetPath() {
|
||||||
|
QString path = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
|
||||||
|
if (!QDir(path).exists()) {
|
||||||
|
QDir().mkpath(path);
|
||||||
|
}
|
||||||
|
path += "/";
|
||||||
|
if (!QDir(path).exists()) {
|
||||||
|
QDir().mkpath(path);
|
||||||
|
}
|
||||||
|
path += FILENAME;
|
||||||
|
return path;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ConfigurationManager::Save() {
|
||||||
|
QJsonDocument doc(s->ToJSON());
|
||||||
|
QFile *f = new QFile(GetPath());
|
||||||
|
if (f->open(QIODevice::WriteOnly)) {
|
||||||
|
f->write(doc.toJson());
|
||||||
|
f->close();
|
||||||
|
}
|
||||||
|
delete f;
|
||||||
|
}
|
||||||
27
sources/configurationmanager.h
Normal file
27
sources/configurationmanager.h
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#ifndef CONFIGURATIONMANAGER_H
|
||||||
|
#define CONFIGURATIONMANAGER_H
|
||||||
|
|
||||||
|
#define FILENAME "settings.json"
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
#include <QDir>
|
||||||
|
#include <QStandardPaths>
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QJsonDocument>
|
||||||
|
|
||||||
|
#include "models/settings.h"
|
||||||
|
|
||||||
|
class ConfigurationManager
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
Settings *s;
|
||||||
|
QString GetPath();
|
||||||
|
void Save();
|
||||||
|
public:
|
||||||
|
ConfigurationManager();
|
||||||
|
~ConfigurationManager();
|
||||||
|
|
||||||
|
Settings* GetConfiguration();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // CONFIGURATIONMANAGER_H
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
#include "day.h"
|
|
||||||
|
|
||||||
Day::Day()
|
|
||||||
{
|
|
||||||
start = QTime(9, 0, 0, 0);
|
|
||||||
end = QTime(17, 15, 0, 0);
|
|
||||||
time_break = 45.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
double Day::get_total() {
|
|
||||||
int sec = start.secsTo(end);
|
|
||||||
int minutes = sec / 60;
|
|
||||||
return (minutes - time_break) / 60;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Day::set_start(QTime value)
|
|
||||||
{
|
|
||||||
start = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Day::set_end(QTime value)
|
|
||||||
{
|
|
||||||
end = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Day::set_time_break(double value)
|
|
||||||
{
|
|
||||||
time_break = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTime Day::get_start()
|
|
||||||
{
|
|
||||||
return start;
|
|
||||||
}
|
|
||||||
|
|
||||||
QTime Day::get_end()
|
|
||||||
{
|
|
||||||
return end;
|
|
||||||
}
|
|
||||||
|
|
||||||
double Day::get_time_break()
|
|
||||||
{
|
|
||||||
return time_break;
|
|
||||||
}
|
|
||||||
|
|
||||||
QJsonObject Day::to_json()
|
|
||||||
{
|
|
||||||
QJsonObject obj{
|
|
||||||
{KEY_START, start.toString(Qt::DateFormat::ISODate)},
|
|
||||||
{KEY_END, end.toString(Qt::DateFormat::ISODate)},
|
|
||||||
{KEY_BREAK, time_break}
|
|
||||||
};
|
|
||||||
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
Day Day::from_json(QJsonObject obj)
|
|
||||||
{
|
|
||||||
Day result;
|
|
||||||
|
|
||||||
result.start = QTime::fromString(obj[KEY_START].toString(), Qt::DateFormat::ISODate);
|
|
||||||
result.end = QTime::fromString(obj[KEY_END].toString(), Qt::DateFormat::ISODate);
|
|
||||||
result.time_break = obj[KEY_BREAK].toDouble();
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
#ifndef DAY_H
|
|
||||||
#define DAY_H
|
|
||||||
|
|
||||||
#define KEY_START "start"
|
|
||||||
#define KEY_END "end"
|
|
||||||
#define KEY_BREAK "break"
|
|
||||||
|
|
||||||
#include <QTime>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
class Day
|
|
||||||
{
|
|
||||||
|
|
||||||
private:
|
|
||||||
QTime start;
|
|
||||||
QTime end;
|
|
||||||
double time_break;
|
|
||||||
|
|
||||||
public:
|
|
||||||
Day();
|
|
||||||
|
|
||||||
void set_start(QTime value);
|
|
||||||
void set_end(QTime value);
|
|
||||||
void set_time_break(double value);
|
|
||||||
|
|
||||||
QTime get_start();
|
|
||||||
QTime get_end();
|
|
||||||
double get_time_break();
|
|
||||||
QJsonObject to_json();
|
|
||||||
|
|
||||||
double get_total();
|
|
||||||
|
|
||||||
static Day from_json(QJsonObject);
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // DAY_H
|
|
||||||
@@ -11,6 +11,11 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
|
delete week_template;
|
||||||
|
foreach (Year *y, years) {
|
||||||
|
delete y;
|
||||||
|
}
|
||||||
|
years.clear();
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -35,28 +40,40 @@ void MainWindow::init() {
|
|||||||
objectId.insert(ui->fri_button->objectName(), Identifier::fri);
|
objectId.insert(ui->fri_button->objectName(), Identifier::fri);
|
||||||
connect(ui->aboutButton, &QPushButton::clicked, this, &MainWindow::open_about);
|
connect(ui->aboutButton, &QPushButton::clicked, this, &MainWindow::open_about);
|
||||||
connect(ui->template_settings_button, &QPushButton::clicked, this, &MainWindow::edit_template);
|
connect(ui->template_settings_button, &QPushButton::clicked, this, &MainWindow::edit_template);
|
||||||
|
connect(ui->today_button, &QPushButton::clicked, this, &MainWindow::set_date_to_now);
|
||||||
|
connect(ui->week_options_button, &QPushButton::clicked, this, &MainWindow::set_week_options);
|
||||||
connect(ui->dateEdit, &QDateEdit::dateTimeChanged, this, &MainWindow::compute_week_number);
|
connect(ui->dateEdit, &QDateEdit::dateTimeChanged, this, &MainWindow::compute_week_number);
|
||||||
connect(ui->mon_button, &QPushButton::clicked, this, &MainWindow::edit);
|
connect(ui->mon_button, &QPushButton::clicked, this, &MainWindow::edit);
|
||||||
connect(ui->tue_button, &QPushButton::clicked, this, &MainWindow::edit);
|
connect(ui->tue_button, &QPushButton::clicked, this, &MainWindow::edit);
|
||||||
connect(ui->wed_button, &QPushButton::clicked, this, &MainWindow::edit);
|
connect(ui->wed_button, &QPushButton::clicked, this, &MainWindow::edit);
|
||||||
connect(ui->thu_button, &QPushButton::clicked, this, &MainWindow::edit);
|
connect(ui->thu_button, &QPushButton::clicked, this, &MainWindow::edit);
|
||||||
connect(ui->fri_button, &QPushButton::clicked, this, &MainWindow::edit);
|
connect(ui->fri_button, &QPushButton::clicked, this, &MainWindow::edit);
|
||||||
|
todayWeekNumber = QDate::currentDate().weekNumber();
|
||||||
highlightDayOfWeek();
|
dayOfWeek = QDate::currentDate().dayOfWeek();
|
||||||
|
saveLoaded = false;
|
||||||
|
|
||||||
if (QFile::exists(get_save_file_path())) {
|
if (QFile::exists(get_save_file_path())) {
|
||||||
open_save();
|
open_save();
|
||||||
} else {
|
} else {
|
||||||
|
week_template = new Week();
|
||||||
Welcome w(week_template);
|
Welcome w(week_template);
|
||||||
w.exec();
|
w.exec();
|
||||||
week_template = w.get_result();
|
saveLoaded = true;
|
||||||
}
|
}
|
||||||
|
if (saveLoaded) {
|
||||||
set_date_to_now();
|
set_date_to_now();
|
||||||
compute_time();
|
compute_time();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::highlightDayOfWeek() {
|
void MainWindow::highlightDayOfWeek() {
|
||||||
int dayOfWeek = QDate::currentDate().dayOfWeek();
|
ui->monLabel->setText("Lundi");
|
||||||
|
ui->tueLabel->setText("Mardi");
|
||||||
|
ui->wedLabel->setText("Mercredi");
|
||||||
|
ui->thuLabel->setText("Jeudi");
|
||||||
|
ui->friLabel->setText("Vendredi");
|
||||||
|
if (todayWeekNumber == current_week->getWeekNumber()) {
|
||||||
|
ui->today_button->setDisabled(true);
|
||||||
switch (dayOfWeek) {
|
switch (dayOfWeek) {
|
||||||
case 1: {
|
case 1: {
|
||||||
ui->monLabel->setText(QString("> %1 <").arg(ui->monLabel->text()));
|
ui->monLabel->setText(QString("> %1 <").arg(ui->monLabel->text()));
|
||||||
@@ -80,6 +97,9 @@ void MainWindow::highlightDayOfWeek() {
|
|||||||
}
|
}
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
ui->today_button->setDisabled(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::set_date_to_now() {
|
void MainWindow::set_date_to_now() {
|
||||||
@@ -95,32 +115,33 @@ void MainWindow::open_save() {
|
|||||||
delete file;
|
delete file;
|
||||||
|
|
||||||
QJsonObject obj = QJsonDocument::fromJson(json.toUtf8()).object();
|
QJsonObject obj = QJsonDocument::fromJson(json.toUtf8()).object();
|
||||||
if (obj[KEY_SAVE_FILE_VERSION].toInt() == SAVE_FILE_VERSION) {
|
if (obj[KEY_SAVE_FILE_VERSION] != SAVE_FILE_VERSION) {
|
||||||
|
panic_dialog("Your save file version does not match the supported version."
|
||||||
|
" Please update this file and restart the application");
|
||||||
|
}
|
||||||
week_template = Week::from_json(obj[KEY_TEMPLATE].toObject());
|
week_template = Week::from_json(obj[KEY_TEMPLATE].toObject());
|
||||||
QJsonArray arr = obj[KEY_WEEKS].toArray();
|
QJsonArray arr = obj[KEY_YEARS].toArray();
|
||||||
for (QJsonValue val : arr) {
|
foreach (QJsonValue val, arr) {
|
||||||
weeks[val.toObject()["weekNumber"].toInt()] = Week::from_json(val.toObject());
|
Year *y = Year::from_json(val.toObject());
|
||||||
|
years[y->getNumber()] = y;
|
||||||
}
|
}
|
||||||
} else {
|
saveLoaded = true;
|
||||||
QMessageBox msgBox;
|
}
|
||||||
msgBox.setText("Le fichier de sauvegarde n'est pas à jour, "
|
|
||||||
"des changements ont été apporté a la structure du fichier lors de la dernière mise à jour");
|
void MainWindow::panic_dialog(QString text) {
|
||||||
msgBox.setInformativeText("Mettez à jour votre fichier de sauvegarde puis relancez l'application");
|
QMessageBox::critical(this, tr("Chronos"), text,
|
||||||
msgBox.setStandardButtons(QMessageBox::Ok);
|
QMessageBox::Ok, QMessageBox::Ok);
|
||||||
msgBox.setDefaultButton(QMessageBox::Ok);
|
|
||||||
msgBox.exec();
|
|
||||||
QTimer::singleShot(0, this, &MainWindow::close);
|
QTimer::singleShot(0, this, &MainWindow::close);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::save_to_file() {
|
void MainWindow::save_to_file() {
|
||||||
QJsonArray arr;
|
QJsonArray arr;
|
||||||
for (Week w : weeks) {
|
foreach (Year *y, years) {
|
||||||
arr.append(w.to_json());
|
arr.append(y->to_json());
|
||||||
}
|
}
|
||||||
QJsonObject obj {
|
QJsonObject obj {
|
||||||
{KEY_TEMPLATE, week_template.to_json()},
|
{KEY_TEMPLATE, week_template->to_json()},
|
||||||
{KEY_WEEKS, arr},
|
{KEY_YEARS, arr},
|
||||||
{KEY_SAVE_FILE_VERSION, SAVE_FILE_VERSION}
|
{KEY_SAVE_FILE_VERSION, SAVE_FILE_VERSION}
|
||||||
};
|
};
|
||||||
QJsonDocument doc(obj);
|
QJsonDocument doc(obj);
|
||||||
@@ -129,111 +150,120 @@ void MainWindow::save_to_file() {
|
|||||||
f->write(doc.toJson());
|
f->write(doc.toJson());
|
||||||
f->close();
|
f->close();
|
||||||
}
|
}
|
||||||
|
delete f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::compute_week_number(const QDateTime &dt) {
|
void MainWindow::compute_week_number(const QDateTime &dt) {
|
||||||
int n = dt.date().weekNumber();
|
int n = dt.date().weekNumber();
|
||||||
|
int y = dt.date().year();
|
||||||
ui->label_semaine->setText(QString("Semaine : %1").arg(QString::number(n)));
|
ui->label_semaine->setText(QString("Semaine : %1").arg(QString::number(n)));
|
||||||
QMapIterator<int, Week> it(weeks);
|
if (years.contains(y)) {
|
||||||
bool working = true;
|
current_year = years[y];
|
||||||
bool found = false;
|
} else {
|
||||||
while (it.hasNext() && working) {
|
Year *nYear = new Year(y);
|
||||||
Week w = it.next().value();
|
years[y] = nYear;
|
||||||
if (w.getWeekNumber() == n) {
|
current_year = nYear;
|
||||||
current_week = w;
|
save_to_file();
|
||||||
working = false;
|
|
||||||
found = true;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (!found) {
|
if (current_year->hasWeek(n)) {
|
||||||
current_week = Week(week_template);
|
current_week = current_year->getWeek(n);
|
||||||
current_week.setWeekNumber(n);
|
} else {
|
||||||
weeks.insert(n, current_week);
|
current_week = new Week(week_template);
|
||||||
|
current_week->setWeekNumber(n);
|
||||||
|
current_year->addWeek(current_week);
|
||||||
save_to_file();
|
save_to_file();
|
||||||
}
|
}
|
||||||
compute_time();
|
compute_time();
|
||||||
|
highlightDayOfWeek();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::compute_time() {
|
void MainWindow::compute_time() {
|
||||||
ui->mon_time_label->setText(Tools::double_to_string_time(current_week.getMon().get_total()));
|
ui->mon_time_label->setText(Tools::double_to_string_time(current_week->getMon()->get_total()));
|
||||||
ui->tue_time_label->setText(Tools::double_to_string_time(current_week.getTue().get_total()));
|
ui->tue_time_label->setText(Tools::double_to_string_time(current_week->getTue()->get_total()));
|
||||||
ui->wed_time_label->setText(Tools::double_to_string_time(current_week.getWed().get_total()));
|
ui->wed_time_label->setText(Tools::double_to_string_time(current_week->getWed()->get_total()));
|
||||||
ui->thu_time_label->setText(Tools::double_to_string_time(current_week.getThu().get_total()));
|
ui->thu_time_label->setText(Tools::double_to_string_time(current_week->getThu()->get_total()));
|
||||||
ui->fri_time_label->setText(Tools::double_to_string_time(current_week.getFri().get_total()));
|
ui->fri_time_label->setText(Tools::double_to_string_time(current_week->getFri()->get_total()));
|
||||||
ui->total_time_label->setText(Tools::double_to_string_time(current_week.total()));
|
ui->total_time_label->setText(Tools::double_to_string_time(current_week->total()));
|
||||||
updateStartLabel();
|
updateStartLabel();
|
||||||
updateBreakLabel();
|
updateBreakLabel();
|
||||||
updateEndLabel();
|
updateEndLabel();
|
||||||
|
updateValidIcon();
|
||||||
|
|
||||||
double late = 0.0;
|
double late = 0.0;
|
||||||
double overtime = 0.0;
|
double overtime = 0.0;
|
||||||
int todayWeekNumber = QDate::currentDate().weekNumber();
|
int todayWeekNumber = QDate::currentDate().weekNumber();
|
||||||
for (Week w : weeks) {
|
QMapIterator i = current_year->iterator();
|
||||||
if (w.getWeekNumber() <= todayWeekNumber) {
|
while (i.hasNext()) {
|
||||||
late += (week_template.total() - w.total());
|
Week *w = i.next().value();
|
||||||
overtime += (w.total() - week_template.total());
|
if (w->getWeekNumber() <= todayWeekNumber) {
|
||||||
|
late += (week_template->total() - w->total()) - w->getTimeDeltaInHours();
|
||||||
|
overtime += (w->total() - week_template->total()) + w->getTimeDeltaInHours();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->late_time_label->setText(Tools::double_to_string_time((late > 0.0) ? late : 0.0));
|
ui->late_time_label->setText(Tools::double_to_string_time((late > 0.0) ? late : 0.0));
|
||||||
ui->overtime_time_label->setText(Tools::double_to_string_time((overtime > 0.0) ? overtime : 0.0));
|
ui->overtime_time_label->setText(Tools::double_to_string_time((overtime > 0.0) ? overtime : 0.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::updateValidIcon() {
|
||||||
|
ui->mondayValidate->setVisible(current_week->getMon()->get_validate());
|
||||||
|
ui->tuesdayValidate->setVisible(current_week->getTue()->get_validate());
|
||||||
|
ui->wednesdayValidate->setVisible(current_week->getWed()->get_validate());
|
||||||
|
ui->thurdayValidate->setVisible(current_week->getThu()->get_validate());
|
||||||
|
ui->fridayValidate->setVisible(current_week->getFri()->get_validate());
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::updateStartLabel() {
|
void MainWindow::updateStartLabel() {
|
||||||
ui->monStartLabel->setText(current_week.getMon().get_start().toString("HH:mm"));
|
ui->monStartLabel->setText(current_week->getMon()->get_start().toString("HH:mm"));
|
||||||
ui->tueStartLabel->setText(current_week.getTue().get_start().toString("HH:mm"));
|
ui->tueStartLabel->setText(current_week->getTue()->get_start().toString("HH:mm"));
|
||||||
ui->wedStartLabel->setText(current_week.getWed().get_start().toString("HH:mm"));
|
ui->wedStartLabel->setText(current_week->getWed()->get_start().toString("HH:mm"));
|
||||||
ui->thuStartLabel->setText(current_week.getThu().get_start().toString("HH:mm"));
|
ui->thuStartLabel->setText(current_week->getThu()->get_start().toString("HH:mm"));
|
||||||
ui->friStartLabel->setText(current_week.getFri().get_start().toString("HH:mm"));
|
ui->friStartLabel->setText(current_week->getFri()->get_start().toString("HH:mm"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateBreakLabel() {
|
void MainWindow::updateBreakLabel() {
|
||||||
ui->monBreakLabel->setText(QString("%1 min.").arg(current_week.getMon().get_time_break()));
|
ui->monBreakLabel->setText(QString("%1 min.").arg(current_week->getMon()->get_time_break()));
|
||||||
ui->tueBreakLabel->setText(QString("%1 min.").arg(current_week.getTue().get_time_break()));
|
ui->tueBreakLabel->setText(QString("%1 min.").arg(current_week->getTue()->get_time_break()));
|
||||||
ui->wedBreakLabel->setText(QString("%1 min.").arg(current_week.getWed().get_time_break()));
|
ui->wedBreakLabel->setText(QString("%1 min.").arg(current_week->getWed()->get_time_break()));
|
||||||
ui->thuBreakLabel->setText(QString("%1 min.").arg(current_week.getThu().get_time_break()));
|
ui->thuBreakLabel->setText(QString("%1 min.").arg(current_week->getThu()->get_time_break()));
|
||||||
ui->friBreakLabel->setText(QString("%1 min.").arg(current_week.getFri().get_time_break()));
|
ui->friBreakLabel->setText(QString("%1 min.").arg(current_week->getFri()->get_time_break()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateEndLabel() {
|
void MainWindow::updateEndLabel() {
|
||||||
ui->monEndLabel->setText(current_week.getMon().get_end().toString("HH:mm"));
|
ui->monEndLabel->setText(current_week->getMon()->get_end().toString("HH:mm"));
|
||||||
ui->tueEndLabel->setText(current_week.getTue().get_end().toString("HH:mm"));
|
ui->tueEndLabel->setText(current_week->getTue()->get_end().toString("HH:mm"));
|
||||||
ui->wedEndLabel->setText(current_week.getWed().get_end().toString("HH:mm"));
|
ui->wedEndLabel->setText(current_week->getWed()->get_end().toString("HH:mm"));
|
||||||
ui->thuEndLabel->setText(current_week.getThu().get_end().toString("HH:mm"));
|
ui->thuEndLabel->setText(current_week->getThu()->get_end().toString("HH:mm"));
|
||||||
ui->friEndLabel->setText(current_week.getFri().get_end().toString("HH:mm"));
|
ui->friEndLabel->setText(current_week->getFri()->get_end().toString("HH:mm"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::edit() {
|
void MainWindow::edit() {
|
||||||
QString name = QObject::sender()->objectName();
|
QString name = QObject::sender()->objectName();
|
||||||
switch (get_identifier(name)) {
|
switch (get_identifier(name)) {
|
||||||
case mon:
|
case mon:
|
||||||
current_week.setMon(modify_value(current_week.getMon()));
|
modify_value(current_week->getMon());
|
||||||
break;
|
break;
|
||||||
case tue:
|
case tue:
|
||||||
current_week.setTue(modify_value(current_week.getTue()));
|
modify_value(current_week->getTue());
|
||||||
break;
|
break;
|
||||||
case wed:
|
case wed:
|
||||||
current_week.setWed(modify_value(current_week.getWed()));
|
modify_value(current_week->getWed());
|
||||||
break;
|
break;
|
||||||
case thu:
|
case thu:
|
||||||
current_week.setThu(modify_value(current_week.getThu()));
|
modify_value(current_week->getThu());
|
||||||
break;
|
break;
|
||||||
case fri:
|
case fri:
|
||||||
current_week.setFri(modify_value(current_week.getFri()));
|
modify_value(current_week->getFri());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
weeks[current_week.getWeekNumber()] = current_week;
|
|
||||||
save_to_file();
|
save_to_file();
|
||||||
compute_time();
|
compute_time();
|
||||||
}
|
}
|
||||||
|
|
||||||
Day MainWindow::modify_value(Day d) {
|
void MainWindow::modify_value(Day *d) {
|
||||||
SetDayDialog sdd(d, this);
|
bool isNotValidable = (current_week->getWeekNumber() > todayWeekNumber);
|
||||||
int result = sdd.exec();
|
SetDayDialog sdd(d, isNotValidable, this);
|
||||||
if (result == QDialog::Accepted) {
|
sdd.exec();
|
||||||
return sdd.get_result();
|
|
||||||
}
|
|
||||||
return d;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Identifier MainWindow::get_identifier(QString objectName) {
|
Identifier MainWindow::get_identifier(QString objectName) {
|
||||||
@@ -244,7 +274,6 @@ void MainWindow::edit_template() {
|
|||||||
Welcome w(week_template);
|
Welcome w(week_template);
|
||||||
int res = w.exec();
|
int res = w.exec();
|
||||||
if (res == QDialog::Accepted) {
|
if (res == QDialog::Accepted) {
|
||||||
week_template = w.get_result();
|
|
||||||
save_to_file();
|
save_to_file();
|
||||||
compute_time();
|
compute_time();
|
||||||
}
|
}
|
||||||
@@ -254,3 +283,14 @@ void MainWindow::open_about() {
|
|||||||
AboutBox a(this);
|
AboutBox a(this);
|
||||||
a.exec();
|
a.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::set_week_options()
|
||||||
|
{
|
||||||
|
WeekOption ow(current_week, this);
|
||||||
|
int result = ow.exec();
|
||||||
|
if (result == QDialog::Accepted) {
|
||||||
|
current_week->setTimeDelta(ow.get_time_delta());
|
||||||
|
save_to_file();
|
||||||
|
compute_time();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
#define MAINWINDOW_H
|
#define MAINWINDOW_H
|
||||||
|
|
||||||
#define KEY_TEMPLATE "template"
|
#define KEY_TEMPLATE "template"
|
||||||
#define KEY_WEEKS "weeks"
|
#define KEY_YEARS "years"
|
||||||
#define SAVE_FILENAME "data.json"
|
#define SAVE_FILENAME "data.json"
|
||||||
#define SAVE_FILE_VERSION 1
|
#define SAVE_FILE_VERSION 3
|
||||||
#define KEY_SAVE_FILE_VERSION "version"
|
#define KEY_SAVE_FILE_VERSION "version"
|
||||||
|
|
||||||
|
#include <QMouseEvent>
|
||||||
|
#include <QGraphicsView>
|
||||||
#include <QJsonArray>
|
#include <QJsonArray>
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
@@ -17,11 +19,15 @@
|
|||||||
#include <QMapIterator>
|
#include <QMapIterator>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
#include <QProcess>
|
||||||
|
#include <QDir>
|
||||||
|
|
||||||
#include "week.h"
|
#include "models/week.h"
|
||||||
|
#include "models/year.h"
|
||||||
#include "welcome.h"
|
#include "welcome.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
#include "aboutbox.h"
|
#include "aboutbox.h"
|
||||||
|
#include "weekoption.h"
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui { class MainWindow; }
|
namespace Ui { class MainWindow; }
|
||||||
@@ -43,28 +49,35 @@ private:
|
|||||||
void init();
|
void init();
|
||||||
void open_save();
|
void open_save();
|
||||||
void save_to_file();
|
void save_to_file();
|
||||||
|
void panic_dialog(QString text);
|
||||||
|
|
||||||
// UI Update
|
// UI Update
|
||||||
void updateStartLabel();
|
void updateStartLabel();
|
||||||
void updateBreakLabel();
|
void updateBreakLabel();
|
||||||
void updateEndLabel();
|
void updateEndLabel();
|
||||||
void highlightDayOfWeek();
|
void highlightDayOfWeek();
|
||||||
|
void updateValidIcon();
|
||||||
|
|
||||||
QString get_save_file_path();
|
QString get_save_file_path();
|
||||||
Identifier get_identifier(QString objectName);
|
Identifier get_identifier(QString objectName);
|
||||||
Day modify_value(Day);
|
void modify_value(Day*);
|
||||||
|
|
||||||
Week week_template;
|
Week* week_template;
|
||||||
Week current_week;
|
Week* current_week;
|
||||||
QMap<int, Week> weeks;
|
Year* current_year;
|
||||||
|
QMap<int, Year*> years;
|
||||||
QMap<QString, Identifier> objectId;
|
QMap<QString, Identifier> objectId;
|
||||||
|
int todayWeekNumber;
|
||||||
|
int dayOfWeek;
|
||||||
|
bool saveLoaded;
|
||||||
|
|
||||||
public slots:
|
private slots:
|
||||||
void compute_week_number(const QDateTime &dt);
|
void compute_week_number(const QDateTime &dt);
|
||||||
void compute_time();
|
void compute_time();
|
||||||
void set_date_to_now();
|
void set_date_to_now();
|
||||||
void edit();
|
void edit();
|
||||||
void edit_template();
|
void edit_template();
|
||||||
void open_about();
|
void open_about();
|
||||||
|
void set_week_options();
|
||||||
};
|
};
|
||||||
#endif // MAINWINDOW_H
|
#endif // MAINWINDOW_H
|
||||||
|
|||||||
62
sources/models/breakpoint.cpp
Normal file
62
sources/models/breakpoint.cpp
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
#include "breakpoint.h"
|
||||||
|
|
||||||
|
BreakPoint::BreakPoint()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
BreakPoint::BreakPoint(BreakPoint *old)
|
||||||
|
{
|
||||||
|
this->start = old->start;
|
||||||
|
this->end = old->end;
|
||||||
|
}
|
||||||
|
|
||||||
|
BreakPoint::BreakPoint(QTime start, QTime end)
|
||||||
|
{
|
||||||
|
this->start = start;
|
||||||
|
this->end = end;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTime BreakPoint::getStart()
|
||||||
|
{
|
||||||
|
return start;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTime BreakPoint::getEnd()
|
||||||
|
{
|
||||||
|
return end;
|
||||||
|
}
|
||||||
|
|
||||||
|
float BreakPoint::getDuration()
|
||||||
|
{
|
||||||
|
return start.secsTo(end) / 60;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BreakPoint::setStart(QTime start)
|
||||||
|
{
|
||||||
|
this->start = start;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BreakPoint::setEnd(QTime end)
|
||||||
|
{
|
||||||
|
this->end = end;
|
||||||
|
}
|
||||||
|
|
||||||
|
QJsonObject BreakPoint::to_json()
|
||||||
|
{
|
||||||
|
QJsonObject obj{
|
||||||
|
{"start", start.toString(Qt::DateFormat::ISODate)},
|
||||||
|
{"end", end.toString(Qt::DateFormat::ISODate)}
|
||||||
|
};
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
BreakPoint* BreakPoint::from_json(QJsonObject obj)
|
||||||
|
{
|
||||||
|
BreakPoint *result = new BreakPoint();
|
||||||
|
|
||||||
|
result->start = QTime::fromString(obj["start"].toString(), Qt::DateFormat::ISODate);
|
||||||
|
result->end = QTime::fromString(obj["end"].toString(), Qt::DateFormat::ISODate);
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
30
sources/models/breakpoint.h
Normal file
30
sources/models/breakpoint.h
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#ifndef BREAKPOINT_H
|
||||||
|
#define BREAKPOINT_H
|
||||||
|
|
||||||
|
#include <QTime>
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
|
class BreakPoint
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
QTime start;
|
||||||
|
QTime end;
|
||||||
|
|
||||||
|
public:
|
||||||
|
BreakPoint();
|
||||||
|
BreakPoint(BreakPoint*);
|
||||||
|
BreakPoint(QTime, QTime);
|
||||||
|
|
||||||
|
QTime getStart();
|
||||||
|
QTime getEnd();
|
||||||
|
float getDuration();
|
||||||
|
|
||||||
|
void setStart(QTime);
|
||||||
|
void setEnd(QTime);
|
||||||
|
|
||||||
|
QJsonObject to_json();
|
||||||
|
static BreakPoint* from_json(QJsonObject);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // BREAKPOINT_H
|
||||||
131
sources/models/day.cpp
Normal file
131
sources/models/day.cpp
Normal file
@@ -0,0 +1,131 @@
|
|||||||
|
#include "day.h"
|
||||||
|
|
||||||
|
Day::Day()
|
||||||
|
{
|
||||||
|
start = QTime(9, 0, 0, 0);
|
||||||
|
end = QTime(17, 15, 0, 0);
|
||||||
|
BreakPoint *lunch = new BreakPoint(QTime(12, 0, 0, 0), QTime(12, 45, 0, 0));
|
||||||
|
breaks.append(lunch);
|
||||||
|
validate = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
Day::Day(Day *old)
|
||||||
|
{
|
||||||
|
start = QTime(9, 0, 0, 0);
|
||||||
|
end = QTime(17, 15, 0, 0);
|
||||||
|
BreakPoint *lunch = new BreakPoint(QTime(12, 0, 0, 0), QTime(12, 45, 0, 0));
|
||||||
|
breaks.append(lunch);
|
||||||
|
validate = false;
|
||||||
|
update(old);
|
||||||
|
}
|
||||||
|
|
||||||
|
Day::~Day()
|
||||||
|
{
|
||||||
|
foreach (BreakPoint *bp, breaks) {
|
||||||
|
delete bp;
|
||||||
|
}
|
||||||
|
breaks.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
float Day::get_total() {
|
||||||
|
int sec = start.secsTo(end);
|
||||||
|
int minutes = sec / 60;
|
||||||
|
float breakTime = get_time_break();
|
||||||
|
return (minutes - breakTime) / 60;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Day::set_start(QTime value)
|
||||||
|
{
|
||||||
|
start = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Day::set_end(QTime value)
|
||||||
|
{
|
||||||
|
end = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Day::set_validate(bool value) {
|
||||||
|
validate = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Day::setBreaks(QVector<BreakPoint*> breaks)
|
||||||
|
{
|
||||||
|
this->breaks = breaks;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTime Day::get_start()
|
||||||
|
{
|
||||||
|
return start;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTime Day::get_end()
|
||||||
|
{
|
||||||
|
return end;
|
||||||
|
}
|
||||||
|
|
||||||
|
QVector<BreakPoint*> Day::getBreaks()
|
||||||
|
{
|
||||||
|
return breaks;
|
||||||
|
}
|
||||||
|
|
||||||
|
QJsonObject Day::to_json()
|
||||||
|
{
|
||||||
|
QJsonArray arr;
|
||||||
|
foreach (BreakPoint *bp, breaks) {
|
||||||
|
arr.append(bp->to_json());
|
||||||
|
}
|
||||||
|
QJsonObject obj{
|
||||||
|
{KEY_START, start.toString(Qt::DateFormat::ISODate)},
|
||||||
|
{KEY_END, end.toString(Qt::DateFormat::ISODate)},
|
||||||
|
{KEY_BREAKS, arr},
|
||||||
|
{KEY_VALIDATE, validate}
|
||||||
|
};
|
||||||
|
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
Day* Day::from_json(QJsonObject obj)
|
||||||
|
{
|
||||||
|
Day *result = new Day();
|
||||||
|
|
||||||
|
result->start = QTime::fromString(obj[KEY_START].toString(), Qt::DateFormat::ISODate);
|
||||||
|
result->end = QTime::fromString(obj[KEY_END].toString(), Qt::DateFormat::ISODate);
|
||||||
|
result->validate = obj[KEY_VALIDATE].toBool();
|
||||||
|
|
||||||
|
result->breaks.clear();
|
||||||
|
QJsonArray arr = obj[KEY_BREAKS].toArray();
|
||||||
|
foreach (QJsonValue val, arr) {
|
||||||
|
result->breaks.append(BreakPoint::from_json(val.toObject()));
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Day::get_validate() {
|
||||||
|
return validate;
|
||||||
|
}
|
||||||
|
|
||||||
|
float Day::get_time_break()
|
||||||
|
{
|
||||||
|
float result = 0;
|
||||||
|
foreach (BreakPoint* bp, breaks) {
|
||||||
|
result += bp->getDuration();
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Day::update(Day *old)
|
||||||
|
{
|
||||||
|
this->start = old->start;
|
||||||
|
this->end = old->end;
|
||||||
|
this->validate = old->validate;
|
||||||
|
|
||||||
|
foreach (BreakPoint *bp, breaks) {
|
||||||
|
delete bp;
|
||||||
|
}
|
||||||
|
breaks.clear();
|
||||||
|
|
||||||
|
foreach (BreakPoint *bp, old->breaks) {
|
||||||
|
this->breaks.append(new BreakPoint(bp));
|
||||||
|
}
|
||||||
|
}
|
||||||
48
sources/models/day.h
Normal file
48
sources/models/day.h
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
#ifndef DAY_H
|
||||||
|
#define DAY_H
|
||||||
|
|
||||||
|
#define KEY_START "start"
|
||||||
|
#define KEY_END "end"
|
||||||
|
#define KEY_BREAKS "breaks"
|
||||||
|
#define KEY_VALIDATE "validate"
|
||||||
|
|
||||||
|
#include <QTime>
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QJsonArray>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
#include "breakpoint.h"
|
||||||
|
|
||||||
|
class Day
|
||||||
|
{
|
||||||
|
|
||||||
|
private:
|
||||||
|
QTime start;
|
||||||
|
QTime end;
|
||||||
|
QVector<BreakPoint*> breaks;
|
||||||
|
bool validate;
|
||||||
|
|
||||||
|
public:
|
||||||
|
Day();
|
||||||
|
Day(Day*);
|
||||||
|
~Day();
|
||||||
|
|
||||||
|
void set_start(QTime value);
|
||||||
|
void set_end(QTime value);
|
||||||
|
void set_validate(bool);
|
||||||
|
void setBreaks(QVector<BreakPoint*>);
|
||||||
|
|
||||||
|
QTime get_start();
|
||||||
|
QTime get_end();
|
||||||
|
QVector<BreakPoint*> getBreaks();
|
||||||
|
bool get_validate();
|
||||||
|
float get_time_break();
|
||||||
|
void update(Day *);
|
||||||
|
QJsonObject to_json();
|
||||||
|
|
||||||
|
float get_total();
|
||||||
|
|
||||||
|
static Day* from_json(QJsonObject);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // DAY_H
|
||||||
96
sources/models/settings.cpp
Normal file
96
sources/models/settings.cpp
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
#include "settings.h"
|
||||||
|
|
||||||
|
Settings::Settings()
|
||||||
|
{
|
||||||
|
this->cloudEnabled = false;
|
||||||
|
this->cloudEmail = "";
|
||||||
|
this->cloudPassword = "";
|
||||||
|
this->cloudUrl = "";
|
||||||
|
this->cloudAgent = DEFAULT_AGENT_KEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
Settings* Settings::FromJSON(QJsonObject obj)
|
||||||
|
{
|
||||||
|
Settings *s = new Settings();
|
||||||
|
if (obj["cloud"].isObject())
|
||||||
|
{
|
||||||
|
QJsonObject cloud = obj["cloud"].toObject();
|
||||||
|
s->cloudEnabled = cloud["enabled"].toBool(false);
|
||||||
|
s->cloudUrl = cloud["url"].toString("");
|
||||||
|
s->cloudEmail = cloud["email"].toString("");
|
||||||
|
s->cloudPassword = cloud["password"].toString("");
|
||||||
|
s->cloudAgent = cloud["agent"].toString(DEFAULT_AGENT_KEY);
|
||||||
|
}
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
|
QJsonObject Settings::ToJSON()
|
||||||
|
{
|
||||||
|
QJsonObject s;
|
||||||
|
|
||||||
|
QJsonObject cloud;
|
||||||
|
cloud["enabled"] = this->cloudEnabled;
|
||||||
|
cloud["url"] = this->cloudUrl;
|
||||||
|
cloud["email"] = this->cloudEmail;
|
||||||
|
cloud["password"] = this->cloudPassword;
|
||||||
|
cloud["agent"] = this->cloudAgent;
|
||||||
|
|
||||||
|
s["cloud"] = cloud;
|
||||||
|
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Settings::GetCloudEnabled()
|
||||||
|
{
|
||||||
|
return this->cloudEnabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Settings::GetCloudUrl()
|
||||||
|
{
|
||||||
|
return this->cloudUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Settings::GetCloudEmail()
|
||||||
|
{
|
||||||
|
return this->cloudEmail;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Settings::GetCloudPassword()
|
||||||
|
{
|
||||||
|
return this->cloudPassword;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Settings::GetCloudAgent()
|
||||||
|
{
|
||||||
|
return this->cloudAgent;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Settings::GetCloudAgentDefault()
|
||||||
|
{
|
||||||
|
return DEFAULT_AGENT;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Settings::SetCloudEnabled(bool enabled)
|
||||||
|
{
|
||||||
|
this->cloudEnabled = enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Settings::SetCloudUrl(QString url)
|
||||||
|
{
|
||||||
|
this->cloudUrl = url;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Settings::SetCloudEmail(QString email)
|
||||||
|
{
|
||||||
|
this->cloudEmail = email;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Settings::SetCloudPassword(QString password)
|
||||||
|
{
|
||||||
|
this->cloudPassword = password;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Settings::SetCloudAgent(QString agent)
|
||||||
|
{
|
||||||
|
this->cloudAgent = agent;
|
||||||
|
}
|
||||||
43
sources/models/settings.h
Normal file
43
sources/models/settings.h
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
#ifndef SETTINGS_H
|
||||||
|
#define SETTINGS_H
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define DEFAULT_AGENT "cagent.exe"
|
||||||
|
#else
|
||||||
|
#define DEFAULT_AGENT "cagent"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define DEFAULT_AGENT_KEY "<default>"
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
#include <QJsonObject>
|
||||||
|
|
||||||
|
class Settings
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
bool cloudEnabled;
|
||||||
|
QString cloudUrl;
|
||||||
|
QString cloudEmail;
|
||||||
|
QString cloudPassword;
|
||||||
|
QString cloudAgent;
|
||||||
|
public:
|
||||||
|
Settings();
|
||||||
|
|
||||||
|
static Settings* FromJSON(QJsonObject obj);
|
||||||
|
QJsonObject ToJSON();
|
||||||
|
|
||||||
|
bool GetCloudEnabled();
|
||||||
|
QString GetCloudUrl();
|
||||||
|
QString GetCloudEmail();
|
||||||
|
QString GetCloudPassword();
|
||||||
|
QString GetCloudAgent();
|
||||||
|
QString GetCloudAgentDefault();
|
||||||
|
|
||||||
|
void SetCloudEnabled(bool enabled);
|
||||||
|
void SetCloudUrl(QString url);
|
||||||
|
void SetCloudEmail(QString email);
|
||||||
|
void SetCloudPassword(QString password);
|
||||||
|
void SetCloudAgent(QString agent);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // SETTINGS_H
|
||||||
136
sources/models/week.cpp
Normal file
136
sources/models/week.cpp
Normal file
@@ -0,0 +1,136 @@
|
|||||||
|
#include "week.h"
|
||||||
|
|
||||||
|
Week::Week()
|
||||||
|
{
|
||||||
|
mon = new Day();
|
||||||
|
tue = new Day();
|
||||||
|
wed = new Day();
|
||||||
|
thu = new Day();
|
||||||
|
fri = new Day();
|
||||||
|
time_delta = 0;
|
||||||
|
week_number = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
Week::Week(Week *old)
|
||||||
|
{
|
||||||
|
mon = new Day();
|
||||||
|
tue = new Day();
|
||||||
|
wed = new Day();
|
||||||
|
thu = new Day();
|
||||||
|
fri = new Day();
|
||||||
|
time_delta = 0;
|
||||||
|
week_number = 0;
|
||||||
|
update(old);
|
||||||
|
}
|
||||||
|
|
||||||
|
Week::~Week()
|
||||||
|
{
|
||||||
|
delete mon;
|
||||||
|
delete tue;
|
||||||
|
delete wed;
|
||||||
|
delete thu;
|
||||||
|
delete fri;
|
||||||
|
}
|
||||||
|
|
||||||
|
Week* Week::from_json(QJsonObject obj) {
|
||||||
|
Week *w = new Week();
|
||||||
|
w->mon = Day::from_json(obj[MONDAY].toObject());
|
||||||
|
w->tue = Day::from_json(obj[TUESDAY].toObject());
|
||||||
|
w->wed = Day::from_json(obj[WEDNESDAY].toObject());
|
||||||
|
w->thu = Day::from_json(obj[THURDAY].toObject());
|
||||||
|
w->fri = Day::from_json(obj[FRIDAY].toObject());
|
||||||
|
w->time_delta = obj[TIME_DELTA].toInt(0);
|
||||||
|
w->week_number = obj[WEEK_NUMBER].toInt();
|
||||||
|
return w;
|
||||||
|
}
|
||||||
|
|
||||||
|
QJsonObject Week::to_json() {
|
||||||
|
QJsonObject obj {
|
||||||
|
{MONDAY, mon->to_json()},
|
||||||
|
{TUESDAY, tue->to_json()},
|
||||||
|
{WEDNESDAY, wed->to_json()},
|
||||||
|
{THURDAY, thu->to_json()},
|
||||||
|
{FRIDAY, fri->to_json()},
|
||||||
|
{TIME_DELTA, time_delta},
|
||||||
|
{WEEK_NUMBER, week_number}
|
||||||
|
};
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
double Week::total() {
|
||||||
|
return mon->get_total() + tue->get_total() + wed->get_total() + thu->get_total() + fri->get_total();
|
||||||
|
}
|
||||||
|
|
||||||
|
Day* Week::getMon() {
|
||||||
|
return mon;
|
||||||
|
}
|
||||||
|
|
||||||
|
Day* Week::getTue() {
|
||||||
|
return tue;
|
||||||
|
}
|
||||||
|
|
||||||
|
Day* Week::getWed() {
|
||||||
|
return wed;
|
||||||
|
}
|
||||||
|
|
||||||
|
Day* Week::getThu() {
|
||||||
|
return thu;
|
||||||
|
}
|
||||||
|
|
||||||
|
Day* Week::getFri() {
|
||||||
|
return fri;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::update(Week *old)
|
||||||
|
{
|
||||||
|
mon = new Day(old->mon);
|
||||||
|
tue = new Day(old->tue);
|
||||||
|
wed = new Day(old->wed);
|
||||||
|
thu = new Day(old->thu);
|
||||||
|
fri = new Day(old->fri);
|
||||||
|
time_delta = old->time_delta;
|
||||||
|
week_number = old->week_number;
|
||||||
|
}
|
||||||
|
|
||||||
|
int Week::getWeekNumber() {
|
||||||
|
return week_number;
|
||||||
|
}
|
||||||
|
|
||||||
|
int Week::getTimeDelta()
|
||||||
|
{
|
||||||
|
return time_delta;
|
||||||
|
}
|
||||||
|
|
||||||
|
float Week::getTimeDeltaInHours()
|
||||||
|
{
|
||||||
|
return time_delta/60.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setMon(Day* value) {
|
||||||
|
mon = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setTue(Day* value) {
|
||||||
|
tue = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setWed(Day* value) {
|
||||||
|
wed = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setThu(Day* value) {
|
||||||
|
thu = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setFri(Day* value) {
|
||||||
|
fri = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setWeekNumber(int value) {
|
||||||
|
week_number = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Week::setTimeDelta(int value)
|
||||||
|
{
|
||||||
|
time_delta = value;
|
||||||
|
}
|
||||||
54
sources/models/week.h
Normal file
54
sources/models/week.h
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
#ifndef WEEK_H
|
||||||
|
#define WEEK_H
|
||||||
|
|
||||||
|
#define MONDAY "monday"
|
||||||
|
#define TUESDAY "tuesday"
|
||||||
|
#define WEDNESDAY "wednesday"
|
||||||
|
#define THURDAY "thurday"
|
||||||
|
#define FRIDAY "friday"
|
||||||
|
#define TIME_DELTA "timeDelta"
|
||||||
|
#define WEEK_NUMBER "weekNumber"
|
||||||
|
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include "day.h"
|
||||||
|
|
||||||
|
class Week
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Week();
|
||||||
|
Week(Week*);
|
||||||
|
~Week();
|
||||||
|
double total();
|
||||||
|
|
||||||
|
void setMon(Day*);
|
||||||
|
void setTue(Day*);
|
||||||
|
void setWed(Day*);
|
||||||
|
void setThu(Day*);
|
||||||
|
void setFri(Day*);
|
||||||
|
void setWeekNumber(int);
|
||||||
|
void setTimeDelta(int);
|
||||||
|
|
||||||
|
Day* getMon();
|
||||||
|
Day* getTue();
|
||||||
|
Day* getWed();
|
||||||
|
Day* getThu();
|
||||||
|
Day* getFri();
|
||||||
|
void update(Week *);
|
||||||
|
int getWeekNumber();
|
||||||
|
int getTimeDelta();
|
||||||
|
float getTimeDeltaInHours();
|
||||||
|
|
||||||
|
static Week* from_json(QJsonObject);
|
||||||
|
QJsonObject to_json();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Day* mon;
|
||||||
|
Day* tue;
|
||||||
|
Day* wed;
|
||||||
|
Day* thu;
|
||||||
|
Day* fri;
|
||||||
|
int time_delta;
|
||||||
|
int week_number;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // WEEK_H
|
||||||
77
sources/models/year.cpp
Normal file
77
sources/models/year.cpp
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
#include "year.h"
|
||||||
|
|
||||||
|
Year::Year()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Year::Year(Year *old)
|
||||||
|
{
|
||||||
|
this->number = old->number;
|
||||||
|
foreach (int weekNumber, old->weeks.keys()) {
|
||||||
|
weeks[weekNumber] = new Week(old->weeks[weekNumber]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Year::~Year()
|
||||||
|
{
|
||||||
|
foreach (Week *w, weeks) {
|
||||||
|
delete w;
|
||||||
|
}
|
||||||
|
weeks.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
Year::Year(int number)
|
||||||
|
{
|
||||||
|
this->number = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
Year* Year::from_json(QJsonObject obj)
|
||||||
|
{
|
||||||
|
Year *result = new Year();
|
||||||
|
result->number = obj[KEY_NUMBER].toInt();
|
||||||
|
QJsonArray arr = obj[KEY_WEEKS].toArray();
|
||||||
|
foreach (QJsonValue val, arr) {
|
||||||
|
Week* w = Week::from_json(val.toObject());
|
||||||
|
result->weeks[w->getWeekNumber()] = w;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
QJsonObject Year::to_json()
|
||||||
|
{
|
||||||
|
QJsonObject obj;
|
||||||
|
QJsonArray arr;
|
||||||
|
foreach (Week *w, weeks) {
|
||||||
|
arr.append(w->to_json());
|
||||||
|
}
|
||||||
|
obj[KEY_NUMBER] = number;
|
||||||
|
obj[KEY_WEEKS] = arr;
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
Week *Year::getWeek(int weekNumber)
|
||||||
|
{
|
||||||
|
return weeks[weekNumber];
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Year::hasWeek(int weekNumber)
|
||||||
|
{
|
||||||
|
return weeks.contains(weekNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
QMapIterator<int, Week *> Year::iterator()
|
||||||
|
{
|
||||||
|
QMapIterator i(weeks);
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
|
||||||
|
int Year::getNumber()
|
||||||
|
{
|
||||||
|
return number;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Year::addWeek(Week* w)
|
||||||
|
{
|
||||||
|
weeks[w->getWeekNumber()] = w;
|
||||||
|
}
|
||||||
37
sources/models/year.h
Normal file
37
sources/models/year.h
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
#ifndef YEAR_H
|
||||||
|
#define YEAR_H
|
||||||
|
|
||||||
|
#define KEY_NUMBER "number"
|
||||||
|
#define KEY_WEEKS "weeks"
|
||||||
|
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QJsonArray>
|
||||||
|
#include <QMouseEvent>
|
||||||
|
#include <QMapIterator>
|
||||||
|
|
||||||
|
#include "week.h"
|
||||||
|
|
||||||
|
class Year
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
int number;
|
||||||
|
QMap<int, Week*> weeks;
|
||||||
|
|
||||||
|
public:
|
||||||
|
Year();
|
||||||
|
Year(Year*);
|
||||||
|
~Year();
|
||||||
|
Year(int number);
|
||||||
|
|
||||||
|
static Year* from_json(QJsonObject);
|
||||||
|
QJsonObject to_json();
|
||||||
|
|
||||||
|
Week *getWeek(int);
|
||||||
|
bool hasWeek(int);
|
||||||
|
QMapIterator<int, Week*> iterator();
|
||||||
|
int getNumber();
|
||||||
|
|
||||||
|
void addWeek(Week* w);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // YEAR_H
|
||||||
@@ -1,37 +1,93 @@
|
|||||||
#include "setdaydialog.h"
|
#include "setdaydialog.h"
|
||||||
#include "ui_setdaydialog.h"
|
#include "ui_setdaydialog.h"
|
||||||
|
|
||||||
SetDayDialog::SetDayDialog(Day d, QWidget *parent) :
|
SetDayDialog::SetDayDialog(Day *d, bool isNotValidable, QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::SetDayDialog)
|
ui(new Ui::SetDayDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
copy = new Day(d);
|
||||||
|
ui->validateButton->setEnabled(!isNotValidable);
|
||||||
|
ui->validateButton->setVisible(!isNotValidable);
|
||||||
this->d = d;
|
this->d = d;
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
SetDayDialog::~SetDayDialog()
|
SetDayDialog::~SetDayDialog()
|
||||||
{
|
{
|
||||||
|
delete copy;
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDayDialog::init() {
|
void SetDayDialog::init() {
|
||||||
ui->start_edit->setTime(d.get_start());
|
ui->start_edit->setTime(copy->get_start());
|
||||||
ui->end_edit->setTime(d.get_end());
|
ui->end_edit->setTime(copy->get_end());
|
||||||
ui->break_edit->setValue(d.get_time_break());
|
updateBreakList();
|
||||||
connect(ui->start_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
connect(ui->start_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
||||||
connect(ui->end_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
connect(ui->end_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
||||||
connect(ui->break_edit, static_cast<void (QDoubleSpinBox::*)(double)>(&QDoubleSpinBox::valueChanged), this, &SetDayDialog::compute_time);
|
connect(ui->validateButton, &QPushButton::clicked, this, &SetDayDialog::validate_and_accept);
|
||||||
ui->total_label->setText(Tools::double_to_string_time(d.get_total()));
|
connect(ui->pushButton, &QPushButton::clicked, this, &SetDayDialog::accept);
|
||||||
|
connect(ui->addBreakButton, &QPushButton::clicked, this, &SetDayDialog::add_break_point);
|
||||||
|
connect(ui->removeBreakButton, &QPushButton::clicked, this, &SetDayDialog::remove_break_point);
|
||||||
|
connect(ui->breakList, &QListWidget::currentRowChanged, this, &SetDayDialog::break_selected);
|
||||||
|
ui->total_label->setText(Tools::double_to_string_time(d->get_total()));
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::updateBreakList()
|
||||||
|
{
|
||||||
|
ui->breakList->clear();
|
||||||
|
foreach (BreakPoint *bp, copy->getBreaks()) {
|
||||||
|
ui->breakList->addItem(QString("%1 -> %2").arg(bp->getStart().toString("hh:mm"), bp->getEnd().toString("hh:mm")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDayDialog::compute_time() {
|
void SetDayDialog::compute_time() {
|
||||||
d.set_start(ui->start_edit->time());
|
copy->set_validate(false);
|
||||||
d.set_end(ui->end_edit->time());
|
copy->set_start(ui->start_edit->time());
|
||||||
d.set_time_break(ui->break_edit->value());
|
copy->set_end(ui->end_edit->time());
|
||||||
ui->total_label->setText(Tools::double_to_string_time(d.get_total()));
|
ui->total_label->setText(Tools::double_to_string_time(copy->get_total()));
|
||||||
}
|
}
|
||||||
|
|
||||||
Day SetDayDialog::get_result() {
|
void SetDayDialog::accept()
|
||||||
return d;
|
{
|
||||||
|
d->update(copy);
|
||||||
|
QDialog::accept();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::validate_and_accept() {
|
||||||
|
d->set_validate(true);
|
||||||
|
accept();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::add_break_point()
|
||||||
|
{
|
||||||
|
BreakDialog bd(this);
|
||||||
|
int result = bd.exec();
|
||||||
|
if (result == QDialog::Accepted) {
|
||||||
|
BreakPoint bp = bd.get_result();
|
||||||
|
auto breaks = copy->getBreaks();
|
||||||
|
breaks.append(new BreakPoint(bp));
|
||||||
|
copy->setBreaks(breaks);
|
||||||
|
updateBreakList();
|
||||||
|
compute_time();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::remove_break_point()
|
||||||
|
{
|
||||||
|
int i = ui->breakList->currentRow();
|
||||||
|
if (i > -1) {
|
||||||
|
auto breaks = copy->getBreaks();
|
||||||
|
BreakPoint *bp = breaks.at(i);
|
||||||
|
breaks.removeAt(i);
|
||||||
|
delete bp;
|
||||||
|
copy->setBreaks(breaks);
|
||||||
|
updateBreakList();
|
||||||
|
compute_time();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::break_selected(int i)
|
||||||
|
{
|
||||||
|
ui->removeBreakButton->setEnabled(i > -1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,12 @@
|
|||||||
#define SETDAYDIALOG_H
|
#define SETDAYDIALOG_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
#include <QMouseEvent>
|
||||||
|
|
||||||
#include "day.h"
|
#include "models/day.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
#include "breakdialog.h"
|
||||||
|
#include "models/breakpoint.h"
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class SetDayDialog;
|
class SetDayDialog;
|
||||||
@@ -15,20 +18,25 @@ class SetDayDialog : public QDialog
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SetDayDialog(Day d, QWidget *parent = nullptr);
|
explicit SetDayDialog(Day *d, bool isNotValidable, QWidget *parent = nullptr);
|
||||||
~SetDayDialog();
|
~SetDayDialog();
|
||||||
|
|
||||||
Day get_result();
|
private slots:
|
||||||
|
|
||||||
public slots:
|
|
||||||
void compute_time();
|
void compute_time();
|
||||||
|
void validate_and_accept();
|
||||||
|
void accept();
|
||||||
|
void add_break_point();
|
||||||
|
void remove_break_point();
|
||||||
|
void break_selected(int);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::SetDayDialog *ui;
|
Ui::SetDayDialog *ui;
|
||||||
|
|
||||||
Day d;
|
Day *copy;
|
||||||
|
Day *d;
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
|
void updateBreakList();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SETDAYDIALOG_H
|
#endif // SETDAYDIALOG_H
|
||||||
|
|||||||
@@ -2,13 +2,12 @@
|
|||||||
|
|
||||||
QString Tools::double_to_string_time(double value) {
|
QString Tools::double_to_string_time(double value) {
|
||||||
const int h = floor(value);
|
const int h = floor(value);
|
||||||
value -= h;
|
value = round((value - h) * 60);
|
||||||
value = value * 60;
|
|
||||||
if (value == 0.0) {
|
if (value == 0.0) {
|
||||||
return QString("%1h").arg(QString::number(h));
|
return QString("%1h").arg(QString::number(h));
|
||||||
} else if (value < 10.0) {
|
} else if (value < 10.0) {
|
||||||
return QString("%1h0%2").arg(QString::number(h), QString::number(round(value)));
|
return QString("%1h0%2").arg(QString::number(h), QString::number(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
return QString("%1h%2").arg(QString::number(h), QString::number(round(value)));
|
return QString("%1h%2").arg(QString::number(h), QString::number(value));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,86 +0,0 @@
|
|||||||
#include "week.h"
|
|
||||||
|
|
||||||
Week::Week()
|
|
||||||
{
|
|
||||||
mon = Day();
|
|
||||||
tue = Day();
|
|
||||||
wed = Day();
|
|
||||||
thu = Day();
|
|
||||||
fri = Day();
|
|
||||||
week_number = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
Week Week::from_json(QJsonObject obj) {
|
|
||||||
Week w;
|
|
||||||
w.mon = Day::from_json(obj[MONDAY].toObject());
|
|
||||||
w.tue = Day::from_json(obj[TUESDAY].toObject());
|
|
||||||
w.wed = Day::from_json(obj[WEDNESDAY].toObject());
|
|
||||||
w.thu = Day::from_json(obj[THURDAY].toObject());
|
|
||||||
w.fri = Day::from_json(obj[FRIDAY].toObject());
|
|
||||||
w.week_number = obj[WEEK_NUMBER].toInt();
|
|
||||||
return w;
|
|
||||||
}
|
|
||||||
|
|
||||||
QJsonObject Week::to_json() {
|
|
||||||
QJsonObject obj {
|
|
||||||
{MONDAY, mon.to_json()},
|
|
||||||
{TUESDAY, tue.to_json()},
|
|
||||||
{WEDNESDAY, wed.to_json()},
|
|
||||||
{THURDAY, thu.to_json()},
|
|
||||||
{FRIDAY, fri.to_json()},
|
|
||||||
{WEEK_NUMBER, week_number}
|
|
||||||
};
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
double Week::total() {
|
|
||||||
return mon.get_total() + tue.get_total() + wed.get_total() + thu.get_total() + fri.get_total();
|
|
||||||
}
|
|
||||||
|
|
||||||
Day Week::getMon() {
|
|
||||||
return mon;
|
|
||||||
}
|
|
||||||
|
|
||||||
Day Week::getTue() {
|
|
||||||
return tue;
|
|
||||||
}
|
|
||||||
|
|
||||||
Day Week::getWed() {
|
|
||||||
return wed;
|
|
||||||
}
|
|
||||||
|
|
||||||
Day Week::getThu() {
|
|
||||||
return thu;
|
|
||||||
}
|
|
||||||
|
|
||||||
Day Week::getFri() {
|
|
||||||
return fri;
|
|
||||||
}
|
|
||||||
|
|
||||||
int Week::getWeekNumber() {
|
|
||||||
return week_number;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Week::setMon(Day value) {
|
|
||||||
mon = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Week::setTue(Day value) {
|
|
||||||
tue = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Week::setWed(Day value) {
|
|
||||||
wed = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Week::setThu(Day value) {
|
|
||||||
thu = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Week::setFri(Day value) {
|
|
||||||
fri = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Week::setWeekNumber(int value) {
|
|
||||||
week_number = value;
|
|
||||||
}
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
#ifndef WEEK_H
|
|
||||||
#define WEEK_H
|
|
||||||
|
|
||||||
#define MONDAY "monday"
|
|
||||||
#define TUESDAY "tuesday"
|
|
||||||
#define WEDNESDAY "wednesday"
|
|
||||||
#define THURDAY "thurday"
|
|
||||||
#define FRIDAY "friday"
|
|
||||||
#define WEEK_NUMBER "weekNumber"
|
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include "day.h"
|
|
||||||
|
|
||||||
class Week
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
Week();
|
|
||||||
double total();
|
|
||||||
|
|
||||||
void setMon(Day);
|
|
||||||
void setTue(Day);
|
|
||||||
void setWed(Day);
|
|
||||||
void setThu(Day);
|
|
||||||
void setFri(Day);
|
|
||||||
void setWeekNumber(int);
|
|
||||||
|
|
||||||
Day getMon();
|
|
||||||
Day getTue();
|
|
||||||
Day getWed();
|
|
||||||
Day getThu();
|
|
||||||
Day getFri();
|
|
||||||
int getWeekNumber();
|
|
||||||
|
|
||||||
static Week from_json(QJsonObject);
|
|
||||||
QJsonObject to_json();
|
|
||||||
|
|
||||||
private:
|
|
||||||
Day mon;
|
|
||||||
Day tue;
|
|
||||||
Day wed;
|
|
||||||
Day thu;
|
|
||||||
Day fri;
|
|
||||||
int week_number;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // WEEK_H
|
|
||||||
27
sources/weekoption.cpp
Normal file
27
sources/weekoption.cpp
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#include "weekoption.h"
|
||||||
|
#include "ui_weekoption.h"
|
||||||
|
|
||||||
|
WeekOption::WeekOption(Week *w, QWidget *parent) :
|
||||||
|
QDialog(parent),
|
||||||
|
ui(new Ui::WeekOption)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
this->time_delta = w->getTimeDelta();
|
||||||
|
ui->time_delta_spinbox->setValue(time_delta);
|
||||||
|
connect(ui->time_delta_spinbox, &QSpinBox::valueChanged, this, &WeekOption::set_time_delta);
|
||||||
|
}
|
||||||
|
|
||||||
|
WeekOption::~WeekOption()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
|
int WeekOption::get_time_delta()
|
||||||
|
{
|
||||||
|
return this->time_delta;
|
||||||
|
}
|
||||||
|
|
||||||
|
void WeekOption::set_time_delta(int value)
|
||||||
|
{
|
||||||
|
this->time_delta = value;
|
||||||
|
}
|
||||||
30
sources/weekoption.h
Normal file
30
sources/weekoption.h
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#ifndef WEEKOPTION_H
|
||||||
|
#define WEEKOPTION_H
|
||||||
|
|
||||||
|
#include <QDialog>
|
||||||
|
|
||||||
|
#include "models/week.h"
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class WeekOption;
|
||||||
|
}
|
||||||
|
|
||||||
|
class WeekOption : public QDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit WeekOption(Week *w, QWidget *parent = nullptr);
|
||||||
|
~WeekOption();
|
||||||
|
int get_time_delta();
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void set_time_delta(int);
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::WeekOption *ui;
|
||||||
|
|
||||||
|
int time_delta;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // WEEKOPTION_H
|
||||||
143
sources/weekoption.ui
Normal file
143
sources/weekoption.ui
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>WeekOption</class>
|
||||||
|
<widget class="QDialog" name="WeekOption">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>372</width>
|
||||||
|
<height>159</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>372</width>
|
||||||
|
<height>159</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>372</width>
|
||||||
|
<height>159</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Options</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QSpinBox" name="time_delta_spinbox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>280</x>
|
||||||
|
<y>40</y>
|
||||||
|
<width>81</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="suffix">
|
||||||
|
<string> min</string>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>-1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>18</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Réalignement</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>44</y>
|
||||||
|
<width>131</width>
|
||||||
|
<height>18</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Delta (en minutes)</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="validate_button">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>270</x>
|
||||||
|
<y>120</y>
|
||||||
|
<width>88</width>
|
||||||
|
<height>26</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Valider</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="line">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>142</x>
|
||||||
|
<y>55</y>
|
||||||
|
<width>131</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="lineWidth">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="midLineWidth">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="line_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>120</x>
|
||||||
|
<y>16</y>
|
||||||
|
<width>241</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>validate_button</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>WeekOption</receiver>
|
||||||
|
<slot>accept()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>313</x>
|
||||||
|
<y>132</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>185</x>
|
||||||
|
<y>79</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
</ui>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "welcome.h"
|
#include "welcome.h"
|
||||||
#include "ui_welcome.h"
|
#include "ui_welcome.h"
|
||||||
|
|
||||||
Welcome::Welcome(Week wtemplate, QWidget *parent) :
|
Welcome::Welcome(Week *wtemplate, QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::Welcome)
|
ui(new Ui::Welcome)
|
||||||
{
|
{
|
||||||
@@ -34,43 +34,39 @@ Week Welcome::get_result() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Welcome::set_value_to_widget() {
|
void Welcome::set_value_to_widget() {
|
||||||
ui->mon_time_label->setText(Tools::double_to_string_time(w.getMon().get_total()));
|
ui->mon_time_label->setText(Tools::double_to_string_time(w->getMon()->get_total()));
|
||||||
ui->tue_time_label->setText(Tools::double_to_string_time(w.getTue().get_total()));
|
ui->tue_time_label->setText(Tools::double_to_string_time(w->getTue()->get_total()));
|
||||||
ui->wed_time_label->setText(Tools::double_to_string_time(w.getWed().get_total()));
|
ui->wed_time_label->setText(Tools::double_to_string_time(w->getWed()->get_total()));
|
||||||
ui->thu_time_label->setText(Tools::double_to_string_time(w.getThu().get_total()));
|
ui->thu_time_label->setText(Tools::double_to_string_time(w->getThu()->get_total()));
|
||||||
ui->fri_time_label->setText(Tools::double_to_string_time(w.getFri().get_total()));
|
ui->fri_time_label->setText(Tools::double_to_string_time(w->getFri()->get_total()));
|
||||||
ui->total->setText(Tools::double_to_string_time(w.total()));
|
ui->total->setText(Tools::double_to_string_time(w->total()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Welcome::edit() {
|
void Welcome::edit() {
|
||||||
QString name = QObject::sender()->objectName();
|
QString name = QObject::sender()->objectName();
|
||||||
switch (get_identifier(name)) {
|
switch (get_identifier(name)) {
|
||||||
case mon:
|
case mon:
|
||||||
w.setMon(modify_value(w.getMon()));
|
modify_value(w->getMon());
|
||||||
break;
|
break;
|
||||||
case tue:
|
case tue:
|
||||||
w.setTue(modify_value(w.getTue()));
|
modify_value(w->getTue());
|
||||||
break;
|
break;
|
||||||
case wed:
|
case wed:
|
||||||
w.setWed(modify_value(w.getWed()));
|
modify_value(w->getWed());
|
||||||
break;
|
break;
|
||||||
case thu:
|
case thu:
|
||||||
w.setThu(modify_value(w.getThu()));
|
modify_value(w->getThu());
|
||||||
break;
|
break;
|
||||||
case fri:
|
case fri:
|
||||||
w.setFri(modify_value(w.getFri()));
|
modify_value(w->getFri());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
set_value_to_widget();
|
set_value_to_widget();
|
||||||
}
|
}
|
||||||
|
|
||||||
Day Welcome::modify_value(Day d) {
|
void Welcome::modify_value(Day *d) {
|
||||||
SetDayDialog sdd(d, this);
|
SetDayDialog sdd(d, true, this);
|
||||||
int result = sdd.exec();
|
sdd.exec();
|
||||||
if (result == QDialog::Accepted) {
|
|
||||||
return sdd.get_result();
|
|
||||||
}
|
|
||||||
return d;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Identifier Welcome::get_identifier(QString objectName) {
|
Identifier Welcome::get_identifier(QString objectName) {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QDoubleSpinBox>
|
#include <QDoubleSpinBox>
|
||||||
|
#include <QMouseEvent>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "week.h"
|
#include "models/week.h"
|
||||||
#include "day.h"
|
#include "models/day.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
#include "setdaydialog.h"
|
#include "setdaydialog.h"
|
||||||
|
|
||||||
@@ -27,7 +28,7 @@ class Welcome : public QDialog
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Welcome(Week tpl, QWidget *parent = nullptr);
|
explicit Welcome(Week *tpl, QWidget *parent = nullptr);
|
||||||
~Welcome();
|
~Welcome();
|
||||||
|
|
||||||
Week get_result();
|
Week get_result();
|
||||||
@@ -35,13 +36,13 @@ public:
|
|||||||
private:
|
private:
|
||||||
Ui::Welcome *ui;
|
Ui::Welcome *ui;
|
||||||
|
|
||||||
Week w;
|
Week *w;
|
||||||
QMap<QString, Identifier> objectId;
|
QMap<QString, Identifier> objectId;
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
void set_value_to_widget();
|
void set_value_to_widget();
|
||||||
Identifier get_identifier(QString objectName);
|
Identifier get_identifier(QString objectName);
|
||||||
Day modify_value(Day);
|
void modify_value(Day*);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void edit();
|
void edit();
|
||||||
|
|||||||
@@ -52,18 +52,45 @@ QPushButton::default{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #04b97f;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: #1e1d23;
|
background-color: #1e1d23;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QPushButton#closeButton, QPushButton#minimizeButton{
|
||||||
|
color: white;
|
||||||
|
padding: 2px;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
QPushButton#closeButton::default, QFrame#titleBar QPushButton#minimizeButton::default{
|
||||||
|
color: white;
|
||||||
|
padding: 2px;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
QPushButton#closeButton:hover{
|
||||||
|
color: white;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
background-color: #eb4034;
|
||||||
|
}
|
||||||
|
QPushButton#closeButton:pressed{
|
||||||
|
color: white;
|
||||||
|
padding-bottom: 1px;
|
||||||
|
background-color: #b83228;
|
||||||
|
}
|
||||||
|
|
||||||
QToolButton {
|
QToolButton {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #04b97f;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
@@ -75,7 +102,7 @@ QToolButton:hover{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #37efba;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -87,7 +114,7 @@ QPushButton:hover{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #37efba;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -99,10 +126,10 @@ QPushButton:pressed{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #37efba;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #37efba;
|
color: rgba(204, 22, 0, 255);
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
background-color: #1e1d23;
|
background-color: #1e1d23;
|
||||||
}
|
}
|
||||||
@@ -144,7 +171,7 @@ QProgressBar {
|
|||||||
background-color:#1e1d23;
|
background-color:#1e1d23;
|
||||||
}
|
}
|
||||||
QProgressBar::chunk {
|
QProgressBar::chunk {
|
||||||
background-color: #04b97f;
|
background-color: rgba(204, 22, 0, 255);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
QMenuBar {
|
QMenuBar {
|
||||||
@@ -165,7 +192,7 @@ QMenu::item:selected {
|
|||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: #04b97f;
|
border-left-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
border-left-width: 2px;
|
border-left-width: 2px;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -222,7 +249,7 @@ QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #04b97f;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -258,9 +285,9 @@ QCheckBox::indicator:checked {
|
|||||||
width: 10px;
|
width: 10px;
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: #04b97f;
|
background-color: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QCheckBox::indicator:unchecked {
|
QCheckBox::indicator:unchecked {
|
||||||
|
|
||||||
@@ -268,7 +295,7 @@ QCheckBox::indicator:unchecked {
|
|||||||
width: 10px;
|
width: 10px;
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -283,9 +310,9 @@ QRadioButton::indicator:checked {
|
|||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: #04b97f;
|
background-color: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QRadioButton::indicator:!checked {
|
QRadioButton::indicator:!checked {
|
||||||
height: 10px;
|
height: 10px;
|
||||||
@@ -293,7 +320,7 @@ QRadioButton::indicator:!checked {
|
|||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -361,11 +388,11 @@ QScrollArea {
|
|||||||
}
|
}
|
||||||
QSlider::groove:horizontal {
|
QSlider::groove:horizontal {
|
||||||
height: 5px;
|
height: 5px;
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QSlider::groove:vertical {
|
QSlider::groove:vertical {
|
||||||
width: 5px;
|
width: 5px;
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QSlider::handle:horizontal {
|
QSlider::handle:horizontal {
|
||||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
||||||
@@ -388,8 +415,8 @@ QSlider::add-page:vertical {
|
|||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
QSlider::sub-page:horizontal {
|
QSlider::sub-page:horizontal {
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QSlider::sub-page:vertical {
|
QSlider::sub-page:vertical {
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
BIN
ui/.DS_Store
vendored
Normal file
BIN
ui/.DS_Store
vendored
Normal file
Binary file not shown.
240
ui/aboutbox.ui
240
ui/aboutbox.ui
@@ -62,66 +62,151 @@
|
|||||||
<enum>QFrame::Raised</enum>
|
<enum>QFrame::Raised</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QPushButton" name="closeButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>665</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>41</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>X</string>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_left">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>381</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(204, 22, 0, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_right">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>705</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>381</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(217, 0, 112, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_bottom">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>379</y>
|
||||||
|
<width>707</width>
|
||||||
|
<height>2</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>20</x>
|
||||||
|
<y>120</y>
|
||||||
|
<width>671</width>
|
||||||
|
<height>241</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="tab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Information</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QWidget" name="layoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>714</width>
|
||||||
|
<height>211</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>150</y>
|
|
||||||
<width>551</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">font-size: 12px;</string>
|
<string notr="true">font-size: 12px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Author: Alexis Delhaie</string>
|
<string>Author: Aurélie Delhaie</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_2">
|
</item>
|
||||||
<property name="geometry">
|
<item>
|
||||||
<rect>
|
<widget class="QLabel" name="versionLabel">
|
||||||
<x>30</x>
|
|
||||||
<y>190</y>
|
|
||||||
<width>551</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">font-size: 12px;</string>
|
<string notr="true">font-size: 12px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Version: 1.0.0 (Beta 3)</string>
|
<string>Version: ...</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_3">
|
</item>
|
||||||
<property name="geometry">
|
<item>
|
||||||
<rect>
|
<widget class="QLabel" name="systemLabel">
|
||||||
<x>30</x>
|
|
||||||
<y>230</y>
|
|
||||||
<width>541</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">font-size: 12px;</string>
|
<string notr="true">font-size: 12px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p>Made with Qt 5.15.0 MinGW 64bit (C++17) (<a href="https://github.com/alexlegarnd/Chronos"><span style=" text-decoration: underline; color:#0000ff;">Source Github</span></a>)</p></body></html></string>
|
<string><html><head/><body><p>...</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_2">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Third party</string>
|
||||||
|
</attribute>
|
||||||
<widget class="QTextEdit" name="textEdit">
|
<widget class="QTextEdit" name="textEdit">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>390</x>
|
<x>8</x>
|
||||||
<y>160</y>
|
<y>10</y>
|
||||||
<width>301</width>
|
<width>651</width>
|
||||||
<height>181</height>
|
<height>191</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="accessibleDescription">
|
<property name="accessibleDescription">
|
||||||
<string notr="true"/>
|
<string notr="true"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
<property name="undoRedoEnabled">
|
<property name="undoRedoEnabled">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
@@ -132,67 +217,42 @@
|
|||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:7.5pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'.AppleSystemUIFont'; font-size:12px; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Application icon: Alexis Delhaie (me)</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12px;">Qt 6.2.0 : https://www.qt.io/download-open-source</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">About box banner: Alexis Delhaie (me)</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt;">Clock image: iconsdb, Iconic (MIT License)</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Clock image: iconsdb, Iconic (MIT License)</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt;">Running image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Running image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt;">Calendar image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p></body></html></string>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt; text-decoration: underline; color:#0000ff;"><br /></p>
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Calendar image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p></body></html></string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_4">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>393</x>
|
|
||||||
<y>130</y>
|
|
||||||
<width>211</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Third party:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_5">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>270</y>
|
|
||||||
<width>541</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Installer made with Delphi 10.3 Community (<a href="https://github.com/alexlegarnd/chronos-installer"><span style=" text-decoration: underline; color:#0000ff;">Source Github</span></a>)</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_6">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>310</y>
|
|
||||||
<width>541</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Installer Bootstrap made with Python 3 (<a href="https://github.com/alexlegarnd/chronos-installer-bootstrap"><span style=" text-decoration: underline; color:#0000ff;">Source Github</span></a>)</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
|
<zorder>tabWidget</zorder>
|
||||||
|
<zorder>window_border_left</zorder>
|
||||||
|
<zorder>window_border_right</zorder>
|
||||||
|
<zorder>window_border_bottom</zorder>
|
||||||
|
<zorder>frame</zorder>
|
||||||
|
<zorder>closeButton</zorder>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>closeButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>AboutBox</receiver>
|
||||||
|
<slot>close()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>685</x>
|
||||||
|
<y>10</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>353</x>
|
||||||
|
<y>190</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
208
ui/breakdialog.ui
Normal file
208
ui/breakdialog.ui
Normal file
@@ -0,0 +1,208 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>BreakDialog</class>
|
||||||
|
<widget class="QDialog" name="BreakDialog">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>319</width>
|
||||||
|
<height>187</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>319</width>
|
||||||
|
<height>187</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>319</width>
|
||||||
|
<height>187</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Dialog</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QPushButton" name="validateButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>190</x>
|
||||||
|
<y>128</y>
|
||||||
|
<width>113</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Ajouter</string>
|
||||||
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="default">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QTimeEdit" name="startTime">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>180</x>
|
||||||
|
<y>16</y>
|
||||||
|
<width>118</width>
|
||||||
|
<height>31</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="frame">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
<property name="buttonSymbols">
|
||||||
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
||||||
|
</property>
|
||||||
|
<property name="correctionMode">
|
||||||
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QTimeEdit" name="endTime">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>180</x>
|
||||||
|
<y>66</y>
|
||||||
|
<width>118</width>
|
||||||
|
<height>31</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
<property name="buttonSymbols">
|
||||||
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
||||||
|
</property>
|
||||||
|
<property name="correctionMode">
|
||||||
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>31</x>
|
||||||
|
<y>21</y>
|
||||||
|
<width>141</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Début de la pause</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>31</x>
|
||||||
|
<y>70</y>
|
||||||
|
<width>141</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Fin de la pause</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>20</x>
|
||||||
|
<y>127</y>
|
||||||
|
<width>60</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>10</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Temps</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="totalTime">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>22</x>
|
||||||
|
<y>143</y>
|
||||||
|
<width>151</width>
|
||||||
|
<height>31</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>24</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>0 minutes</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="cancelButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>190</x>
|
||||||
|
<y>156</y>
|
||||||
|
<width>113</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Annuler</string>
|
||||||
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>validateButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>BreakDialog</receiver>
|
||||||
|
<slot>accept()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>246</x>
|
||||||
|
<y>160</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>159</x>
|
||||||
|
<y>93</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>cancelButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>BreakDialog</receiver>
|
||||||
|
<slot>reject()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>246</x>
|
||||||
|
<y>166</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>159</x>
|
||||||
|
<y>93</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
</ui>
|
||||||
221
ui/configurationdialog.ui
Normal file
221
ui/configurationdialog.ui
Normal file
@@ -0,0 +1,221 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>ConfigurationDialog</class>
|
||||||
|
<widget class="QDialog" name="ConfigurationDialog">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>269</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>400</width>
|
||||||
|
<height>269</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>400</width>
|
||||||
|
<height>269</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Dialog</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>20</y>
|
||||||
|
<width>141</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Sauvegarde Cloud</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="line">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>140</x>
|
||||||
|
<y>24</y>
|
||||||
|
<width>251</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLineEdit" name="cloud_url">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>164</x>
|
||||||
|
<y>86</y>
|
||||||
|
<width>221</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>13</x>
|
||||||
|
<y>87</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Serveur</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="cloud_enable">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>50</y>
|
||||||
|
<width>371</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Utiliser la sauvegarde en ligne</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLineEdit" name="cloud_Email">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>164</x>
|
||||||
|
<y>118</y>
|
||||||
|
<width>221</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>13</x>
|
||||||
|
<y>119</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Email</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLineEdit" name="cloud_password">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>164</x>
|
||||||
|
<y>150</y>
|
||||||
|
<width>221</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="echoMode">
|
||||||
|
<enum>QLineEdit::Password</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>13</x>
|
||||||
|
<y>151</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Mot de passe</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLineEdit" name="cloud_agent">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>164</x>
|
||||||
|
<y>183</y>
|
||||||
|
<width>171</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="inputMask">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><default></string>
|
||||||
|
</property>
|
||||||
|
<property name="echoMode">
|
||||||
|
<enum>QLineEdit::Normal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_5">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>13</x>
|
||||||
|
<y>184</y>
|
||||||
|
<width>151</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Agent de sauvegarde</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="cloud_agent_btn">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>339</x>
|
||||||
|
<y>178</y>
|
||||||
|
<width>51</width>
|
||||||
|
<height>32</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>...</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="close">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>280</x>
|
||||||
|
<y>230</y>
|
||||||
|
<width>113</width>
|
||||||
|
<height>32</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Fermer</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
545
ui/mainwindow.ui
545
ui/mainwindow.ui
@@ -6,20 +6,20 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1206</width>
|
<width>946</width>
|
||||||
<height>649</height>
|
<height>573</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>1206</width>
|
<width>946</width>
|
||||||
<height>649</height>
|
<height>573</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>1206</width>
|
<width>946</width>
|
||||||
<height>649</height>
|
<height>573</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@@ -41,8 +41,8 @@
|
|||||||
<widget class="Line" name="line">
|
<widget class="Line" name="line">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>192</x>
|
<x>230</x>
|
||||||
<y>19</y>
|
<y>9</y>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>81</height>
|
<height>81</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -54,10 +54,10 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>236</x>
|
<x>249</x>
|
||||||
<y>29</y>
|
<y>19</y>
|
||||||
<width>151</width>
|
<width>155</width>
|
||||||
<height>61</height>
|
<height>62</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<string notr="true">font-size: 14px;</string>
|
<string notr="true">font-size: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Retard</string>
|
<string>Retard (Total)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -116,10 +116,10 @@ color: white;</string>
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>13</x>
|
||||||
<y>29</y>
|
<y>19</y>
|
||||||
<width>161</width>
|
<width>210</width>
|
||||||
<height>61</height>
|
<height>62</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
@@ -156,7 +156,7 @@ color: white;</string>
|
|||||||
<string notr="true">font-size: 14px;</string>
|
<string notr="true">font-size: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Temps total</string>
|
<string>Temps total (Semaine)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -175,92 +175,13 @@ color: white;</string>
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="layoutWidget">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>1022</x>
|
|
||||||
<y>23</y>
|
|
||||||
<width>153</width>
|
|
||||||
<height>61</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="font">
|
|
||||||
<font/>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Date :</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDateEdit" name="dateEdit">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>100</width>
|
|
||||||
<height>32</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>100</width>
|
|
||||||
<height>32</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font/>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">border: 1px solid white</string>
|
|
||||||
</property>
|
|
||||||
<property name="wrapping">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="frame">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="buttonSymbols">
|
|
||||||
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
||||||
</property>
|
|
||||||
<property name="correctionMode">
|
|
||||||
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
|
||||||
</property>
|
|
||||||
<property name="calendarPopup">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_semaine">
|
|
||||||
<property name="font">
|
|
||||||
<font/>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Semaine : 0</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QWidget" name="layoutWidget_2">
|
<widget class="QWidget" name="layoutWidget_2">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>427</x>
|
<x>440</x>
|
||||||
<y>30</y>
|
<y>20</y>
|
||||||
<width>161</width>
|
<width>161</width>
|
||||||
<height>61</height>
|
<height>62</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
@@ -297,7 +218,7 @@ color: white;</string>
|
|||||||
<string notr="true">font-size: 14px;</string>
|
<string notr="true">font-size: 14px;</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Avance</string>
|
<string>Avance (Total)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -319,8 +240,8 @@ color: white;</string>
|
|||||||
<widget class="Line" name="line_2">
|
<widget class="Line" name="line_2">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>378</x>
|
<x>420</x>
|
||||||
<y>20</y>
|
<y>10</y>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>81</height>
|
<height>81</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -332,8 +253,8 @@ color: white;</string>
|
|||||||
<widget class="QPushButton" name="template_settings_button">
|
<widget class="QPushButton" name="template_settings_button">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>930</x>
|
<x>670</x>
|
||||||
<y>600</y>
|
<y>530</y>
|
||||||
<width>261</width>
|
<width>261</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -345,10 +266,10 @@ color: white;</string>
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>44</x>
|
||||||
<y>160</y>
|
<y>120</y>
|
||||||
<width>921</width>
|
<width>861</width>
|
||||||
<height>391</height>
|
<height>388</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
@@ -394,6 +315,61 @@ color: white;</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_21">
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_3">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QFrame" name="mondayValidate">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border-image: url(:/clock/pictures/validate.png) 0 0 0 0 stretch stretch;</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_4">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="line_8">
|
<widget class="Line" name="line_8">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@@ -592,6 +568,61 @@ color: white;</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_5">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QFrame" name="tuesdayValidate">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border-image: url(:/clock/pictures/validate.png) 0 0 0 0 stretch stretch;</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_6">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="line_19">
|
<widget class="Line" name="line_19">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@@ -790,6 +821,61 @@ color: white;</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_7">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QFrame" name="wednesdayValidate">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border-image: url(:/clock/pictures/validate.png) 0 0 0 0 stretch stretch;</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_8">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="line_20">
|
<widget class="Line" name="line_20">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@@ -988,6 +1074,61 @@ color: white;</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_24">
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_9">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QFrame" name="thurdayValidate">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border-image: url(:/clock/pictures/validate.png) 0 0 0 0 stretch stretch;</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_10">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="line_21">
|
<widget class="Line" name="line_21">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@@ -1186,6 +1327,61 @@ color: white;</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_20">
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QFrame" name="fridayValidate">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border-image: url(:/clock/pictures/validate.png) 0 0 0 0 stretch stretch;</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="Line" name="line_22">
|
<widget class="Line" name="line_22">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@@ -1340,22 +1536,22 @@ font-size: 22px;</string>
|
|||||||
<widget class="QPushButton" name="aboutButton">
|
<widget class="QPushButton" name="aboutButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>30</x>
|
||||||
<y>588</y>
|
<y>530</y>
|
||||||
<width>44</width>
|
<width>24</width>
|
||||||
<height>44</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>44</width>
|
<width>24</width>
|
||||||
<height>44</height>
|
<height>24</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>44</width>
|
<width>24</width>
|
||||||
<height>44</height>
|
<height>24</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="autoFillBackground">
|
<property name="autoFillBackground">
|
||||||
@@ -1371,6 +1567,121 @@ font-size: 22px;</string>
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QWidget" name="layoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>800</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>111</width>
|
||||||
|
<height>90</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QDateEdit" name="dateEdit">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>32</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>32</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font/>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="wrapping">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="frame">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="buttonSymbols">
|
||||||
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
||||||
|
</property>
|
||||||
|
<property name="correctionMode">
|
||||||
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
||||||
|
</property>
|
||||||
|
<property name="calendarPopup">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_semaine">
|
||||||
|
<property name="font">
|
||||||
|
<font/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Semaine : 0</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="today_button">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Aujourd'hui</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="line_27">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>100</y>
|
||||||
|
<width>951</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="week_options_button">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>570</x>
|
||||||
|
<y>530</y>
|
||||||
|
<width>91</width>
|
||||||
|
<height>31</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Options</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>line</zorder>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>layoutWidget_2</zorder>
|
||||||
|
<zorder>line_2</zorder>
|
||||||
|
<zorder>template_settings_button</zorder>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>aboutButton</zorder>
|
||||||
|
<zorder>line_27</zorder>
|
||||||
|
<zorder>week_options_button</zorder>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
|||||||
@@ -10,19 +10,19 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>419</width>
|
<width>419</width>
|
||||||
<height>177</height>
|
<height>447</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>419</width>
|
<width>419</width>
|
||||||
<height>177</height>
|
<height>447</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>419</width>
|
<width>419</width>
|
||||||
<height>177</height>
|
<height>447</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@@ -34,22 +34,31 @@
|
|||||||
<widget class="QPushButton" name="pushButton">
|
<widget class="QPushButton" name="pushButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>320</x>
|
<x>200</x>
|
||||||
<y>140</y>
|
<y>373</y>
|
||||||
<width>75</width>
|
<width>201</width>
|
||||||
<height>23</height>
|
<height>23</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Valider</string>
|
<string>Valider</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="default">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QTimeEdit" name="start_edit">
|
<widget class="QTimeEdit" name="start_edit">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>210</x>
|
||||||
<y>49</y>
|
<y>16</y>
|
||||||
<width>91</width>
|
<width>191</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -59,6 +68,9 @@
|
|||||||
<property name="buttonSymbols">
|
<property name="buttonSymbols">
|
||||||
<enum>QAbstractSpinBox::NoButtons</enum>
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="correctionMode">
|
||||||
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
||||||
|
</property>
|
||||||
<property name="time">
|
<property name="time">
|
||||||
<time>
|
<time>
|
||||||
<hour>9</hour>
|
<hour>9</hour>
|
||||||
@@ -70,9 +82,9 @@
|
|||||||
<widget class="QTimeEdit" name="end_edit">
|
<widget class="QTimeEdit" name="end_edit">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>210</x>
|
||||||
<y>49</y>
|
<y>310</y>
|
||||||
<width>91</width>
|
<width>191</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -82,6 +94,9 @@
|
|||||||
<property name="buttonSymbols">
|
<property name="buttonSymbols">
|
||||||
<enum>QAbstractSpinBox::NoButtons</enum>
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="correctionMode">
|
||||||
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
||||||
|
</property>
|
||||||
<property name="time">
|
<property name="time">
|
||||||
<time>
|
<time>
|
||||||
<hour>17</hour>
|
<hour>17</hour>
|
||||||
@@ -90,80 +105,45 @@
|
|||||||
</time>
|
</time>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QDoubleSpinBox" name="break_edit">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>170</x>
|
|
||||||
<y>49</y>
|
|
||||||
<width>91</width>
|
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignCenter</set>
|
|
||||||
</property>
|
|
||||||
<property name="buttonSymbols">
|
|
||||||
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
|
||||||
<double>0.450000000000000</double>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>10</x>
|
||||||
<y>9</y>
|
<y>16</y>
|
||||||
<width>91</width>
|
<width>181</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Arrivé</string>
|
<string>Arrivée au bureau</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>170</x>
|
|
||||||
<y>9</y>
|
|
||||||
<width>91</width>
|
|
||||||
<height>31</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Pause</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignCenter</set>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>10</x>
|
||||||
<y>9</y>
|
<y>310</y>
|
||||||
<width>91</width>
|
<width>181</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Départ</string>
|
<string>Fin de journée</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>18</x>
|
||||||
<y>103</y>
|
<y>372</y>
|
||||||
<width>141</width>
|
<width>156</width>
|
||||||
<height>61</height>
|
<height>62</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
@@ -219,24 +199,122 @@ color: white;</string>
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QPushButton" name="validateButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>200</x>
|
||||||
|
<y>403</y>
|
||||||
|
<width>201</width>
|
||||||
|
<height>23</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Approuver</string>
|
||||||
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>150</y>
|
||||||
|
<width>181</width>
|
||||||
|
<height>31</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Pause</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="addBreakButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>360</x>
|
||||||
|
<y>270</y>
|
||||||
|
<width>41</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>+</string>
|
||||||
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="removeBreakButton">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>320</x>
|
||||||
|
<y>270</y>
|
||||||
|
<width>41</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>-</string>
|
||||||
|
</property>
|
||||||
|
<property name="autoDefault">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="line">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>350</y>
|
||||||
|
<width>421</width>
|
||||||
|
<height>20</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QListWidget" name="breakList">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>210</x>
|
||||||
|
<y>60</y>
|
||||||
|
<width>191</width>
|
||||||
|
<height>201</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">background-color: rgba(0, 0, 0, 0);
|
||||||
|
color: rgb(255, 255, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Panel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Plain</enum>
|
||||||
|
</property>
|
||||||
|
<property name="autoScroll">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="editTriggers">
|
||||||
|
<set>QAbstractItemView::NoEditTriggers</set>
|
||||||
|
</property>
|
||||||
|
<property name="showDropIndicator" stdset="0">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="defaultDropAction">
|
||||||
|
<enum>Qt::IgnoreAction</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections>
|
<connections/>
|
||||||
<connection>
|
|
||||||
<sender>pushButton</sender>
|
|
||||||
<signal>clicked()</signal>
|
|
||||||
<receiver>SetDayDialog</receiver>
|
|
||||||
<slot>accept()</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>357</x>
|
|
||||||
<y>151</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>209</x>
|
|
||||||
<y>88</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
</connections>
|
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
@@ -42,10 +42,10 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>30</x>
|
<x>25</x>
|
||||||
<y>20</y>
|
<y>37</y>
|
||||||
<width>261</width>
|
<width>261</width>
|
||||||
<height>201</height>
|
<height>202</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@@ -304,8 +304,8 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>295</x>
|
||||||
<y>60</y>
|
<y>77</y>
|
||||||
<width>201</width>
|
<width>201</width>
|
||||||
<height>103</height>
|
<height>103</height>
|
||||||
</rect>
|
</rect>
|
||||||
|
|||||||
Reference in New Issue
Block a user