49295 Commits

Author SHA1 Message Date
signedav
5a01074d75 fixes 2018-08-07 14:32:47 +02:00
Denis Rouzaud
9218c26070 fix SIP test 2018-08-07 14:32:47 +02:00
Denis Rouzaud
048ff3f0c8 add missing sip file 2018-08-07 14:32:47 +02:00
Matthias Kuhn
1433de1067 Add missing sip bindings 2018-08-07 14:32:46 +02:00
signedav
caa88429d8 spelling 2018-08-07 14:32:46 +02:00
signedav
442c7323f7 sip files and some improvements
like make a list copy before go through for loop and log messages
2018-08-07 14:32:46 +02:00
signedav
e8e48abae2 docstrings etc. 2018-08-07 14:31:17 +02:00
signedav
283b1b46b9 use of smartpointer mTranslator
for better handling if loaded (or in our case existent) or not...
2018-08-07 14:31:17 +02:00
signedav
090db0d86b setProjectTranslator
...in QgsReadWriteContext creation
implementation of projectTranslator where needed

use of DefaultTranslator to have default translation funtion derived from QgsProjectTranslator

beautify code
2018-08-07 14:31:17 +02:00
signedav
fc018daa3f QgsProjectTranslator
implementation of abstract class QgsProjectTranslator
2018-08-07 14:31:17 +02:00
signedav
1bccedd1d1 working translation of project from qm file
Translated objects and tests included:
- [x] layer names
- [x] layer group names
- [x] relation names
- [x] attribute alias (if no alias, then the field translation)
- [x] forms group box titles
- [x] forms sub group box titles

included restructured with QTranslator object.

Updated test-data used for the test.
2018-08-07 14:31:17 +02:00
signedav
628292b974 gui implementation 2018-08-07 14:31:17 +02:00
signedav
2bfe2296e5 tests, project store and other
not yet working all translations
project handling can be improved
project store after translation working
and fix some errors
tests not ready yet
2018-08-07 14:31:17 +02:00
David
778734fd94 translator basics
basics work - translation of layername, relations
fields and aliases have a problem
2018-08-07 14:31:17 +02:00
David
f5a4a42602 generate ts file
with the structure for it - not finished
2018-08-07 14:30:13 +02:00
Nyall Dawson
5e1184a61d More task test debugging, fixes 2018-08-07 20:29:34 +10:00
Nyall Dawson
7b971e25df Fix error in task manager test 2018-08-07 20:29:34 +10:00
Nyall Dawson
7ef0e9e716 Better debugging for task manager tests 2018-08-07 20:29:34 +10:00
Nyall Dawson
c905352bf3 Fix cmake warning 2018-08-07 19:09:12 +10:00
Nyall Dawson
95438cc0f5 Fix parent task progress report calculation when subtask progress changes 2018-08-07 16:37:19 +10:00
Ismail Sunni
cdc9b56f50 Fix build in MacOS, add not Apple for Linux native thing. 2018-08-07 16:02:46 +10:00
Nyall Dawson
53a3425ec3 [layouts] Try to avoid incorrect page margin handling while printing 2018-08-07 13:13:59 +10:00
Nyall Dawson
709973a233 Move recent document handling (windows "jump list" support)
to native library

Allows other platforms to implement platform specific recent
document handling
2018-08-07 10:37:01 +10:00
Nyall Dawson
70ba387254 Fix warning 2018-08-07 09:40:20 +10:00
Nyall Dawson
64586df297 Add API to send native desktop notifications to QgsNative
And use native desktop notifications on Linux (via dbus). Avoids
unnecessary system tray icon creation, which is a pre-requisite
for the Qt desktop notification implemention. This should avoid
annoying notifications on certain Linux desktop environments,
and should also allow us to use prettier Windows notifications
(when implemented!)
2018-08-07 09:40:20 +10:00
Nyall Dawson
282f95c9f7 [processing][grass] Fix bad move/copy paths in grass i.gensig/maxlik algs
Refs #19539
2018-08-07 09:33:00 +10:00
Matthias Kuhn
3fc8e8d61b
Merge pull request #7530 from m-kuhn/implicit-fallthrough
Enable -Wimplicit-fallthrough
2018-08-06 16:43:43 +02:00
Juergen E. Fischer
52ed396c8e dwg import: refine labels 2018-08-06 12:03:55 +02:00
Nyall Dawson
a81555a027 Move windows app icon progress report API to QgsNative 2018-08-06 19:24:28 +10:00
Matthias Kuhn
c60efaf039 Remove double semicolon 2018-08-06 11:09:49 +02:00
Matthias Kuhn
ea70bb4265 Add semicolon to clang::fallthrough define 2018-08-06 11:08:12 +02:00
Matthias Kuhn
ebe382870f Add missing semicolon 2018-08-06 10:34:32 +02:00
Matthias Kuhn
00fbd412d8 Fix clang fallthrough for libdxfrw 2018-08-06 10:22:12 +02:00
Matthias Kuhn
2f829e0253 Add missing break 2018-08-06 10:22:12 +02:00
Matthias Kuhn
0d3dd70365 Add missing breaks 2018-08-06 10:22:12 +02:00
Matthias Kuhn
31533268a7 Fix clang fallthrough 2018-08-06 10:22:12 +02:00
Matthias Kuhn
4809001d59 Enable -Wimplicit-fallthrough 2018-08-06 10:22:12 +02:00
Mathieu Pellerin
51b63e6b46
[vector file writer] use field type to save attribute values
(relying on attribute value type isn't reliable under certain
scenarios, including memory layers created through a processing
python algorithm)
2018-08-06 11:07:56 +07:00
Nyall Dawson
317b310525 [needs-docs] Clicking the memory layer indicator triggers a 'make permenant' action 2018-08-06 13:51:49 +10:00
Nyall Dawson
01876d1571 Make memory layer indicator respond correctly to making a layer permanent 2018-08-06 13:51:49 +10:00
Nyall Dawson
6ecc69ff90 Add dataSourceChanged signal to QgsVectorLayer, add tests 2018-08-06 13:51:49 +10:00
Nyall Dawson
1c33261ef0 Tweak string formatting for consistency with other indicators 2018-08-06 13:51:49 +10:00
Nyall Dawson
93ce435c8a Nice memory layer indicator icon, thanks to @nirvn 2018-08-06 13:51:49 +10:00
Nyall Dawson
a953587915 [FEATURE] Layer tree indicators for memory layers
Shows a memory layer icon in the layer tree for all memory
layers, with a tooltip warning that the contents of the layer
will be lost when closing the project.

Should help avoid data loss by users who don't realise that
certain layers are temporary only.
2018-08-06 13:51:49 +10:00
Nyall Dawson
f3235f7c43 Short connection timeout for symbol selector preview feature fetching
Because we don't really care if we couldn't fulfill this request,
and the request itself is blocking UI.
2018-08-06 13:45:33 +10:00
Nyall Dawson
70277635a2 Refine QgsFeatureRequest timeout api, dox 2018-08-06 13:45:33 +10:00
Nathan Woodrow
d8b20e7441 Update message in wizard and code style batch file 2018-08-06 10:28:45 +10:00
Matthias Kuhn
a7f0f2b34e
Merge pull request #7519 from m-kuhn/nestedConnectionPoolDeadlock
Fix freeze with `get_feature`
2018-08-05 17:03:39 +02:00
Matthias Kuhn
f301a8967b
Fix test 2018-08-05 11:45:01 +02:00
Matthias Kuhn
0a0f84a96f
Make spare connections more explicit 2018-08-05 09:24:47 +02:00