10 Commits

Author SHA1 Message Date
timlinux
92e1be151a Implemented state handling via qgsproject for copyright label.
Updated _all_ plugins so that initGui() is implemented as a slot.
This is required if you wish to use qgsproject for storing and reinstating state in qgis. The reason for this is that the initGui() method is only called once at the moment when qgis starts up. I will be adding a signal to qgisproject 'projectLoaded' that will be emitted when a new project is loaded. I will also be adding connect() for each plugin when its initially loaded in qgisapp so that the initgui slot is called whenever the project loads.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +00:00
gsherman
96a0e85577 * Fixed bug that caused qgis to crash when a plugin was unloaded. All plugins
must now have a QAction member pointer that is created when the GUI is
  initialized in initGui(). This pointer is used in the unload() method to
  remove the QAction and associated icon from the plugins toolbar.

* Updated splash for upcoming 0.5 release


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
9a7d977201 Updated renderNorthArrow slot to receive and draw to the qpainter pointer passed by the mapcanvas::renderComplete signal. This allows the north arrow plugin to draw onto the map even when it is being rendered to a device other than the mapCanvas' own pixmap member.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1502 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:04:54 +00:00
timlinux
c5c05c22cd More minor bugfixes - refresh now takes place properly so no ghost images are left behind and display does not need to be panned before n-arrow updates.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1454 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 22:32:33 +00:00
timlinux
5a4dd15429 Remeber state of =show= checkbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1417 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:30:40 +00:00
sbr00pwb
76e6775e92 Added functionality for enable check box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:04:46 +00:00
sbr00pwb
afd90ecaa4 Added placeholder for north arrow placement support
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1395 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-13 23:22:01 +00:00
timlinux
8632c85931 North Arrow rotation now works (thanks largely to larsl's maths skills). Implementation of other north arrow properties still in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-10 22:45:22 +00:00
timlinux
25c1557eaf Minor changes and fix compilation issues
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:39:49 +00:00
timlinux
4524d59846 Initial commit of north arrow plugin - does nothing yet!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1310 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 09:25:07 +00:00