927d2dd51c
* IOT dashboard: Make light dimmer use arc renderer * use shadow * add value text * add warm and cold parts * add knob * handle input * only move knob when drawing along the arc * improve input handling * add tickmarks * add tickmarks node * clean up a bit * Update screenshot of IOT dashboard for github site
72 lines
1.4 KiB
Prolog
72 lines
1.4 KiB
Prolog
CONFIG += qskexample
|
|
|
|
QT += svg
|
|
|
|
SOURCES += \
|
|
Box.cpp \
|
|
BoxWithButtons.cpp \
|
|
CircularProgressBar.cpp \
|
|
CircularProgressBarSkinlet.cpp \
|
|
Diagram.cpp \
|
|
DiagramSkinlet.cpp \
|
|
GraphicProvider.cpp \
|
|
LightDisplaySkinlet.cpp \
|
|
LightDisplay.cpp \
|
|
MainContent.cpp \
|
|
MenuBar.cpp \
|
|
MyDevices.cpp \
|
|
PieChart.cpp \
|
|
PieChartPainted.cpp \
|
|
PieChartSkinlet.cpp \
|
|
RoundedIcon.cpp \
|
|
ShadowedBox.cpp \
|
|
Skin.cpp \
|
|
TopBar.cpp \
|
|
RoundButton.cpp \
|
|
UsageBox.cpp \
|
|
UsageDiagram.cpp \
|
|
MainWindow.cpp \
|
|
main.cpp \
|
|
|
|
SOURCES += \
|
|
nodes/BoxShadowNode.cpp \
|
|
nodes/DiagramDataNode.cpp \
|
|
nodes/DiagramSegmentsNode.cpp \
|
|
nodes/RadialTickmarksNode.cpp
|
|
|
|
HEADERS += \
|
|
Box.h \
|
|
BoxWithButtons.h \
|
|
CircularProgressBar.h \
|
|
CircularProgressBarSkinlet.h \
|
|
Diagram.h \
|
|
DiagramSkinlet.h \
|
|
GraphicProvider.h \
|
|
LightDisplaySkinlet.h \
|
|
LightDisplay.h \
|
|
MainContent.h \
|
|
MainWindow.h \
|
|
MenuBar.h \
|
|
MyDevices.h \
|
|
PieChart.h \
|
|
PieChartPainted.h \
|
|
PieChartSkinlet.h \
|
|
RoundedIcon.h \
|
|
ShadowedBox.h \
|
|
Skin.h \
|
|
TopBar.h \
|
|
RoundButton.h \
|
|
UsageBox.h \
|
|
UsageDiagram.h
|
|
|
|
HEADERS += \
|
|
nodes/BoxShadowNode.h \
|
|
nodes/DiagramDataNode.h \
|
|
nodes/DiagramSegmentsNode.h \
|
|
nodes/RadialTickmarksNode.h
|
|
|
|
RESOURCES += \
|
|
images.qrc \
|
|
fonts.qrc \
|
|
shaders.qrc
|