24 Commits

Author SHA1 Message Date
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d Valid improvements from new sipify 2024-08-13 20:28:55 +10:00
Julien Cabieces
43062c8833 fix(CMYK): treat review comments 2024-07-11 21:13:42 +10:00
Julien Cabieces
7e527d182b feat(CMYK): add API color model and profile methods to project
API allows to define a color model without a color space. If both are
set, consistency between defined color model and color space one is
checked (only in Qt version 6.8.0 or greater because it's not possible
to retrieve color model from color space before that)
2024-07-11 21:13:42 +10:00
Nyall Dawson
de532a62aa Fix doxygen warning 2024-02-06 21:04:43 +10:00
Nyall Dawson
ac2f1179c8 More item data role enum to enum class conversions 2024-02-06 21:04:43 +10:00
Nyall Dawson
4ebfa34eeb Correctly cleanup project archive files before attempting
to clear/replace archive

Otherwise the temporary archive directory cannot be removed,
resulting in many "QTemporaryDir: Unable to remove" warnings
and leftover temporary directories

Refs #53034
2023-06-09 11:19:33 +10:00
Nyall Dawson
33788b6cb4 Remove more old qt fallbacks 2022-08-12 20:36:07 +10:00
Nyall Dawson
c6beb62216 Add project style database, which contains styles specific to each
individual project.

Project style database is embedded in the .qgz archive file
2022-05-17 16:36:00 +10:00
Nyall Dawson
190bdfbaa2 Don't offer to save new symbols in read only style databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
9fe94822b5 Add path role to model 2022-05-17 16:36:00 +10:00
Nyall Dawson
8462884554 Add model for project style databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
0d3ae97df0 Move QgsProject enums to Qgis, and add new read flag to skip style loading
Ensure that there's no speed regression when loading projects for
server and other special cases
2022-05-17 16:36:00 +10:00
Nyall Dawson
ab9c27a1b6 Allow retrieving matching project style by path 2022-05-17 16:36:00 +10:00
Nyall Dawson
1f63112e6d Allow project style paths to be xml exports of databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
6c3eb1df64 Add combined style model to project 2022-05-17 16:36:00 +10:00
Nyall Dawson
3c0f5e0fd5 add combined model 2022-05-17 16:36:00 +10:00
Nyall Dawson
9124d1acb6 Load project associated style databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
ca458a4e7d Add methods to set style database paths to QgsProjectStyleSettings 2022-05-17 16:36:00 +10:00
Mathieu Pellerin
383b2f9f78 Fix dox 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
366b88cae5 Address review 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
21f99d1234 Fix doxygen check 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
9e0d077d6e Migrate randomize fill color and default opacity settings 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
95b637520b Implement a QgsProjectStyleSettings class 2022-05-09 14:44:28 +10:00