Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Leander Schulten
Lichtsteuerung
Commits
42bd4e82
Commit
42bd4e82
authored
May 17, 2019
by
Leander Schulten
Browse files
change "programms" folder to "modules"
parent
aecb530a
Changes
53
Hide whitespace changes
Inline
Side-by-side
src/Lichtsteuerung.pro
View file @
42bd4e82
...
...
@@ -42,20 +42,20 @@ SOURCES += \
gui/polygon.cpp \
dmx/programm.cpp \
dmx/programmprototype.cpp \
programm
s/dmxconsumer.cpp \
module
s/dmxconsumer.cpp \
scanner.cpp \
test/testloopprogramm.cpp \
settings.cpp \
test/DriverDummy.cpp \
usermanagment.cpp \
programm
s/modulemanager.cpp \
programm
s/programblock.cpp \
programm
s/compiler.cpp \
module
s/modulemanager.cpp \
module
s/programblock.cpp \
module
s/compiler.cpp \
test/testmodulsystem.cpp \
programm
s/controller.cpp \
programm
s/dmxprogram.cpp \
programm
s/dmxprogramblock.cpp \
programm
s/json_storage.cpp \
module
s/controller.cpp \
module
s/dmxprogram.cpp \
module
s/dmxprogramblock.cpp \
module
s/json_storage.cpp \
codeeditorhelper.cpp \
test/testmodulecontroller.cpp \
test/testprogrammblock.cpp \
...
...
@@ -63,7 +63,7 @@ SOURCES += \
audio/sample.cpp \
test/testsampleclass.cpp \
audio/audiocapturemanager.cpp \
programm
s/boostloopprogramcontextswitcher.cpp \
module
s/boostloopprogramcontextswitcher.cpp \
spotify/spotify.cpp \
spotify/currentplayingobject.cpp \
spotify/trackobject.cpp \
...
...
@@ -101,8 +101,8 @@ HEADERS += \
applicationdata.h \
dmx/namedobject.h \
dmx/dmxchannelfilter.h \
programm
s/controlpoint.hpp \
programm
s/scanner.hpp \
module
s/controlpoint.hpp \
module
s/scanner.hpp \
scanner.h \
usermanagment.h \
gui/channelprogrammeditor.h \
...
...
@@ -123,33 +123,33 @@ HEADERS += \
gui/colorplot.h \
gui/graph.h \
gui/oscillogram.h \
programm
s/types.h \
programm
s/dmxconsumer.h \
programm
s/module.h \
module
s/types.h \
module
s/dmxconsumer.h \
module
s/module.h \
test/testloopprogramm.h \
programm
s/modulemanager.h \
programm
s/programblock.h \
programm
s/property.hpp \
programm
s/filter.hpp \
programm
s/consumer.hpp \
programm
s/compiler.h \
module
s/modulemanager.h \
module
s/programblock.h \
module
s/property.hpp \
module
s/filter.hpp \
module
s/consumer.hpp \
module
s/compiler.h \
test/testmodulsystem.h \
programm
s/controller.h \
programm
s/dmxprogram.h \
programm
s/dmxprogramblock.h \
programm
s/storage.hpp \
programm
s/json_storage.h \
module
s/controller.h \
module
s/dmxprogram.h \
module
s/dmxprogramblock.h \
module
s/storage.hpp \
module
s/json_storage.h \
codeeditorhelper.h \
programm
s/program.hpp \
module
s/program.hpp \
test/testmodulecontroller.h \
test/testprogrammblock.h \
gui/programblockeditor.h \
audio/sample.h \
test/testsampleclass.h \
audio/audiocapturemanager.h \
programm
s/fftoutput.hpp \
programm
s/loopprogram.hpp \
programm
s/boostloopprogramcontextswitcher.h \
module
s/fftoutput.hpp \
module
s/loopprogram.hpp \
module
s/boostloopprogramcontextswitcher.h \
spotify/spotify.h \
spotify/currentplayingobject.h \
spotify/trackobject.h \
...
...
@@ -163,8 +163,8 @@ HEADERS += \
spotify/audioanalysisobject.h \
spotify/userobject.h \
spotify/util.h \
programm
s/spotifyobjetcs.hpp \
programm
s/spotify.hpp \
module
s/spotifyobjetcs.hpp \
module
s/spotify.hpp \
sortedmodelview.h
...
...
src/applicationdata.cpp
View file @
42bd4e82
...
...
@@ -12,8 +12,8 @@
#include
"gui/controlpanel.h"
#include
"gui/mapview.h"
#include
<QCryptographicHash>
#include
"
programm
s/modulemanager.h"
#include
"
programm
s/programblock.h"
#include
"
module
s/modulemanager.h"
#include
"
module
s/programblock.h"
#include
"spotify/spotify.h"
namespace
ApplicationData
{
...
...
src/codeeditorhelper.cpp
View file @
42bd4e82
...
...
@@ -2,7 +2,7 @@
#include
<QTextCursor>
#include
<QtQuick>
#include
"settings.h"
#include
"
programm
s/compiler.h"
#include
"
module
s/compiler.h"
QString
toName
(
Modules
::
Module
::
Type
t
){
switch
(
t
)
{
...
...
src/codeeditorhelper.h
View file @
42bd4e82
...
...
@@ -6,7 +6,7 @@
#include
<QSyntaxHighlighter>
#include
<QTextCharFormat>
#include
<QRegularExpression>
#include
<programm
s/modulemanager.h
>
#include
"module
s/modulemanager.h
"
#include
<QSortFilterProxyModel>
// Highlight code from https://doc.qt.io/qt-5/qtwidgets-richtext-syntaxhighlighter-example.html
...
...
src/dmx/driver.cpp
View file @
42bd4e82
...
...
@@ -6,7 +6,7 @@
#include
"dmxchannelfilter.h"
#include
<QDir>
#include
<cstring>
#include
"
programm
s/dmxconsumer.h"
#include
"
module
s/dmxconsumer.h"
//#define LOG_DRIVER
...
...
@@ -188,6 +188,7 @@ namespace Driver {
if
(
driver
){
driver
->
stop
();
delete
driver
;
driver
=
nullptr
;
}
driver
=
inter
;
return
true
;
...
...
@@ -214,6 +215,7 @@ namespace Driver {
if
(
driver
)
{
driver
->
stop
();
delete
driver
;
driver
=
nullptr
;
}
}
}
...
...
src/gui/controlitemdata.h
View file @
42bd4e82
...
...
@@ -4,7 +4,7 @@
#include
<QObject>
#include
"dmx/programm.h"
#include
"dmx/device.h"
#include
"
programm
s/programblock.h"
#include
"
module
s/programblock.h"
namespace
GUI
{
...
...
src/gui/controlpanel.h
View file @
42bd4e82
...
...
@@ -3,7 +3,7 @@
#include
<QQuickItem>
#include
"dmx/programm.h"
#include
"
programm
s/programblock.h"
#include
"
module
s/programblock.h"
#include
"controlitemdata.h"
namespace
GUI
{
...
...
src/gui/mapview.h
View file @
42bd4e82
...
...
@@ -5,7 +5,7 @@
#include
"gridbackground.h"
#include
<iostream>
#include
"scanner.h"
#include
"
programm
s/modulemanager.h"
#include
"
module
s/modulemanager.h"
namespace
GUI
{
...
...
src/gui/programblockeditor.cpp
View file @
42bd4e82
#include
"programblockeditor.h"
#include
<QQmlEngine>
#include
<QPropertyAnimation>
#include
"
programm
s/property.hpp"
#include
"
module
s/property.hpp"
#include
"errornotifier.h"
QQmlEngine
*
GUI
::
ProgramBlockEditor
::
engine
=
nullptr
;
...
...
src/gui/programblockeditor.h
View file @
42bd4e82
...
...
@@ -2,8 +2,8 @@
#define PROGRAMBLOCKEDITOR_H
#include
<QQuickItem>
#include
"
programm
s/programblock.h"
#include
"
programm
s/modulemanager.h"
#include
"
module
s/programblock.h"
#include
"
module
s/modulemanager.h"
#include
<QStringListModel>
namespace
GUI
{
...
...
src/main.cpp
View file @
42bd4e82
...
...
@@ -34,7 +34,7 @@
#include
"test/testloopprogramm.h"
#include
"test/testmodulsystem.h"
#include
"codeeditorhelper.h"
#include
"
programm
s/programblock.h"
#include
"
module
s/programblock.h"
#include
"gui/programblockeditor.h"
#include
"gui/graph.h"
#include
<QTimer>
...
...
@@ -231,7 +231,7 @@ int main(int argc, char *argv[])
driver
.
setSetValuesCallback
([](
unsigned
char
*
values
,
int
size
,
double
time
){
std
::
memset
(
values
,
0
,
size
);
DMXChannelFilter
::
initValues
(
values
,
size
);
Programm
::
fill
(
values
,
size
,
time
);
DMX
::
Programm
::
fill
(
values
,
size
,
time
);
Modules
::
DMXConsumer
::
fillWithDMXConsumer
(
values
,
size
);
DMXChannelFilter
::
filterValues
(
values
,
size
);
Driver
::
dmxValueModel
.
setValues
(
values
,
size
);
...
...
src/modelmanager.h
View file @
42bd4e82
...
...
@@ -5,7 +5,7 @@
#include
"dmx/device.h"
#include
"dmx/programm.h"
#include
"dmx/programmprototype.h"
#include
"
programm
s/modulemanager.h"
#include
"
module
s/modulemanager.h"
#include
"settings.h"
#include
<QObject>
...
...
src/
programm
s/boostloopprogramcontextswitcher.cpp
→
src/
module
s/boostloopprogramcontextswitcher.cpp
View file @
42bd4e82
File moved
src/
programm
s/boostloopprogramcontextswitcher.h
→
src/
module
s/boostloopprogramcontextswitcher.h
View file @
42bd4e82
File moved
src/
programm
s/compiler.cpp
→
src/
module
s/compiler.cpp
View file @
42bd4e82
File moved
src/
programm
s/compiler.h
→
src/
module
s/compiler.h
View file @
42bd4e82
File moved
src/
programm
s/consumer.hpp
→
src/
module
s/consumer.hpp
View file @
42bd4e82
File moved
src/
programm
s/controller.cpp
→
src/
module
s/controller.cpp
View file @
42bd4e82
File moved
src/
programm
s/controller.h
→
src/
module
s/controller.h
View file @
42bd4e82
File moved
src/
programm
s/controlpoint.hpp
→
src/
module
s/controlpoint.hpp
View file @
42bd4e82
File moved
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment