111 Commits

Author SHA1 Message Date
wonder
324ba00750 Make signal QgsComposerView::selectedItemChanged with non-const pointer to avoid problems with some PyQt versions
git-svn-id: http://svn.osgeo.org/qgis/trunk@14743 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-22 22:32:03 +00:00
brushtyler
45ba237967 added Database menu and related methods add/remove plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@14638 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-14 14:00:57 +00:00
wonder
1fbf5eeac1 Added new project and project read signals to the qgis interface (#3160).
Contributed by Alexander Bruy - thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@14452 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-30 09:33:01 +00:00
jef
73e690edd3 save feature attribute changes from plugins to layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@14284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-25 20:11:22 +00:00
jef
8783e12d74 missed a file in r14243
git-svn-id: http://svn.osgeo.org/qgis/trunk@14244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-17 12:39:15 +00:00
jef
60abf63599 add sip bindings for groupLayerRelationship (fixes #2969)
git-svn-id: http://svn.osgeo.org/qgis/trunk@14164 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-28 09:49:54 +00:00
jef
29fa6f29ea add advanced selection tools from Jeremy Palmer. Thanks. (apply #2938)
git-svn-id: http://svn.osgeo.org/qgis/trunk@14071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-12 16:59:57 +00:00
jef
a299f693f7 apply #2791
git-svn-id: http://svn.osgeo.org/qgis/trunk@13921 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-17 11:19:04 +00:00
jef
e88a80afc8 apply #2712 and #2716 with slight modification. Thanks to Charles Timko.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-17 16:35:55 +00:00
jef
e03e5a146a [FEATURE] add multiple features at once (implements #2710)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13505 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-16 18:36:20 +00:00
borysiasty
735f9e03fe Fix missing actions. Patch #2686 by christophgysin + sip bindings.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13412 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-30 21:19:22 +00:00
wonder
8a394ab070 Applied patch from #2672 by Andres Manz: more legend interface functionality.
Thanks for contributing.


git-svn-id: http://svn.osgeo.org/qgis/trunk@13383 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-25 17:26:12 +00:00
wonder
c2dbddce0c PyQGIS: added subclassing code for QgsComposerView
git-svn-id: http://svn.osgeo.org/qgis/trunk@13361 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-24 12:03:08 +00:00
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