forked from kimmoli/paint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paint.pro
174 lines (159 loc) · 5.41 KB
/
paint.pro
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
#
# Project paint, paint
#
TARGET = harbour-paint
CONFIG += sailfishapp
DEFINES += "APPVERSION=\\\"$${SPECVERSION}\\\""
message($${DEFINES})
#system(lupdate qml -ts $$PWD/i18n/en.ts)
system(lrelease $$PWD/i18n/*.ts)
i18n.path = /usr/share/harbour-paint/i18n
i18n.files = i18n/*.qm
appicons.path = /usr/share/icons/hicolor
appicons.files = appicons/*
INSTALLS += i18n appicons
SOURCES += src/paint.cpp \
src/PainterClass.cpp \
src/helper.cpp \
src/nemoimagemetadata.cpp \
src/BrushModel.cpp \
src/ShaderModel.cpp \
src/ShaderItem.cpp \
src/ShaderParameterModel.cpp \
src/ShaderParameterItem.cpp \
src/highlighter.cpp
HEADERS += \
src/PainterClass.h \
src/IconProvider.h \
src/helper.h \
src/nemoimagemetadata.h \
src/ImageProvider.h \
src/BrushProvider.h \
src/BrushModel.h \
src/ShaderModel.h \
src/ShaderItem.h \
src/ShaderParameterModel.h \
src/ShaderParameterItem.h \
src/highlighter.h
OTHER_FILES += qml/paint.qml \
qml/cover/CoverPage.qml \
qml/pages/Paint.qml \
qml/pages/AboutPage.qml \
rpm/paint.spec \
qml/pages/bgSettingsDialog.qml \
harbour-paint.desktop \
qml/components/Messagebox.qml \
qml/components/Toolbox.qml \
qml/pages/genSettings.qml \
qml/components/Toolbar1.qml \
qml/components/Toolbar2.qml \
qml/icons/icon-m-spray.png \
qml/icons/icon-m-eraser.png \
qml/pages/penSettingsDialog.qml \
qml/icons/icon-m-toolsettings.png \
qml/icons/icon-m-geometrics.png \
qml/components/GeometryPopup.qml \
qml/icons/icon-m-geom-rectangle.png \
qml/icons/icon-m-geom-line.png \
qml/icons/icon-m-geom-circle.png \
qml/icons/icon-m-geom-rectangle-filled.png \
qml/icons/icon-m-geom-circle-filled.png \
qml/pages/eraserSettingsDialog.qml \
qml/pages/spraySettingsDialog.qml \
qml/icons/icon-m-save.png \
qml/components/Toolbar3.qml \
qml/pages/textSettingsDialog.qml \
qml/pages/textEntryDialog.qml \
qml/icons/icon-m-toolsettings.png \
qml/icons/icon-m-texttool.png \
qml/icons/icon-m-textsettings.png \
qml/icons/icon-m-spray.png \
qml/icons/icon-m-save.png \
qml/icons/icon-m-geom-rectangle-filled.png \
qml/icons/icon-m-geom-rectangle.png \
qml/icons/icon-m-geom-line.png \
qml/icons/icon-m-geometrics.png \
qml/icons/icon-m-geom-circle-filled.png \
qml/icons/icon-m-geom-circle.png \
qml/icons/icon-m-erasersettings.png \
qml/icons/icon-m-eraser.png \
qml/icons/icon-m-dimensiontool.png \
qml/pages/dimensionDialog.qml \
qml/components/DimensionPopup.qml \
qml/icons/icon-m-move.png \
qml/icons/icon-m-grid.png \
qml/icons/icon-m-geom-ellipse.png \
qml/icons/icon-m-geom-ellipse-filled.png \
qml/icons/icon-m-geom-fill.png \
qml/components/ColorSelector.qml \
i18n/*.ts \
qml/components/ToolbarButton.qml \
qml/pages/askFilenameDialog.qml \
qml/icons/icon-m-addimage.png \
qml/components/GeometryButton.qml \
qml/icons/icon-m-geom-square-filled.png \
qml/icons/icon-m-geom-square.png \
qml/code/drawinghelpers.js \
qml/components/DimensionCanvas.qml \
qml/components/GridCanvas.qml \
qml/components/PreviewCanvas.qml \
qml/components/DrawingCanvas.qml \
qml/icons/icon-m-geom-etriangle.png \
qml/icons/icon-m-geom-etriangle-filled.png \
qml/icons/icon-m-geom-ritriangle.png \
qml/icons/icon-m-geom-ritriangle-filled.png \
qml/icons/icon-m-geom-polygon.png \
qml/icons/icon-m-geom-polygon-filled.png \
qml/icons/icon-m-geom-polygram.png \
qml/icons/icon-m-geom-polygram-filled.png \
qml/icons/icon-m-geom-arrow-filled.png \
qml/icons/icon-m-geom-arrow.png \
qml/components/LoupeCanvas.qml \
appicons/86x86/apps/harbour-paint.png \
appicons/108x108/apps/harbour-paint.png \
appicons/128x128/apps/harbour-paint.png \
appicons/256x256/apps/harbour-paint.png \
qml/components/Toolbar4.qml \
qml/pages/layersDialog.qml \
qml/icons/icon-m-visible.png \
qml/icons/icon-m-visible-not.png \
qml/components/LayersNameLabel.qml \
qml/brush/g4161.png \
qml/brush/g4197.png \
qml/brush/path4138.png \
qml/brush/path4147.png \
qml/brush/path4185.png \
qml/brush/path4185-9.png \
qml/brush/path4138-1.png \
qml/brush/path4169.png \
qml/brush/rect4171.png \
qml/icons/icon-m-geom-freehand-closed.png \
qml/icons/icon-m-geom-freehand-closed-filled.png \
qml/glsl/invert.frag \
qml/components/Toolbar5.qml \
qml/pages/shaderSettingsDialog.qml \
qml/icons/sample-image.png \
qml/icons/sample-mask.png \
qml/glsl/gray_average.frag \
qml/glsl/gray_lightness.frag \
qml/glsl/gray_luminosity.frag \
qml/glsl/swap_RGB-BRG.frag \
qml/glsl/pixelate.frag \
qml/glsl/sepia.frag \
qml/glsl/edge.frag \
qml/glsl/warhol.frag \
qml/glsl/toon.frag \
qml/glsl/adjust-rgb.frag \
qml/glsl/adjust-gamma.frag \
qml/glsl/emboss.frag \
qml/glsl/contrast.frag \
qml/glsl/blur.frag \
qml/components/ShaderPopup.qml \
qml/glsl/oilpainting.frag \
qml/glsl/colorspace8.frag \
qml/glsl/jolla-glasseffect.frag \
qml/pages/shaderEditor.qml
TRANSLATIONS += i18n/*.ts
RESOURCES +=
DISTFILES += \
qml/components/ClipboardCanvas.qml