1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 18:12:39 +01:00

- app-misc/qlcplus: Initial import.

This commit is contained in:
2015-08-29 16:38:30 +02:00
parent 8b418f12fc
commit 376c97662c
4 changed files with 180 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
diff -dNur a/etc/qlcplus-fixtureeditor.desktop b/etc/qlcplus-fixtureeditor.desktop
--- a/etc/qlcplus-fixtureeditor.desktop 2015-07-07 12:08:51.000000000 +0000
+++ b/etc/qlcplus-fixtureeditor.desktop 2015-08-28 15:47:19.019183076 +0000
@@ -9,4 +9,4 @@
Exec=qlcplus-fixtureeditor --open %f
Icon=qlcplus-fixtureeditor
MimeType=application/x-qlc-fixture;
-Categories=Lighting;Art;Qt;AudioVideo;
+Categories=X-Lighting;X-Art;Qt;AudioVideo;
diff -dNur a/etc/qlcplus.desktop b/etc/qlcplus.desktop
--- a/etc/qlcplus.desktop 2015-07-07 12:08:51.000000000 +0000
+++ b/etc/qlcplus.desktop 2015-08-28 15:47:08.955131286 +0000
@@ -1,12 +1,12 @@
-[Desktop Entry]
-Type=Application
-Name=Q Light Controller Plus
-GenericName=Lighting control
-GenericName[de]=Lichtsteuerung
-GenericName[fi]=Valojen ohjaus
-GenericName[fr]=Controlleur d'éclairages
-GenericName[it]=Controllore di luci
-Exec=qlcplus --open %f
-Icon=qlcplus
-MimeType=application/x-qlc-workspace;
-Categories=Lighting;Art;Qt;AudioVideo;
+[Desktop Entry]
+Type=Application
+Name=Q Light Controller Plus
+GenericName=Lighting control
+GenericName[de]=Lichtsteuerung
+GenericName[fi]=Valojen ohjaus
+GenericName[fr]=Controlleur d'éclairages
+GenericName[it]=Controllore di luci
+Exec=qlcplus --open %f
+Icon=qlcplus
+MimeType=application/x-qlc-workspace;
+Categories=X-Lighting;X-Art;Qt;AudioVideo;

View File

@@ -0,0 +1,50 @@
--- a/main/main.cpp 2015-08-28 12:49:44.462588456 +0000
+++ b/main/main.cpp 2015-08-28 12:53:03.871565232 +0000
@@ -40,7 +40,6 @@
#include "virtualconsole.h"
#include "simpledesk.h"
-#include "webaccess.h"
#include "app.h"
#include "doc.h"
@@ -68,9 +67,6 @@
/** If true, adjusts the main window geometry instead of instructing the windowing system to "maximize" */
bool fullScreenResize = false;
- /** If true, create and run a class to enable a web server for remote controlling */
- bool enableWebAccess = false;
-
/** If true, enable a 5% of overscan when in fullscreen mode (Raspberry Only) */
bool enableOverscan = false;
@@ -254,10 +250,6 @@
{
QLCArgs::operate = true;
}
- else if (arg == "-w" || arg == "--web")
- {
- QLCArgs::enableWebAccess = true;
- }
else if (arg == "-v" || arg == "--version")
{
/* Don't print anything, since version is always
@@ -342,18 +334,5 @@
if (QLCArgs::kioskMode == true && QLCArgs::closeButtonRect.isValid() == true)
app.createKioskCloseButton(QLCArgs::closeButtonRect);
- if (QLCArgs::enableWebAccess == true)
- {
- WebAccess *webAccess = new WebAccess(app.doc(), VirtualConsole::instance(),
- SimpleDesk::instance());
-
- QObject::connect(webAccess, SIGNAL(toggleDocMode()),
- &app, SLOT(slotModeToggle()));
- QObject::connect(webAccess, SIGNAL(loadProject(QString)),
- &app, SLOT(slotLoadDocFromMemory(QString)));
- QObject::connect(webAccess, SIGNAL(storeAutostartProject(QString)),
- &app, SLOT(slotSaveAutostart(QString)));
- }
-
return qapp.exec();
}