28 Commits

Author SHA1 Message Date
Nyall Dawson
62268e2b89 Use unique_ptr for owned object, and cleanup include in header
which was causing of cascade of unnecessary includes
2020-05-20 12:40:40 +10:00
Matthias Kuhn
8c18c80ac1
Remove Q_FOREACH in favor of range-based for loops in the gui library 2019-04-07 16:44:03 +02:00
Nyall Dawson
69f45e389c Refactor QgsExpressionContext and move QgsExpressionContextUtils
out to its own header

Avoids slow recompilation caused by changes to the frequently
modified QgsExpressionContextUtils class
2019-02-13 07:59:30 +10:00
Nyall Dawson
ac17d300ca DBL_MAX -> std::numeric_limits 2018-06-17 09:24:37 +10:00
Nyall Dawson
1bf1058210 Followup fcacb0d, fix doxygen tests
Also:
- move doxygen comments to header files so that they get included
in Python docstrings
- remove duplicate doxygen implemented in both header and footer
- remove some redundant doxygen for overridden methods
- add some missing docs
2018-04-03 09:49:00 +10:00
Juergen E. Fischer
fcacb0db7c doxygen fixes 2018-04-02 22:48:40 +02:00
Nyall Dawson
1eea857915 Remove use of deprecated trUtf8 method
This method was deprecated in Qt 5.0 - we need to remove
its use so that we can turn off the remaining Qt4 compatibility
switches.
2018-02-22 09:59:49 +11:00
Nyall Dawson
2d192791c2 qMin/qMax -> std::min/max 2017-08-25 16:37:54 +10:00
Alexandre Neto
5281a3697f More work on titles capitalization 2017-07-28 13:18:15 +01:00
Nyall Dawson
94829206d1 Flip 'alpha' to 'opacity' in gui API 2017-05-30 13:33:09 +10:00
Denis Rouzaud
e7079eead9 run astyle on src/gui 2017-03-03 09:09:37 +01:00
Juergen E. Fischer
c4bc15483e translation string fixes 2017-02-23 10:55:30 +01:00
Nyall Dawson
1688ff5c4e Expand curve editor if enabled 2017-02-22 11:16:54 +10:00
Nyall Dawson
5c42c7636b [FEATURE] Show a histogram for values behind curve editor
in property assistant

Makes it easier to set suitable curves. Populated in the
background for a nice reponsive widget!
2017-02-22 11:16:54 +10:00
Nyall Dawson
cc9b5a47b7 [FEATURE] Interactive curve editing for property overrides
This adds a new interactive "curve" to the assistant widgets.
It allows you to fine tune exactly how input values get
mapped to output sizes/colors/etc.

Think GIMP or Photoshop curves, but for your data...
2017-02-22 11:16:54 +10:00
Nyall Dawson
852b1dfb79 Fix potential crash in color assistant, set a default ramp 2017-02-14 14:24:37 +10:00
Nyall Dawson
3ca0b90a97 Update sip bindings 2017-02-14 13:48:11 +10:00
Nyall Dawson
c78f9405bb Fix doxygen warnings and failing test 2017-02-14 13:48:11 +10:00
Nyall Dawson
c4ec256dc2 Tweaked numeric assistant for rotation properties 2017-02-14 13:48:11 +10:00
Nyall Dawson
a30fe357f1 [FEATURE] Add a generic numeric transform assistant for easy scaling of values 2017-02-14 13:48:11 +10:00
Nyall Dawson
2df37a2313 Some visual tweaks to property assistant widget 2017-02-14 13:48:11 +10:00
Nyall Dawson
7bf97be941 Use a vertical layout for property assistant when in dock mode 2017-02-14 13:48:11 +10:00
Nyall Dawson
76e27818a5 [FEATURE] Interactive color assistant for data defined colors 2017-02-14 13:48:11 +10:00
Nyall Dawson
85677196b2 Show a default symbol in assistant legend preview if none set 2017-02-14 13:48:11 +10:00
Nyall Dawson
a380bda68b Show size assistant for stroke width properties 2017-02-14 13:48:11 +10:00
Nyall Dawson
84dd983b79 Restore legend preview in symbol size assistant 2017-02-14 13:48:11 +10:00
Nyall Dawson
3371003402 Small tweaks to property override button behavior 2017-02-14 13:48:11 +10:00
Nyall Dawson
f70a03116e Add basic shell for widget 2017-02-14 13:48:11 +10:00