mhugent
b24494c789
Move setRenderContext() method to mapcanvas item class
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13332 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-20 11:51:20 +00:00
mhugent
91d9e1fb2d
Add TransferThis to annotation python constructors
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-16 15:09:49 +00:00
jef
d975c897f3
[FEATURE] legend interface added to retrieve layers in legend order (supplied by Maxim Dubinin)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-06 16:12:39 +00:00
mhugent
c0a4ee3951
Move annotation items and widgets from gui to app
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13190 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-29 13:16:08 +00:00
mhugent
7ba75be847
[FEATURE]: text and form annotation tools are now in gui and app
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-29 12:11:48 +00:00
wonder
26f4b4513e
Added missing method advancedDigitizeToolBar() in qgis interface.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-27 18:19:19 +00:00
wonder
73a878dfcd
Added renderStarting() signal to QgsMapCanvas.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-18 21:25:20 +00:00
wonder
63d0a6520d
Added QgsMapCanvas::layers() method
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12935 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-12 09:49:51 +00:00
mhugent
29e02fca83
add shape methods to composerview sip
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-09 16:18:36 +00:00
jef
5608ccc1f2
allow opening properties dialog for layer from plugins (better version of r12814)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-23 21:50:09 +00:00
jef
882e7e8873
[FEATURE] allow opening layer properties from plugins
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12814 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-21 20:17:29 +00:00
wonder
eefb4baa81
PyQGIS: added QgsColorButton and QgsColorButtonV2
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12771 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-15 23:55:23 +00:00
wonder
76d6b47a8b
symbology-ng: updates to symbol layer registry and renderer registry so that they can be used from python.
...
Added wrappers for these two registries and their metadata classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12769 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-15 17:54:18 +00:00
jef
e5cf709dd3
another round of typo fixes (and use color instead of colour - like Qt; no string updates)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 16:14:24 +00:00
jef
cbf1a50bd6
fix common typos
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
mhugent
bcb221102a
Notify plugins if a composer has been added or removed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-08 10:35:07 +00:00
wonder
94317ce545
[FEATURE] Applied patch from Andres Manz from #2185
...
Adds QgsLegendInterface class to GUI library to allow users to do some operations with groups.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 21:03:45 +00:00
jef
35e9935e8e
[FEATURE] add QgisInterface::setActiveLayer()
...
also fixes #2167
git-svn-id: http://svn.osgeo.org/qgis/trunk@12358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 18:59:25 +00:00
wonder
4bb5cad2cc
Change in handling of missing layers within QgsProject. Instead of throwing an exception, now a custom handler is called
...
that might try to fix the missing layers. There's a default handler (QgsProjectBadLayerDefaultHandler) which simply ignores
all missing layers. Then there's a GUI handler (QgsProjectBadLayerGuiHandler) in GUI library which asks user about
the path for missing layers. QGIS application automatically installs the GUI handler on startup.
This should allow python plugins/applications to work with QgsProject without a fear of a segfault as there are no more
exceptions thrown during load/save of the project files.
Some further notes:
- removed QgsProjectBadLayerException class and (now empty) qgsexception.cpp file
- openFilesRememberingFilter() moved to QgisGui namespace (was duplicated: QgisApp vs QgsOpenVectorLayerDialog)
- removed deprecated buildVectorFilters_ methods
- added python bindings for new classes/methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@12350 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 17:14:41 +00:00
mhugent
f81780d271
Apply patch #1716 (improvements to ZoomLast, ZoomNext tools) from Smizuno
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-28 21:20:16 +00:00
wonder
adb8ab92fd
Save style file name inside the style.
...
Fixed saving of symbols added in symbol selector
git-svn-id: http://svn.osgeo.org/qgis/trunk@12161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-17 11:23:36 +00:00
wonder
961742e243
Symbology-NG branch merged to trunk. This includes also work on labeling done during my GSoC'09.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 10:36:24 +00:00
jef
a17488239f
fix python plugin crashes - changes GUI API
...
- QgsMapCanvas::xyCoordinates(QgsPoint & p) => xyCoordinates(const QgsPoint & p)
- QgsMapToolEmitPoint::canvasClicked(QgsPoint& point, Qt::MouseButton button) => canvasClicked( const QgsPoint& point, Qt::MouseButton button)
- might be a SIP 4.8 problem
git-svn-id: http://svn.osgeo.org/qgis/trunk@11540 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-02 22:41:43 +00:00
jef
db860f0014
fix r11536
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-01 17:41:24 +00:00
wonder
a4ac4f8305
Always use QPixmap when drawing the map in canvas.
...
This results in faster updates of canvas when rendered map is QImage - e.g. when panning / updating rubber bands.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10926 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 21:26:42 +00:00
wonder
43202ab685
Fixed #1706 .
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-09 23:25:10 +00:00
jef
5cf3395673
fix python binding compile error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10742 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-05 21:52:46 +00:00
gsherman
598677b882
Applied patch from ticket #1522 for Zoom Next functionality.
...
Includes icons for zoom next tool (same icon for all themes).
git-svn-id: http://svn.osgeo.org/qgis/trunk@10588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-18 00:02:22 +00:00
wonder
62d01abe74
PyQGIS: wrapped QgsMapTip and QgsRunProcess.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10557 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-13 12:29:59 +00:00
wonder
f99fc62b03
pyqgis: another piece of code with missing binding :-/
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-20 15:51:33 +00:00
wonder
71b1fc7d77
Applied patch from Andrej Krutak - added removeDockWidget() to interface.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-16 14:22:07 +00:00
mhugent
8f02ced2d6
Remove the private members from the composer sip files as they cannot be used from Python anyway
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-13 20:46:02 +00:00
mhugent
233cf07bb6
Added /TransferThis/ keywords in the constructor of the composer item classes as suggested by Martin, fixed the possibility of moving the paper item
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-28 14:35:45 +00:00
mhugent
f7fd50ffa4
Python bindings for composer classes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-27 13:57:26 +00:00
jef
bb61177a46
revert accidental commit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 20:58:19 +00:00
mhugent
0baa9349ea
saver string list handling
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 19:15:23 +00:00
wonder
d73452e241
Added QgsMapTool::keyReleaseEvent()
...
Added missing binding for QgsMapTool::keyPressEvent()
... will ever people add the bindings for newly added functions? :-/
git-svn-id: http://svn.osgeo.org/qgis/trunk@10118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-06 15:42:35 +00:00
jef
7cd83173d5
fix #1490
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9977 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-16 21:08:35 +00:00
wonder
c223b010f9
PyQGIS: missing QgsMapTool bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9706 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-25 21:37:38 +00:00
wonder
94567164a3
Renamed ambiguous functions QgsMapCanvas::zoom to zoomIn, zoomOut and zoomByFactor.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9691 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-24 10:15:34 +00:00
wonder
6a85e1a09c
PyQGIS: added a missing function in QgsMessageViewer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9675 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-20 22:19:42 +00:00
wonder
e9f6cecda8
PyQGIS: fixed QgsSnapper / QgsMapCanvasSnapper bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9671 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-19 20:03:30 +00:00
wonder
43bf222968
- QgsSnapper: use one list of QgsSnapper::SnapLayer structs rather than three separate lists
...
- PyQGIS: finished QgsSnapper binding, added QgsMapCanvasSnapper
git-svn-id: http://svn.osgeo.org/qgis/trunk@9657 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 17:20:21 +00:00
mhugent
b49bc46bf8
Allow a 0 pointer for the vector layer in QgsRubberBand::setToGeometry
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-11 14:47:48 +00:00
timlinux
b40ceb2d62
API cleanups for QgsRect that got overlooked...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-09 00:14:12 +00:00
timlinux
ddb96eae76
Final cleanups for gui API
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9576 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-07 18:41:36 +00:00
timlinux
e1b3c93e6a
API cleanups to qgis project and maprenderer classes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 21:47:48 +00:00
timlinux
5aeb250006
api cleanups for distance area
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9504 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-20 20:41:06 +00:00
timlinux
b6ec0534fb
Further api updates in core
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-16 06:31:25 +00:00
jef
8094f1d4c6
hackfest commit from timlinux:
...
- more API cleanups
- single click (instead of drag) to select a feature (fixes #1154 )
- fixes for topological editing
git-svn-id: http://svn.osgeo.org/qgis/trunk@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00