3001 Commits

Author SHA1 Message Date
Nyall Dawson
26b536b068 Add QgsRubberBand::copyPointsFrom to quickly copy all points from
one rubber band to another
2021-09-01 17:25:45 +10:00
Nyall Dawson
660433d9a9 [api] Add framework for collecting rendered item details during map
renderer operations

This follow a similar pattern as how labeling results could be collected
after a map render job, but generalises the API so that it can be
used for storing details of rendered items of any type.

It's currently used for storing details of rendered annotation items,
so that map tools can retrieve details of annotation items visible
in the canvas in an optimised way.
2021-08-31 11:04:29 +10:00
Julien Cabieces
5c35b1cb82 Add external storage file widget drag'n drop support 2021-08-30 13:50:21 +10:00
Nyall Dawson
204af6f02f Fix a crash when destroying an extent widget while the "draw on canvas"
option is still active
2021-08-26 18:01:57 +10:00
Alessandro Pasotti
a25f798d04
Merge pull request #44710 from elpaso/dd-form-actions
[feature] Drag & Drop designer form actions
2021-08-19 17:23:22 +02:00
Nyall Dawson
06b3b1650a Fix clazy, cppcheck warnings in expression builder widgets 2021-08-17 10:41:30 +10:00
Alessandro Pasotti
6de2f2dcc4 Fix setEnabled 2021-08-16 17:44:26 +02:00
Alessandro Pasotti
cd6cd2f6f3 Tests for form action widget 2021-08-16 15:14:31 +02:00
Julien Cabieces
bbf2429d6b Fix sip incomplete type QgsExternalStorageFileWidget 2021-08-16 09:18:14 +02:00
Julien Cabieces
36813e737d Fix doc 2021-08-16 09:18:14 +02:00
Julien Cabieces
7a7964c767 Fix typo & return string by value not ref 2021-08-16 09:18:14 +02:00
Julien Cabieces
74512ffde9 Separate QgsFileWidget from QgsExternalStorageFileWidget 2021-08-16 09:18:14 +02:00
Julien Cabieces
16c916b723 fix typos and doc 2021-08-16 09:18:14 +02:00
Julien Cabieces
56127039f5 [ExternalStorage] Add widget to configure/edit and visualize external storage 2021-08-16 09:18:12 +02:00
Alessandro Pasotti
889359c3a1 Form DD action widgets initial implementation 2021-08-14 19:06:52 +02:00
uclaros
55c02f6b5b skip sip 2021-08-12 11:42:23 +10:00
uclaros
5f7a067fdf Simplify whitespaces in saved expression labels 2021-08-12 11:42:23 +10:00
Nedjima Belgacem
826c6a7c36
Disble layer rendering to 3D terrain texture for 3D rendered layers (#44367)
* add optional layer rendering to 3D terrain

* remove terrainLayers from Qgs3DMapSettings

* fix tests

* switch to layer terrain rendering when no 3d renderer is set

* fix mesh tests to handle terrain being disabled
2021-08-11 11:38:59 +02:00
Nyall Dawson
550a1d3a52 Factories can specify a path to add their pages to the options tree 2021-07-29 15:48:53 +10:00
Nyall Dawson
0a8f24e895 Show search hits for tables and tree/table headers 2021-07-29 15:48:53 +10:00
Nyall Dawson
b932108acd Working search for items when using options tree views 2021-07-29 15:48:53 +10:00
Nyall Dawson
f22f742a9f Allow options dialog to use a tree structure for tab list instead
of a flat list widget
2021-07-29 15:48:53 +10:00
Nyall Dawson
88ead4ba4d Spelling 2021-07-28 12:39:31 +10:00
Nyall Dawson
8aec877aec Documentation improvements, clazy fixed for QgsFileWidget 2021-07-28 12:39:31 +10:00
Nyall Dawson
5345103ada Fix dox warning 2021-07-27 14:25:24 +10:00
Nyall Dawson
2164a090db [api break] Remove QRegExp argument from QgsNewNameDialog constructor
Replaced with QgsNewNameDialog::setRegularExpression which accepts
a string argument.

QRegExp is deprecated and removed in qt6.
2021-07-27 14:25:24 +10:00
Nyall Dawson
b36bb62605 [browser] Ensure "File Properties" action is always present for
items which represent a file
2021-07-27 11:56:19 +10:00
Nyall Dawson
f5eebaedec Fix build 2021-07-25 15:20:13 +10:00
Nyall Dawson
7f700e35be Split QgsBrowserDockWidget to new QgsBrowserWidget class and QgsBrowserDockWidget
Moves the guts of QgsBrowserDockWidget to a reusable QWidget subclass
"QgsBrowserWidget", so that browser widgets can easily be created
which aren't a dock widget.
2021-07-25 15:20:13 +10:00
Keigo Imai
c34cfeb43b update sip file 2021-07-23 11:30:34 +10:00
Keigo Imai
811a0353a5 Add activeDecorations to iface object
Allow plugins and scripts to export animations with decorations
2021-07-23 11:30:34 +10:00
Alessandro Pasotti
276d1980f8 Address PR comments and add ENUM for widget mode 2021-07-22 10:18:13 +10:00
Alessandro Pasotti
387c403c2f First nail in the coffin of DB Manager
Replace DB Manager legend custom menu action with
C++ implementation for SQL layer
2021-07-22 10:18:13 +10:00
Nyall Dawson
9328953aa7 [layouts] Ensures that 1:1 zoom level on layout designer accounts
for actual screen dpi, and responds correctly when window is dragged
between screens
2021-07-20 11:21:29 +10:00
Alessandro Pasotti
ff54bd5380
Merge pull request #43831 from elpaso/localization-more-fixes
GUI localization tweaks
2021-07-19 10:46:41 +02:00
Nyall Dawson
4bb7f82f2e [sipify] Add check that doxygen //!< command is only used for enum
documentation

sipify can't handle it in other contexts
2021-07-19 16:05:53 +10:00
Matthias Kuhn
071e4b585d
Merge pull request #44132 from m-kuhn/respect_screen_dpi
Allow using physical DPI for map canvas
2021-07-14 08:02:42 +02:00
Matthias Kuhn
598e2bd31f physical dpi is only available after showEvent 2021-07-13 21:15:33 +02:00
Nyall Dawson
61c842165d Commit missed file 2021-07-13 06:39:11 +10:00
Nyall Dawson
5cb167b013 Fix warning 2021-07-13 06:39:11 +10:00
Nyall Dawson
d44412ddb8 Can't monkey patch from core into gui classes 2021-07-13 06:39:11 +10:00
Nyall Dawson
d0beaae3a4 Move QgsSublayersDialog::PromptMode enum to Qgis and rename 2021-07-13 06:39:11 +10:00
Nyall Dawson
d44f31000d Start depreating 2021-07-13 06:39:11 +10:00
Matthias Kuhn
49a9fec864 missing sip file 2021-07-12 22:26:15 +02:00
Matthias Kuhn
a4a100e376 sip_include 2021-07-12 18:32:00 +02:00
Damiano Lombardi
18bd5833bb Moved settingsRespectScreenDPI to new settings registry gui 2021-07-12 15:51:30 +02:00
Alessandro Pasotti
7460e4f777 Doxy 2021-07-06 21:00:55 +02:00
Alessandro Pasotti
f1a5014121 Catch SQL filter dialog connection errors (never seen in the wild) 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
357fa9c4d8 Add progress bar and minor UX changes 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
927669df2b Move target to 3.22 2021-07-06 20:59:58 +02:00