437 Commits

Author SHA1 Message Date
Nyall Dawson
f88ddcb543 Remove startup tips 2017-08-17 15:55:06 +10:00
Matthias Kuhn
55cdc89a11 Merge pull request #5004 from jgrocha/helpviewer
[needs-docs] Refactoring of all help calls, deprecating QgsContextHelp+Helpviewer
2017-08-16 18:30:59 +02: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
Nyall Dawson
4ab4a1fcad Spell check 'mitre' -> 'miter' (i.e. use en-us variation) 2017-08-07 18:08:57 +10:00
Alexandre Neto
5281a3697f More work on titles capitalization 2017-07-28 13:18:15 +01:00
Nyall Dawson
08a9bcba0a Unify scale widgets API
Flip all scale based widgets to use scale denominators instead
of actual scales (ie 100.0 instead of 0.01 for 1:100).

This is done for consistency with the rest of the API, which
predominantly uses scale denominators. It also helps
precision loss as a result of multiple 1.0 / scale conversions
throughout the code.

Refs #15337
2017-06-09 09:11:10 +10:00
Alessandro Pasotti
e43dfa2810 [addlayerbutton] Added option for modeless layer dialog (default false) 2017-06-02 16:57:45 +02:00
Nyall Dawson
94829206d1 Flip 'alpha' to 'opacity' in gui API 2017-05-30 13:33:09 +10:00
Nyall Dawson
df9d9f6748 Invalidate current locator results when locator options are changed 2017-05-17 21:33:48 +10:00
Nyall Dawson
7635b44b50 Make locator settings persistent 2017-05-17 21:33:48 +10:00
Nyall Dawson
ce66393636 Add (non-functional) locator configuration dialog 2017-05-17 21:33:48 +10:00
Nyall Dawson
ac94345331 Rename QgisGui to QgsGuiUtils
Better reflects what this namespace contains, and replaces the
non-standard Qgis prefix with the Qgs standard
2017-05-15 07:33:52 +10:00
Nyall Dawson
50680249ed Merge pull request #4397 from nyalldawson/no_adawaita
Block use of the Adwaita themes if we can avoid them
2017-05-04 07:31:23 +10:00
Alexander Bruy
3cd37be0d6 add placeholder when new help location entry added (fix #16157) 2017-05-01 13:58:22 +03:00
Alexander Bruy
09d126325c add online QGIS User Guide as default help source (fix #16155)
NOTE: to use online QGIS user Guide as help source we still need
some server-side tweaks: redirection to the testing docs for non-LTR
QGIS versions and redirection to english docs for not supported locales
2017-04-27 15:41:15 +03:00
Nyall Dawson
98e25d178c Block use of the Adwaita themes if we can avoid them
The Qt variants of these GTK themes are VERY broken
for apps like QGIS. E.g. oversized controls like
spinbox widgets prevent actually showing any actual CONTENT
in these widgets, leaving a very bad impression of QGIS

Keeping a consistent DE theme is nice and all, but if
it leaves QGIS in an unusable state then it's misguided.

*Blame resides with gnome's obsession with "touch friendly"
tablet style widgets
2017-04-24 10:02:45 +10:00
Nyall Dawson
78685e1a49 Qt5 style connects 2017-03-30 11:11:28 +10:00
myarjunar
856d297985 fix zoom vactor value on percent 2017-03-10 14:20:22 +01:00
myarjunar
18a97a7f04 change zoom factor value to percent 2017-03-10 11:11:12 +01:00
Nyall Dawson
2d807f5405 [FEATURE] Interface for plugins to embed pages in the options dialog
Allows plugins to embed their options into the standard options
dialog, instead of implementing their own config dialog and having
to have extra menu items just for those...
2017-03-07 18:12:44 +10: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
Nyall Dawson
20c07a58e6 Remove support for disabling OTF reprojection
Because
- OTF reprojection is mature and stable
- Should be no cost when not required - transforms are shortcut
when not required
- Reduces code complexity
- Canvas OTF support was being incorrectly used as a flag for
whether measurements should be made in ellipsoidal mode. Instead
the project's ellipsoid setting should be checked for this.
- Should simplify behavior for new users
2017-03-01 07:29:35 +10:00
Nyall Dawson
5312965e61 Rename projection selection widgets and cleanup API
The current names for QgsProjectionSelector and
QgsGenericProjectionSelector are confusing
2017-02-28 09:45:31 +10:00
Denis Rouzaud
7812d4fb17 remove the-prefix from source code
this might result in variables having the same name as some methods
2017-02-21 18:14:58 +01:00
Vincent Mora
77bf999094 Merge pull request #3905 from nextgis/25d_enhancement
[FEATURE] QGIS setting to choose default Z value
2017-02-13 09:11:27 +01:00
Denis Rouzaud
a1369955de allow to search and higlight options 2017-02-11 22:36:20 +01:00
alisovenko
d780ba7593 Merged master fixed conflict. 2017-02-03 18:11:49 +03:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Denis Rouzaud
748be8de71 [spelling] replace behaviour by behavior 2017-01-11 11:35:19 +01:00
alisovenko
18b9242c84 Merged master fixed conflict. 2017-01-11 10:57:03 +03:00
Denis Rouzaud
37ebcdd1cd [spellcheck] allow inwords checks and line skipping
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat

one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Alexander Bruy
1882aea159 improve QSettings handling 2017-01-10 17:55:50 +02:00
Alexander Bruy
981810b2d4 add possibility to configure location of the QGIS help 2017-01-10 17:55:49 +02:00
alisovenko
33955c88ce Merged master fixed conflict. 2017-01-10 14:52:16 +03:00
Nyall Dawson
21ad4ed78b Merge pull request #3940 from nyalldawson/gdal2
Bump minimum GDAL version to 2.0, remove old version #ifdefs
2017-01-10 11:37:17 +10:00
Martin Dobias
6c5956b22b QgsProject: cleanup of read/write method + removal of unused bad layer handler class 2017-01-04 20:29:53 +08:00
Nyall Dawson
b0bc763475 Bump minimum GDAL version to 2.0, remove old version #ifdefs 2017-01-03 15:10:28 +10:00
Nyall Dawson
8ebc73b495 Merge pull request #3914 from nyalldawson/bye_singletons
Remove some singletons by moving instances to QgsApplication
2017-01-02 09:00:58 +10:00
Jürgen Fischer
13990a20c9 Merge pull request #3904 from sikmir/i18n-eo
[i18n] integrate esperanto translation
2017-01-01 12:58:57 +01:00
Nyall Dawson
9021bb479c Remove "//! Destructor" doxygen comments
This documentation doesn't add any value
2016-12-30 13:52:57 +10:00
Harrissou Sant-anna
7911994097 Replace capitalise by capitalize 2016-12-30 00:02:06 +01:00
Alexander Bruy
a920e3a950 improve settings handling 2016-12-29 14:42:00 +02:00
Nyall Dawson
9d4adc1c70 Remove some singletons by moving instances to QgsApplication
- QgsColorSchemeRegistry
- QgsDataItemProviderRegistry
- QgsGPSConnectionRegistry
- QgsMessageLog
- QgsPaintEffectRegistry
- QgsPluginLayerRegistry
- QgsRasterRendererRegistry
- QgsRendererRegistry
- QgsSvgCache
- QgsSymbolLayerRegistry
2016-12-28 16:59:03 +10:00
alisovenko
d2f41ac902 Add default Z value option. Added the ability to create shape with 2.5d geometry. Change add feature tool fo create geometry with default Z value. 2016-12-26 11:19:27 +03:00
Nikolay Korotkiy
37edf76de0 [i18n] integrate esperanto translation 2016-12-26 01:17:42 +03:00
Matthias Kuhn
b07ecfa106 Let QgsApplication manage global custom variables 2016-12-22 20:21:21 +01:00
Matthias Kuhn
f4bc53695e Manage null representation value in QgsApplication::nullRepresentation() 2016-12-20 01:20:08 +01:00
Even Rouault
532eb58d1f [FEATURE] Implement raster auto-stretching when updating canvas
This commit implements the improvements described at:
https://lists.osgeo.org/pipermail/qgis-developer/2016-September/044393.html

The QgsRasterMinMaxWidget now offers a seetting to specify that the statistics
should be computed each time the canvas extent changes.

Other changes:
- the content of the QgsRasterMinMaxWidget is now persistant.
- there is no longer any Load button. The global Apply / OK button of the raster
  properties dialog has this effect.
- the default "limits" for single band raster is now MinMax and not CumulativeCut
- the default "limits" can be configured for single band, multi band single byte and
  multi band multi byte
- "Strech using current extent" honours the "limits" instead of forcing min/max.
2016-12-16 12:36:06 +01:00
Denis Rouzaud
b133b12617 use data rather than indexes to retrieve items 2016-12-08 08:26:20 +01:00