3a1a7c635c
* IOT example, circular progress bar: Use a pen instead of a brush That way we don't have to draw two circles, and we can in addition use a conical gradient. * IOT example: Make circular progress bar a QskControl ... and internally use a QskPaintedNode for now. By doing this we already have the API ready (similar to QskProgressBar) and can swap the QskPaintedNode with an arc renderer at a later point in time.
74 lines
1.6 KiB
Prolog
74 lines
1.6 KiB
Prolog
CONFIG += qskexample
|
|
|
|
SOURCES += \
|
|
Box.cpp \
|
|
BoxWithButtons.cpp \
|
|
CircularProgressBar.cpp \
|
|
CircularProgressBarSkinlet.cpp \
|
|
Diagram.cpp \
|
|
DiagramSkinlet.cpp \
|
|
LightIntensity.cpp \
|
|
MainContent.cpp \
|
|
MenuBar.cpp \
|
|
MyDevices.cpp \
|
|
PieChart.cpp \
|
|
PieChartPainted.cpp \
|
|
PieChartSkinlet.cpp \
|
|
RoundedIcon.cpp \
|
|
Skin.cpp \
|
|
TopBar.cpp \
|
|
RoundButton.cpp \
|
|
UsageBox.cpp \
|
|
UsageDiagram.cpp \
|
|
MainWindow.cpp \
|
|
main.cpp \
|
|
|
|
SOURCES += \
|
|
nodes/DiagramDataNode.cpp \
|
|
nodes/DiagramSegmentsNode.cpp
|
|
|
|
HEADERS += \
|
|
Box.h \
|
|
BoxWithButtons.h \
|
|
CircularProgressBar.h \
|
|
CircularProgressBarSkinlet.h \
|
|
Diagram.h \
|
|
DiagramSkinlet.h \
|
|
LightIntensity.h \
|
|
MainContent.h \
|
|
MainWindow.h \
|
|
MenuBar.h \
|
|
MyDevices.h \
|
|
PieChart.h \
|
|
PieChartPainted.h \
|
|
PieChartSkinlet.h \
|
|
RoundedIcon.h \
|
|
Skin.h \
|
|
TopBar.h \
|
|
RoundButton.h \
|
|
UsageBox.h \
|
|
UsageDiagram.h
|
|
|
|
HEADERS += \
|
|
nodes/DiagramDataNode.h \
|
|
nodes/DiagramSegmentsNode.h
|
|
|
|
HEADERS += \
|
|
kirigami/shadowedrectangle.h \
|
|
kirigami/scenegraph/paintedrectangleitem.h \
|
|
kirigami/scenegraph/shadowedborderrectanglematerial.h \
|
|
kirigami/scenegraph/shadowedrectanglematerial.h \
|
|
kirigami/scenegraph/shadowedrectanglenode.h
|
|
|
|
SOURCES += \
|
|
kirigami/shadowedrectangle.cpp \
|
|
kirigami/scenegraph/paintedrectangleitem.cpp \
|
|
kirigami/scenegraph/shadowedborderrectanglematerial.cpp \
|
|
kirigami/scenegraph/shadowedrectanglematerial.cpp \
|
|
kirigami/scenegraph/shadowedrectanglenode.cpp
|
|
|
|
RESOURCES += \
|
|
images.qrc \
|
|
fonts.qrc \
|
|
kirigami/scenegraph/shaders/shaders.qrc
|