47 Commits

Author SHA1 Message Date
gsherman
fea5f30dc8 Fix for incorrect class names in the ui.h files
git-svn-id: http://svn.osgeo.org/qgis/trunk@3214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 06:57:41 +00:00
g_j_m
0719a873a9 Give each plugin gui a unique class name based on the plugin name.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:34:36 +00:00
g_j_m
143a17d836 Remove the stuff from the canvas when the plugin is removed
git-svn-id: http://svn.osgeo.org/qgis/trunk@3205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 23:07:57 +00:00
g_j_m
e3f307e610 Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
stevehalasz
c9ad2edc9c 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@3054 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-31 18:20:57 +00:00
g_j_m
6ed06572d5 Added .cvsignore files to remove cvs update warnings. More to follow.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 20:26:46 +00:00
gsherman
fcf4f353bb Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
timlinux
f7d95cde22 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@2335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:56:34 +00:00
timlinux
0a4a1c4a0a Eureka! Project level state handling that works....
git-svn-id: http://svn.osgeo.org/qgis/trunk@2326 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 09:14:20 +00:00
timlinux
f834d51d00 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@2317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 23:34:57 +00:00
timlinux
b1f25750aa Comment out project stuff while transition to new api takes place...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2298 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:45:07 +00:00
timlinux
f7bcfeeea9 Connect up to projectRead signal...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 17:51:08 +00:00
gsherman
b69b0996f1 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@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
timlinux
c7ba33f0f2 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@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +00:00
timlinux
21a905c843 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@2232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-11 09:07:00 +00:00
gsherman
f5c424a8d6 Merged changes in 0.5 release branch to MAIN
git-svn-id: http://svn.osgeo.org/qgis/trunk@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +00:00
gsherman
e0fc262363 * 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@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
04e51f8fa5 Use the new unified plugins toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
gsherman
eb546f40e6 Qmake project files for building on Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
gsherman
d8e87cbaa1 Changes to support Windows version
git-svn-id: http://svn.osgeo.org/qgis/trunk@1581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 04:35:20 +00:00
jobi
8784b8c27e ** fixed tims typo with GDAL_LDADD
** cleaned pluginnames


git-svn-id: http://svn.osgeo.org/qgis/trunk@1523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 10:23:47 +00:00
timlinux
92212fc3a2 Added $(GDAL_LADD) to makefile to remove dltest GDALTermProgress error.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 13:06:57 +00:00
timlinux
b0a1dbf89c Hide dialog before setting props.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1511 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:16:26 +00:00
timlinux
89d72e249a Switch to useing QPaintDeviceMetrics for determining size of paint device.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1505 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 08:05:15 +00:00
timlinux
6264803e77 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@1503 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:05:43 +00:00
sbr00pwb
ebd5dc59bd Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk@1483 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 12:53:53 +00:00
timlinux
2d1c4d9467 Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk@1480 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:02:17 +00:00
jobi
b3f7cb4277 ** prerelease test-build clean-ups
git-svn-id: http://svn.osgeo.org/qgis/trunk@1470 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 00:12:49 +00:00
timlinux
d2a7ad59eb Removed references to font button in description box.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1461 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:18:30 +00:00
timlinux
742b920d1a Fix for const const error caused by generating from old versions of designer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1460 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 15:15:12 +00:00
larsl
7629b51fe2 ** Resaved plugins/copyright_label/pluginguibase.ui with designer 3.1 to fix
const problem


git-svn-id: http://svn.osgeo.org/qgis/trunk@1457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 09:40:34 +00:00
timlinux
58a714a745 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@1455 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 23:29:12 +00:00
timlinux
8f41e01b0c Remember state of copyright label text (within session only).
git-svn-id: http://svn.osgeo.org/qgis/trunk@1452 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 08:12:46 +00:00
sbr00pwb
b87e305338 Fixed text wrapping bug and disabled the orientation gui for now
git-svn-id: http://svn.osgeo.org/qgis/trunk@1446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-21 14:46:42 +00:00
sbr00pwb
e1b0d30321 Implemented the enable checkbox
git-svn-id: http://svn.osgeo.org/qgis/trunk@1418 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 22:02:10 +00:00
sbr00pwb
7a1678da18 Tidied up GUI
git-svn-id: http://svn.osgeo.org/qgis/trunk@1394 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-13 23:16:40 +00:00
timlinux
5c9c5b6cde Fix error causeing plugin load to fail.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1364 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-11 04:36:49 +00:00
sbr00pwb
1b7ae9aabd Copyright label placement implemented
git-svn-id: http://svn.osgeo.org/qgis/trunk@1345 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-08 11:59:10 +00:00
sbr00pwb
be00a94d37 Placement options added
git-svn-id: http://svn.osgeo.org/qgis/trunk@1344 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-08 11:57:19 +00:00
sbr00pwb
0fc3262730 Set to QT version 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@1335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-07 15:05:23 +00:00
sbr00pwb
c975041ebf Implemented the signals fired when ok is pressed
git-svn-id: http://svn.osgeo.org/qgis/trunk@1331 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 15:34:31 +00:00
sbr00pwb
efdbdd6ecd Revised the dialog to allow the setting of font face and colour to be set
git-svn-id: http://svn.osgeo.org/qgis/trunk@1330 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 15:33:53 +00:00
sbr00pwb
7a8d752f27 Added slots and connectors for label text font and colour
git-svn-id: http://svn.osgeo.org/qgis/trunk@1329 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 15:32:56 +00:00
timlinux
fccadf9f0d Minor updates
git-svn-id: http://svn.osgeo.org/qgis/trunk@1320 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 16:50:37 +00:00
timlinux
283844104c Minor updates and fix compilation issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1316 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:38:41 +00:00
timlinux
f62643349b Fixed missing pbnCancel_clicked() declaration.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1315 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:03:44 +00:00
timlinux
c05fb48c53 Initial commit - no implementaiton yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 09:30:32 +00:00