39838 Commits

Author SHA1 Message Date
Nyall Dawson
bacad8cea6 [needs-docs] Show recently used fonts in submenu in font button 2017-07-06 19:56:39 +10:00
Nyall Dawson
e95b65ef48 [needs-docs] Mouse wheeling over font buttons can change font size
With ctrl+mouse wheel changing in smaller size increments
2017-07-06 19:56:39 +10:00
Nyall Dawson
49ad7836d3 Recommend that QgsFontButton is used instead of getFont 2017-07-06 19:56:39 +10:00
Nyall Dawson
43f11f4fa0 Use QgsFontButton everywhere we can 2017-07-06 19:56:39 +10:00
Nyall Dawson
0fd1f8e563 Fix size hint for font button 2017-07-06 19:56:39 +10:00
Nyall Dawson
99855ea35a Add method to use QgsFontButton in cut down mode for QFont settings only
The button can now be used in two different modes. The default behavior
is to include all settings used for configuring
QgsTextFormat/QgsTextRenderer classes. A cut down mode (without settings
for color/buffer/drop shadow/etc) is also available when the resultant
font is to be used only in a QFont object.
2017-07-06 19:56:39 +10:00
Nyall Dawson
5ac9745cad Add methods to convert QFont to/from mime data 2017-07-06 19:56:39 +10:00
Nyall Dawson
0b9fb5d6e1 [needs-docs] New gui widget QgsFontButton
A standard widget for configuring text format properties for use
with QgsTextRenderer/QgsTextFormat.

