Mathieu Pellerin
bf8570920f
Use qgsfilewidget for the delimited text prodivder source select ( #5920 )
2017-12-20 12:43:30 +07:00
Nyall Dawson
7c8f4c3e12
Fix extensions not automatically added to new filenames in QgsFileWidget
...
Fixes a UX regression introduced by swapping dialogs to use
QgsFileWidget, where on some platforms the extension is not
automatically added for selected file names
2017-12-19 11:37:58 +11:00
nirvn
cddca2f850
[file widget] add a save file mode to allow file creation
2017-12-07 11:26:59 +07:00
Nyall Dawson
e5e37fcafa
[needs-docs] Use a QgsFileWidget for template file selector
...
Rename "Add" button to "Create"
2017-12-07 08:50:01 +10:00
Juergen E. Fischer
a1024905bf
fix windows warnings
2017-11-07 21:44:54 +01:00
Nyall Dawson
5a14a928cd
Fix corrupted text in buttons
2017-10-18 10:25:36 +10:00
Nyall Dawson
8c3939e756
More efficient use of QStrings
...
- use .isEmpty() instead of == QLatin1String( "" ) to check for
empty strings
- use .clear() instead of = QLatin1String( "" ) to empty a string
- remove unnecessary QString initializations
2017-09-28 05:25:51 +10:00
Nyall Dawson
a87d352bd7
Run clang-tidy modernize-use-default-member-init to move member
...
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Nyall Dawson
31c1ae1c6a
Add missing QStringLiterals
2017-09-25 17:12:03 +10:00
Juergen E. Fischer
9464ab75e6
fix translation string
2017-08-29 20:59:23 +02:00
Nyall Dawson
be5d2979b9
Fix some Clazy detaching container warnings
...
(not all are valid, but at worst this flips some more
Q_FOREACH uses to c++11 for loops)
2017-08-29 18:04:29 +10:00
Alessandro Pasotti
b947406155
More robust multiple paths split and utility static method
2017-08-24 08:29:40 +02:00
Alessandro Pasotti
cc4cee8f91
Do not quote when single raster file is selected
2017-08-24 07:39:54 +02:00
Alessandro Pasotti
81c31760db
Small code style changes
2017-08-24 07:28:17 +02:00
Alessandro Pasotti
d1fb2490a7
Allow multiple raster selection from GDAL source select widget
...
Since I'm using QgsFileWidget I also added
multiple files support to that widget and
tests for this new behavior.
2017-08-23 16:17:15 +02:00
Nyall Dawson
b1a6c790cf
Remove QgsFileDropEdit widget and integrate functionality into QgsFileWidget
...
It makes no sense to have two classes covering this use case, with
partial functionality in each. Smash the two together so we can
safely use QgsFileWidget for all use cases in future.
2017-08-06 23:26:46 +10:00
Nyall Dawson
10968aeb25
Improve appearance of QgsFileWidget
...
Fix vertical alignment of widgets so that they are always
in line
2017-08-06 23:26:46 +10:00
Alessandro Pasotti
a55b6f421b
Fix QgsFileWidget remember the folder functionality
2017-08-06 10:51:44 +02:00
Nyall Dawson
f69d1c2065
Convert isolated '...' strings to '…'
...
Ideally we'd replace ALL ... instances to …, but need to
first work out how to avoid the translation burden of this
change
2017-06-05 09:56:58 +10:00
Nyall Dawson
ae59e35dac
Complete daily allocation of Qt5 connect transitions
2017-04-04 09:40:25 +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
e7079eead9
run astyle on src/gui
2017-03-03 09:09:37 +01: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
Nyall Dawson
ef0131dfe3
Optimise destructors (pt 3)
2017-01-02 09:54:33 +10:00
Matthias Kuhn
f4bc53695e
Manage null representation value in QgsApplication::nullRepresentation()
2016-12-20 01:20:08 +01: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
Nyall Dawson
bcb2c736d5
Make sure QgsFileWidget emits fileChanged when value is cleared
...
Fixes external resource widget not updating document display
when link is cleared.
2016-04-05 20:24:36 +10:00
Juergen E. Fischer
fbf4d675ca
de-plenk more
2016-03-25 23:08:32 +01:00
Nyall Dawson
c3a57434d9
Fix clazy 'pass small and trivially-copyable type by value' warnings
2016-02-02 19:47:21 +11:00
Médéric RIBREUX
d6bd8d0c32
External Resource widget multiple fixes (fix Redmine #14178 )
2016-01-27 14:09:04 +01:00
Nyall Dawson
bfad753f37
Fix coverity issues
2016-01-23 10:31:00 +11:00
Denis Rouzaud
c063838f52
rename QgsFilePickerWidget to QgsFileWidget
2016-01-15 10:08:34 +01:00