221 Commits

Author SHA1 Message Date
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
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
Radim Blazek
2613cf6ad5 keep extent of overview set to union of extents of layer in overview; dont shrink on resize; fixes #1788 2012-11-19 20:03:53 +01:00
Radim Blazek
a1a1fb7be7 graduated renderer GUI DnD and sort; categorized symbol GUI better drop indicator 2012-11-18 12:53:03 +01:00
Radim Blazek
c4b74c9266 Categorized vector GUI DnD and sorting, fixes #2816 2012-11-11 19:52:11 +01:00
Larry Shaffer
8d1ce0337c Update QgsMessageBar sip binding 2012-11-07 12:45:00 -07:00
Alexander Bruy
8694cb8cd5 [FEATURE] add lineedit with builtin clear button 2012-11-02 19:13:31 +02:00
Larry Shaffer
c11df1aa79 [FEATURE] Duplicate map layer(s)
- Action available in Layer menu and legend contextual menu
- Layer style copy/pasted to duplicate
- Memory and plugin layers skipped
- Add sip binding to action in app interface
2012-11-02 03:23:10 -06:00
Martin Dobias
51122d263a Store attributes and fields in vectors instead of maps 2012-10-20 22:19:55 +02:00
Radim Blazek
6b55ee4fa0 undersampling if possible in QgsRasterDataProvider, multicolor widget loadMinMax fix 2012-10-16 10:34:34 +02:00
Alexander Bruy
6fcd937a43 fix sip bindings 2012-10-11 21:36:26 +03:00
Juergen E. Fischer
9fb31117cb sip updates 2012-10-06 11:22:52 +02:00
Radim Blazek
d9c5a68d80 pseudocolor renderer GUI min/max support 2012-10-05 22:56:26 +02:00
Juergen E. Fischer
3c525fdf30 python fixes:
- update sip bindings (including QgsRasterPipe and QgsOWSSourceSelect)
- helpConsole: show icons from resources
2012-10-05 21:56:43 +02:00
Larry Shaffer
48e0a97f40 [FEATURE] Choose font family for app
- Define app font family (or Qt default) in app options
- App font choices in options are now temporary unless saved
- Refactor to more general stylesheet methods (for later use)
- Add QgisAppInterface and sip methods for setting app font and family
2012-10-03 17:59:50 -06:00
Juergen E. Fischer
c918952c74 more sip fixes 2012-09-26 18:46:52 +02:00
Etienne Tourigny
fef272e1a1 QgsCollapsibleGroupBox: rename mSaveState to mSaveCollapsedState and update saveState/restoreState, update raster save dialog 2012-09-25 18:37:37 -03:00