summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/stylesheet/CMakeLists.txt
blob: 227eb13b68c96a0fb496d7d3ef11918b92506c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Generated from stylesheet.pro.

#####################################################################
## stylesheet Binary:
#####################################################################

add_qt_executable(stylesheet
    GUI
    OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/stylesheet"
    INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/widgets/stylesheet"
    SOURCES
        main.cpp
        mainwindow.cpp mainwindow.h mainwindow.ui
        stylesheeteditor.cpp stylesheeteditor.h stylesheeteditor.ui
    PUBLIC_LIBRARIES
        Qt::Widgets
    ENABLE_AUTOGEN_TOOLS
        uic
)

# Resources:
add_qt_resource(stylesheet "stylesheet" PREFIX "/" FILES
    images/checkbox_checked.png
    images/checkbox_checked_hover.png
    images/checkbox_checked_pressed.png
    images/checkbox_unchecked.png
    images/checkbox_unchecked_hover.png
    images/checkbox_unchecked_pressed.png
    images/down_arrow.png
    images/down_arrow_disabled.png
    images/frame.png
    images/pagefold.png
    images/pushbutton.png
    images/pushbutton_hover.png
    images/pushbutton_pressed.png
    images/radiobutton_checked.png
    images/radiobutton_checked_hover.png
    images/radiobutton_checked_pressed.png
    images/radiobutton_unchecked.png
    images/radiobutton_unchecked_hover.png
    images/radiobutton_unchecked_pressed.png
    images/sizegrip.png
    images/spindown.png
    images/spindown_hover.png
    images/spindown_off.png
    images/spindown_pressed.png
    images/spinup.png
    images/spinup_hover.png
    images/spinup_off.png
    images/spinup_pressed.png
    images/up_arrow.png
    images/up_arrow_disabled.png
    layouts/default.ui
    layouts/pagefold.ui
    qss/coffee.qss
    qss/default.qss
    qss/pagefold.qss)