16 Commits

Author SHA1 Message Date
Denis Rouzaud
6653e77996 Qt 5.2 has QComboBox::currentData() 2016-09-21 10:54:47 +02:00
Nyall Dawson
ce6bd6c973 Move QgsSymbolV2::OutputUnit enum to QgsUnitTypes
And rename to QgsUnitTypes::RenderUnits. This enum is used in
much more contexts than just symbols, so QgsUnitTypes is a
better fit for it.

All methods which previously accepted QgsSymbolV2::OutputUnit
parameters or QgsSymbolV2::OutputUnitList parameters now take
QgsUnitTypes::RenderUnit or QgsUnitTypes::RenderUnitList
parameters respectively.
2016-07-25 15:22:12 +10:00
Nyall Dawson
ccebd83aa4 Standardise format of initializer lists 2016-05-03 09:38:04 +10:00
Nyall Dawson
f3c7ab61e6 Spelling fixes, updates to chkspelling.sh 2016-02-02 19:47:21 +11:00
Duncan Runnacles
3a1d47fef7 Updated decoration items to use QgsUnitSelectionWidget.
Applies to north arrow, copyright and scalebar.

- Changed dialogs to use QgsUnitSelectionWidget.
- Added QgsSymbolV2::OutputUnit enum to decorationitem.
- Updated to use mm, pixel, or percentage units.
2016-01-13 08:27:54 +11:00
Nyall Dawson
e2d9794c2e Add Apply buttons to decoration dialogs 2016-01-06 16:03:52 +11:00
Nyall Dawson
36b0f6567d Cleanup decoration code 2016-01-06 16:03:41 +11:00
Duncan Runnacles
47d93078ba Added placement margin to decoration items and updated dialogs.
- North arrow, scalebar, and copyright label updated to include a
  margin option on placement.
- All qgsdecorationitem type dialogs amended so that all widgets sit
  within a checkable group box for activating/deactivating the item.
2016-01-05 10:40:12 +00:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Nyall Dawson
cecb3d184b Port some more color buttons to QgsColorButtonV2 2014-08-12 13:41:55 +10:00
Matthias Kuhn
661df0e446 Update core components to use the new QgsColorButton implementation 2013-03-21 11:19:43 -06:00
Etienne Tourigny
01813240c5 create QgsDecorationItem class for all decoration items and render in a specific order (grid before others so it's on bottom 2012-06-18 17:10:17 -03:00
Alexander Bruy
27249d88d1 force most core dialogs to remember their state and restore it when
opened (adresses #206)
2012-01-19 18:44:21 +02:00
Juergen E. Fischer
a2a6e78675 more cosmetics 2011-10-22 16:54:18 +00:00
Martin Dobias
d386c6689b Moved scale bar plugin to app 2011-08-21 23:02:40 +02:00