27 Commits

Author SHA1 Message Date
Nyall Dawson
1429f2c778 Remove autoconnected slots, pt 2 2017-10-09 08:48:23 +10:00
Jorge Gustavo Rocha
fe59a19e17 Change all ocurrences on_buttonBox_helpRequested to showHelp
Add help button to 3 dialogs
Fix missing QStringLiteral
Fix CMakeLists.txt indentation
Fix qhelp.h and qgis_sip.h includes with <>
2017-08-15 23:51:03 +02: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
nirvn
83e8ecec45 [FEATURE] Add outline and color opacity settings for scale bar decoration 2017-05-09 12:21:12 +07:00
Nyall Dawson
943d1a2ca5 More Qt5 style connect conversions 2017-03-28 09:18:59 +10:00
Alessandro Pasotti
1822caa803 QgsSettings: removed leading slashs from keys 2017-03-08 11:11:47 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Denis Rouzaud
dccf8c9e13 run astyle on src/app 2017-03-03 09:09:37 +01:00
Alexander Bruy
57535763d7 use new QgsHelp where possible instead of builtin context help 2017-01-23 10:54:45 +02:00
Nyall Dawson
4166a3ea62 Fix most clazy qstring-unneeded-heap-allocations warnings
By flipping string literals to QStringLiteral/QLatin1String

see

https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
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