It's modelled heavily off QgsColorButton, and supports lots of nice
things like dragging formats between buttons, copying and pasting
format settings, dropping colors from color buttons, dragging colors
from font buttons to color buttons, directly setting font size
and opacity/color without having to open a dialog.
2017-07-06 19:56:39 +10:00
Denis Rouzaud
a73131176f reason spelling 2017-07-06 11:29:08 +02:00
Nyall Dawson
ddf5acebe7 Merge pull request #4807 from nyalldawson/layout_item_registry
Create a layout item registry for item types
2017-07-06 19:12:43 +10:00
Denis Rouzaud
f3a6df5c0d obscure spelling 2017-07-06 11:10:04 +02:00
Denis Rouzaud
df209774d4 simplify custom widgets CMakeLists.txt 2017-07-06 10:50:38 +02:00
Nyall Dawson
2745797fcd Use windows path format for project_path/project_folder variables on windows 2017-07-06 14:00:02 +10:00
Juergen E. Fischer
ecae3c9519 Only convert geometries to provider type when provider does strict type checking
(ie. not for shapes; fixes #16593, #16784, #16792, #16770;
followup 87116abd72; forward ported from d19ed1c6)
2017-07-05 19:08:24 +02:00
Denis Rouzaud
5b8e2c2f27 remove QgsVectorLayer::hasGeometryType in favor of QgsMapLayer::isSpatial 2017-07-05 10:18:32 +02:00
Nathan Woodrow
1c273f815d [MSSQL] Fix string length when using nchar, nvarchar, ntext 2017-07-05 14:25:13 +10:00
Nyall Dawson
70d2ae292f Merge pull request #4730 from Zverik/atlas_rotate
Rotate geometry before calculating bounding box in atlas
2017-07-05 05:04:05 +10:00
rldhont
1aad6894be Merge pull request #4811 from rldhont/polygon-asgml-picking
[Geometry] Polygon::asGml: fix outer and add tests
2017-07-04 15:48:03 +02:00
rldhont
fe8522f811 [Geometry] Polygon::asGml: fix outer and add tests 2017-07-04 14:07:59 +02:00
Nyall Dawson
0a8f75576d Merge pull request #4787 from nyalldawson/expand_favourites
Always expand out browser favorites node on startup
2017-07-04 18:37:42 +10:00
Nathan Woodrow
b5360f8dcf [MSSQL] Correctly set geometry type from geometry_columns table 2017-07-04 14:54:19 +10:00
Nyall Dawson
1fc81d6f98 Fix typo (coordiantes) 2017-07-04 14:33:11 +10:00
Nathan Woodrow
62c8998f85 [MSSQL] Fix connection string issue for browser 2017-07-04 12:19:10 +10:00
Nathan Woodrow
502efd1bf5 Auto resize first column in info tool 2017-07-03 20:25:03 +10:00
Nyall Dawson
6307bc490d Merge pull request #4808 from nyalldawson/model_out_layer_names
Fix incorrect layer names used when loading result layers from models
2017-07-03 17:46:21 +10:00
Harrissou Sant-anna
b57cd0deb1 [processing] align the "Iterate over layer" button (#4796) 2017-07-03 14:13:30 +07:00
Harrissou Sant-anna
b811761873 Reorganize point symbol dialogs (#4802) 2017-07-03 14:11:14 +07:00
Nyall Dawson
bdaba00a01 Fix incorrect layer names used when loading result layers from models 2017-07-03 17:08:52 +10:00
Harrissou Sant-anna
ab437cd4de Ok is spelled OK 2017-07-03 08:49:50 +02:00
Harrissou Sant-anna
59e9f79658 ok is spelled OK 2017-07-03 08:49:50 +02:00
Matthias Kuhn
7306c1360e Followup 7683cfac: add license headers 2017-07-03 08:31:17 +02:00
Nyall Dawson
ada01d8671 Fix build warnings 2017-07-03 15:00:00 +10:00
Nyall Dawson
7972092311 Update docs, sip 2017-07-03 14:21:40 +10:00
Nyall Dawson
59d28a3525 Remove useless testqgslayoutitemregistry.cpp file 2017-07-03 14:01:37 +10:00
Nyall Dawson
c228132cbb Layout designers listen out for new item types in registry and
auto create actions for adding new items of the newly registered type

This avoids hard-coding in available item types into layout UI classes,
and allows designers to handle plugin-supplied item types
2017-07-03 13:57:42 +10:00
Nyall Dawson
97e8d9cf9e Emit signal when new layout item types are added to registry 2017-07-03 13:29:23 +10:00
Nyall Dawson
d23abf955a Add registration of item types to QgsLayoutItemRegistry 2017-07-03 13:22:15 +10:00
Nyall Dawson
846f81023b Fix uninitialized member identified by Coverity 2017-07-03 12:23:45 +10:00
Nyall Dawson
a259d9fff1 Fix silly logic error identified by Coverity 2017-07-03 12:22:59 +10:00
Nyall Dawson
bfb4556c36 Fix initial dialog title 2017-07-03 12:22:45 +10:00
Nyall Dawson
4f21afac0f Shell layout designer dialog 2017-07-03 12:14:56 +10:00
Nyall Dawson
4c52db94c6 Merge pull request #4805 from DelazJ/checkbox
Spelling: Replace check box by checkbox
2017-07-03 12:10:22 +10:00
Nyall Dawson
d924b85a0d Merge pull request #4806 from nyalldawson/dependent_params
[modeler] Don't allow removal of model parameters on which other parameters depend
2017-07-03 12:09:46 +10:00
Nyall Dawson
37cc8fc5f1 Don't allow removal of model parameters on which other parameters
depend
2017-07-03 11:02:45 +10:00
Nyall Dawson
921939e4ec Add method to determine whether dependencies exist between model parameters 2017-07-03 10:50:35 +10:00
Nyall Dawson
6483984d0b Add method to retrieve dependent parameters for a parameter 2017-07-03 10:45:15 +10:00
Nyall Dawson
d4f5ecc677 Fix ui build warning 2017-07-03 10:27:03 +10:00
Nyall Dawson
f9f98593e0 Draw links between dependent parameters in graphical modeler
Fix #12907
2017-07-03 10:27:03 +10:00
Nyall Dawson
f4d703bd38 Fix processing modeler joins are drawn doubled
OCD fix: joins are actually being drawn with two lines going
in both directions. This is totally 100% unacceptable, so
this commit fixes it so they are correctly drawn only with one line.
2017-07-03 10:25:40 +10:00
Harrissou Sant-anna
35cbfa0087 Replace check box by checkbox 2017-07-02 23:25:40 +02:00