Loading...
Searching...
No Matches
Pixmaps.hpp
1#pragma once
2#include <QPixmap>
3
4#include <score_lib_process_export.h>
5
6namespace Process
7{
8// TODO consider to change them into images,
9// since it is a tiny bit more efficient on the raster paint backend
10// TODO reconsider that with RHI in Qt6...
11struct SCORE_LIB_PROCESS_EXPORT Pixmaps
12{
13 static const Pixmaps& instance() noexcept;
14
15 QPixmap show_ui_off;
16 QPixmap show_ui_on;
17
18 QPixmap show_script_off;
19 QPixmap show_script_on;
20
21 QPixmap preset_off;
22 QPixmap preset_on;
23
24 QPixmap record_off;
25 QPixmap record_on;
26
27 QPixmap snapshot_off;
28 QPixmap snapshot_on;
29
30 QPixmap close_off;
31 QPixmap close_on;
32
33 QPixmap nodal_off;
34 QPixmap nodal_on;
35
36 QPixmap timeline_off;
37 QPixmap timeline_on;
38
39 QPixmap unmuted;
40 QPixmap muted;
41
42 QPixmap play;
43 QPixmap stop;
44
45 QPixmap unroll;
46 QPixmap unroll_selected;
47 QPixmap roll;
48 QPixmap roll_selected;
49
50 QPixmap unroll_small;
51 QPixmap roll_small;
52
53 QPixmap add;
54 QPixmap interval_play;
55 QPixmap interval_stop;
56
57 QPixmap metricHandle;
58
59 QPixmap portHandleClosed;
60 QPixmap portHandleOpen;
61
62private:
63 Pixmaps() noexcept;
64 ~Pixmaps();
65
67 void reloadIcons();
69 void reloadSkin();
70
71 int m_loadIndex{-1};
72 double m_dpr{};
73};
74}
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1115
Definition Pixmaps.hpp:12