46 Commits

Author SHA1 Message Date
g_j_m
2cfff3c90e Give each plugin gui a unique class name based on the plugin name.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:34:36 +00:00
g_j_m
faf9435a01 Remove the stuff from the canvas when the plugin is removed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 23:07:57 +00:00
g_j_m
1879b2709d Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
stevehalasz
943788eaab Don't refresh the canvas on project read for each plugin. This is the fix for bug #1167668. This has the side-effect of not showing the
north arrow or copyright notice at app startup or for new projects. I think this is fine. The alternative is to have the map canvas emit
renderComplete in these situations. This requires a QPainter though, and it doesn't seem worthwhile to create one for this purpose.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3054 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-31 18:20:57 +00:00
g_j_m
d10381699c Added .cvsignore files to remove cvs update warnings. More to follow.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 20:26:46 +00:00
gsherman
9493aca366 Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
timlinux
b3f339e35d Scale bar settings saved with project and minor tweaks to north arrow and copyright label plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:56:34 +00:00
timlinux
1459808365 Eureka! Project level state handling that works....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2326 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 09:14:20 +00:00
timlinux
80b3ac380f Updated to use the super new project api. Write seems to work, read state is not working due to problems with qgsproject I think....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 23:34:57 +00:00
timlinux
bff27aec54 Comment out project stuff while transition to new api takes place...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2298 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:45:07 +00:00
timlinux
140d2993da Connect up to projectRead signal...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 17:51:08 +00:00
gsherman
9504d805ae Fixes to get plugins to compile under WIN32
Changes to qgislib.pro to include recently added classes


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
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
timlinux
4210c13650 First implementation of project serialisation - two state handlers on for font family and one for font size.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-11 09:07:00 +00:00
gsherman
0c60c51c39 Merged changes in 0.5 release branch to MAIN
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +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
dbd4f6e281 Use the new unified plugins toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
gsherman
54d80c6840 Qmake project files for building on Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
gsherman
75e79f7427 Changes to support Windows version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
jobi
a1e1dba09a ** fixed tims typo with GDAL_LDADD
** cleaned pluginnames


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 10:23:47 +00:00
timlinux
7abeebbc62 Added $(GDAL_LADD) to makefile to remove dltest GDALTermProgress error.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 13:06:57 +00:00
timlinux
ca3c3c055d Hide dialog before setting props.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1511 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:16:26 +00:00
timlinux
4e96112ffe Switch to useing QPaintDeviceMetrics for determining size of paint device.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1505 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 08:05:15 +00:00
timlinux
3f8412bbe6 Updated renderCopyrightLabel 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@1503 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:05:43 +00:00
sbr00pwb
a0d371305c Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1483 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 12:53:53 +00:00
timlinux
90fb542b98 Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1480 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:02:17 +00:00
jobi
542fa3ab8e ** prerelease test-build clean-ups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1470 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 00:12:49 +00:00
timlinux
84feacc666 Removed references to font button in description box.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1461 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:18:30 +00:00
timlinux
9e25c798cf Fix for const const error caused by generating from old versions of designer.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1460 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:15:12 +00:00
larsl
ecb8b5637a ** Resaved plugins/copyright_label/pluginguibase.ui with designer 3.1 to fix
const problem


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 09:40:34 +00:00
timlinux
045ad43935 Various bugfixes including: Changed textedit mode to plain text to avail rendering html in dialog. State handling for label placement. Refresh canvas appropriately to avoid ghost labels.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1455 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 23:29:12 +00:00
timlinux
0e8edbd7b2 Remember state of copyright label text (within session only).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1452 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 08:12:46 +00:00
sbr00pwb
9614ad83b8 Fixed text wrapping bug and disabled the orientation gui for now
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-21 14:46:42 +00:00
sbr00pwb
dd784af7e9 Implemented the enable checkbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1418 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 22:02:10 +00:00
sbr00pwb
63ee79a19c Tidied up GUI
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1394 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-13 23:16:40 +00:00
timlinux
465ca772d2 Fix error causeing plugin load to fail.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1364 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-11 04:36:49 +00:00
sbr00pwb
bda03ab6d4 Copyright label placement implemented
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1345 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-08 11:59:10 +00:00
sbr00pwb
1414f4d4c1 Placement options added
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1344 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-08 11:57:19 +00:00
sbr00pwb
fd6b2ba04e Set to QT version 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-07 15:05:23 +00:00
sbr00pwb
40b9f9db60 Implemented the signals fired when ok is pressed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1331 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 15:34:31 +00:00
sbr00pwb
c50175f4d4 Revised the dialog to allow the setting of font face and colour to be set
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1330 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 15:33:53 +00:00
sbr00pwb
2ab94c623f Added slots and connectors for label text font and colour
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1329 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 15:32:56 +00:00
timlinux
2f808fcd6d Minor updates
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1320 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 16:50:37 +00:00
timlinux
1aa0dd4d91 Minor updates and fix compilation issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1316 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:38:41 +00:00
timlinux
e986085422 Fixed missing pbnCancel_clicked() declaration.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1315 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:03:44 +00:00
timlinux
2b9d746a27 Initial commit - no implementaiton yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 09:30:32 +00:00