386 Commits

Author SHA1 Message Date
Nathan Woodrow
a7700bafe6 Expose dialog created by QgsAttributeDialog to iface 2013-03-08 23:16:53 +10:00
Larry Shaffer
2fe847c9cf Keep composer multi-item selection only when Shift is pressed during click
- Fixes issues where Shift was still registered as pressed when shift click happened outside of view (due to lingering keyboard focus)
2013-03-07 13:19:19 -07:00
Larry Shaffer
4941a0e5dc Add new, duplicate and delete composer to iface
- Works via QgsComposerView, which is already exposed in iface
2013-02-28 16:04:49 -07:00
Larry Shaffer
e60891c28c Add shift-click modifier to QgsCollapsibleGroupBox
- Expands current group box on shift-click, then collapses any others in sync group
2013-02-26 14:10:09 -07:00
Alexander Bruy
6f378682b0 Make "Layer - New" accesible from QgsInterface, update GPS importer
plugin (fix #7202)
2013-02-21 12:42:47 +04:00
Larry Shaffer
f28ca59632 Add binding to iface for action to show composer manager 2013-02-20 13:10:21 -07:00
Larry Shaffer
c8ca3761ff Add collapse toggling synchronization to QgsCollapsibleGroupBoxBasic
- Holding Alt modifier key when toggling collapsed state will synchronize the toggling across other boxes with the same syncGroup QString value
- Synchronizes boxes of same syncGroup via recursive search in parent or grandparent widget (if grandparent is not QgisApp)
2013-02-12 14:43:32 -07:00
Larry Shaffer
f4c5bc8a56 Split QgsCollapsibleGroupBox into basic class and subclass that auto-saves collapsed state
- Split authored by Etienne Tourigny
- Add Q_PROPERTY declarations to make some class properties settable for promoted widget in QtDesigner (by Olivier Dalang)
- Update existing .ui files with dynamic properties (but not saveCheckedState, which should be cautiously used)
- Update sip file so both classes are available
2013-02-11 20:24:54 -07:00
Denis Rouzaud
66696ba197 unifying identify results in a single struct 2013-02-07 11:57:54 +01:00
Denis Rouzaud
24ca94bdae return results directly from the identify method instead of using a private attribute 2013-02-07 11:57:54 +01:00
Radim Blazek
50d4bb6d4d WMS identify feature support - get vector features from GML GetFeatureInfo 2013-02-06 15:14:16 +01:00
Denis Rouzaud
7c26d701cf remove useless funcs from sip 2013-02-05 19:57:42 +10:00
Denis Rouzaud
682524ff54 MapToolIdentify moved to gui to make it accessible in python
put back convertMeasurement in gui as it is not app specific

use display settings for specific app units
2013-02-05 19:57:42 +10:00
Larry Shaffer
1095f98173 Add option to use custom QSettings for QgsCollapsibleGroupBox
- Useful for plugins that may want to store collapsed state in their own QSettings file
2013-02-02 17:16:37 -07:00
Juergen E. Fischer
63cc49be61 fix warnings brought up by clang 2013-02-02 17:06:22 +01:00
Giuseppe Sucameli
9dffa42eea Merge pull request #394 from etiennesky/gdaltools1
GdalTools - use raster format save option and pyramids dialogs
2013-01-28 13:49:30 -08:00
Etienne Tourigny
9bed789f2e implement currentLayer() and setCurrentLayer() in QgsLegendInterface to set/get current layer 2013-01-28 19:14:38 -02:00
Etienne Tourigny
42d637d9a0 allows for plugins to insert actions for layers in TOC, with QgsLegendInterface::addLegendLayerAction() 2013-01-28 19:14:38 -02:00
olivier
85b684c962 Added layerIsExpanded() to QgsLegendInterface 2013-01-26 22:28:19 +01:00
Juergen E. Fischer
2ca956d763 follow up 994dc1cc216: also change level in QgsMessageLogViewer 2013-01-26 20:33:18 +01:00
Martin Dobias
5f304b34a1 Merge remote-tracking branch 'origin/master' into new_vector_api
Conflicts:
	python/core/qgsvectordataprovider.sip
	src/app/legend/qgslegendlayer.cpp
	src/app/qgisapp.cpp
	src/app/qgsmergeattributesdialog.cpp
	src/core/qgsvectordataprovider.cpp
	src/core/qgsvectordataprovider.h
	src/core/qgsvectorlayer.cpp
	src/gui/qgssearchquerybuilder.cpp
	src/providers/postgres/qgspostgresprovider.cpp
	src/providers/wfs/CMakeLists.txt
2013-01-23 23:46:56 +01:00
Larry Shaffer
65ae7d8430 Add adjustable Qt stylesheet class, QgisAppStyleSheet
- [API] Remove individual stylesheet option functions (e.g. setFontSize) in favor of direct access to QgisAppStyleSheet functions
2013-01-21 01:49:13 -07:00
Etienne Tourigny
2fb78db2b5 update raster format and pyramid save widgets for python, add pyramid config options support to raster writer, other fixes 2013-01-18 18:18:47 -02:00
Larry Shaffer
bdcb6c1c33 Add mousePressEvent to QgsMessageBar sip file 2013-01-14 17:04:34 -07:00
Larry Shaffer
b288b3a6f5 Add QgisApp::messageTimeout() to iface sip file
- [API] Remove recently added, and unnecessary, mMessageTimeout and setMessageTimeout() from QgisApp
2013-01-13 17:10:47 -07:00
Juergen E. Fischer
ac29c5b11f prepare-commit.sh: remove trailing blanks from python files 2013-01-12 23:48:58 +01:00
Larry Shaffer
bc4f8f2ba2 Add convenience methods for pushing a non-widget-based message to QgsMessageBar
- Switch some WARNING messages over to INFO
- Add default icon for CRITICAL messages
2013-01-12 08:45:58 -07:00
Tim Sutton
c610f37735 Applied patch from Hans-Peter Jansen <hpj [at] urpla.net> to address build issues with python-sip 4.15 and fix srs.db update issue when srs table has no noupdate column. 2013-12-08 22:40:35 +02:00
Denis Rouzaud
4153ef92bb add missing actionFeatureAction() to gui and sip 2013-11-13 08:08:07 +01:00
Salvatore Larosa
169f646f7c [Fixes #8982] adds python bindings for actionZoomNext method
update to autocompletion file
2013-11-02 18:40:26 +01:00
Larry Shaffer
a0628bf6da Add descriptive names to message bar levels (from Matthais Kuhn)
- Enum containing INFO, WARNING and CRITICAL
2013-01-11 18:04:52 -07:00
Larry Shaffer
37f7d57897 Update QgsMessageBar sip file to include timeout messages 2013-01-10 16:51:03 -07:00
Larry Shaffer
ba5b90a16a Reinstate Save Active Layer Edits action
- Now enables/disables relative to vector layer isModified() state (gives feedback when save is finished)
- Now works with active legend layer, regardless of whether a selection exists in legend
- Add to legend contextual menu when right-clicked vector layer isModified()
2012-12-31 16:28:17 -07:00
Martin Dobias
5df8f2cb06 Merge pull request #350 from matthias-kuhn/qgsmessagebar
Transfer ownership of widgets to C++ when pushed to the QgsMessageBar
2012-12-28 04:23:16 -08:00
mhugent
f815a72b6b Merge pull request #366 from matthias-kuhn/rubberband-point-symbols
Add different point symbols for QgsRubberband.
2012-12-27 00:28:10 -08:00
Larry Shaffer
369971a7c2 [FEATURE] Add save/rollback/cancel current edits for selected or all vector layers
- Fix for issue #6782
- Ensure undo widget is not enabled unless active (again)
2012-12-26 10:57:52 -07:00
Matthias Kuhn
f2328962df Add different point symbols for QgsRubberband. 2012-12-25 16:58:06 +01:00
Alexander Bruy
5e45a22d06 remove deprecated methods from API 2012-12-23 10:40:23 +02:00
Martin Dobias
9317ffd89a Merge remote-tracking branch 'origin/master' into new_vector_api
Also disabled mapserver until compilation is fixed.
Fixed tests.

Conflicts:
	src/app/legend/qgslegendlayer.cpp
	src/app/qgsattributedialog.cpp
	src/app/qgsattributedialog.h
	src/app/qgslabelpropertydialog.cpp
	src/app/qgsmaptoollabel.cpp
	src/app/qgsvectorlayerproperties.cpp
	src/core/CMakeLists.txt
	src/core/composer/qgsatlascomposition.cpp
	src/core/qgsexpression.cpp
	src/core/qgspallabeling.cpp
	src/core/qgsvectorlayer.cpp
	src/core/qgsvectorlayer.h
	src/core/qgsvectorlayerimport.cpp
	src/mapserver/qgsprojectparser.cpp
	src/mapserver/qgswfsserver.cpp
	src/mapserver/qgswfsserver.h
	src/mapserver/qgswmsserver.cpp
	src/providers/postgres/qgspostgresprovider.cpp
	src/providers/spatialite/qgsspatialiteprovider.h
	tests/src/core/testqgsexpression.cpp
	tests/src/python/test_qgsmemoryprovider.py
2012-12-18 01:35:06 +01:00
Sandro Santilli
9132ebb7c9 Expose setGroupExpanded to python 2012-12-17 23:32:49 +01:00
Alexander Bruy
dcf3ede3c3 make username and password in-out parameters in QgsCredentials bindings 2012-12-11 14:04:56 +02:00
Matthias Kuhn
2b2da5d7f1 Transfer ownership of widgets to C++ when pushed to the QgsMessageBar 2012-12-10 23:24:20 +01:00
mhugent
b777b51147 Merge pull request #341 from matthias-kuhn/rubberband-point
Allow the rubberband to display points
2012-12-06 09:14:18 -08:00
Larry Shaffer
293e49438e Add edit-saving actions to iface 2012-12-01 17:21:37 -07:00
Magnus Homann
53790add9b Merge pull request #343 from homann/qgsexpression_DA
Settings for measurements ellipsoid moved, fix for #3296 and #4252.
2012-12-01 04:14:38 -08:00
Larry Shaffer
8260eab94b Update QgsLegend::selectedLayers() and add to QgsLegendInterface
- Add option to return selected layers in drawing order
2012-11-28 11:43:47 -07:00
Magnus Homann
69308d3767 Merge branch 'master' into qgsexpression_DA 2012-11-28 19:17:15 +01:00
Larry Shaffer
b9b943d5e1 Add access to QgisApp's mActionCopyStyle and mActionPasteStyle to QgisInterface 2012-11-27 10:36:03 -07:00
Matthias Kuhn
98571194f0 SIP bindings for point rubberband. 2012-11-26 22:41:03 +01:00
Magnus Homann
194d94c5ed Using QgsProject settings instead, not fully tested 2012-11-25 11:33:38 +01:00