51 Commits

Author SHA1 Message Date
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
2f3d623a44 Bug fix for qgis crash when starting the northarrow gui after loading it.
Bug was the
same as for earlier fix with plugins, but with gui part. Will do the gui
parts of the other plugins in due course


git-svn-id: http://svn.osgeo.org/qgis/trunk@3207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 00:22:35 +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
telwertowski
8ed5d7baae Add HAVE_QTMAC conditional to configure. Use it to suppress compile-time
paths which cause errors when building with Qt/Mac which obtains paths
from qApp->applicationDirPath() at runtime.


git-svn-id: http://svn.osgeo.org/qgis/trunk@3142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:16:57 +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
dca4ab94e3 More .cvsignore files. Should be all done now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +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
9876b25a08 POV...persistance of vision for North Arrow (ie north arrow settings are saved with your project now...)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2334 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:33:05 +00:00
telwertowski
3be0826be2 Prefix all paths to supporting files on Mac OS X with qApp->applicationDirPath()
git-svn-id: http://svn.osgeo.org/qgis/trunk@2251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 08:42:46 +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
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
timlinux
13ecb913d0 Fix misbehaving north arrow plugin....
git-svn-id: http://svn.osgeo.org/qgis/trunk@1968 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-06 21:59:17 +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
3609954506 Enabled link with libqgis.lib (win32)
git-svn-id: http://svn.osgeo.org/qgis/trunk@1873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:27:30 +00:00
gsherman
a78dad66f0 Changes for Win32 support - no new features
git-svn-id: http://svn.osgeo.org/qgis/trunk@1866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-15 00:52:47 +00:00
gsherman
c5eefa522d Qmake project files for win32 build
git-svn-id: http://svn.osgeo.org/qgis/trunk@1768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:10:40 +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
jobi
ea2b00d4c5 ** fixed bug #965720 by adding math.h for gcc 3.4 problems
git-svn-id: http://svn.osgeo.org/qgis/trunk@1519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 14:05:01 +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
690e496439 Hide the dialog before updating props.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1510 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:05:07 +00:00
timlinux
eac15bd133 Switch to using QPaintDeviceMetrics for determining size of paint device.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1506 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 08:05:57 +00:00
timlinux
c20fc2ecf9 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@1502 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:04:54 +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
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
3e018ee786 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@1454 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 22:32:33 +00:00
timlinux
e499f689a5 Bug fix : Rotation of north arrow now behaves properly in each of the four corners.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1453 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-24 22:12:57 +00:00
timlinux
b812a04111 Remeber state of =show= checkbox
git-svn-id: http://svn.osgeo.org/qgis/trunk@1417 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:30:40 +00:00
sbr00pwb
a4637eceef Added functionality for enable check box
git-svn-id: http://svn.osgeo.org/qgis/trunk@1415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-16 21:04:46 +00:00
timlinux
f61233c145 Placement now works when n-arrow is unrotated. State of placement restored when dialog restored.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1410 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-15 22:56:40 +00:00
sbr00pwb
59a81cbad0 Added placeholder for north arrow placement support
git-svn-id: http://svn.osgeo.org/qgis/trunk@1395 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-13 23:22:01 +00:00
timlinux
94aeaebf3a Overloaded qwidget paint and resize events to draw north arrow so we dont have strange enpty looking dialogs.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1381 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-12 18:03:45 +00:00
timlinux
90dce01931 More clean ups - remove icon selection tab until its implemented
git-svn-id: http://svn.osgeo.org/qgis/trunk@1379 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-12 08:15:46 +00:00
timlinux
8e654e9e2b Gui cleanups. Arrow preview displays in center of label widget now. Added sidebar image to replace template default. Renamed spinRotation to spinSize and diconnected from rotation signals / slots. Added show checkbox (not functional yet).
git-svn-id: http://svn.osgeo.org/qgis/trunk@1378 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-12 06:11:47 +00:00
timlinux
e426f52671 Logo for dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@1377 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-12 06:08:44 +00:00
larsl
c8e94e3c4e Changed version=3.3 to version=3.1.2
git-svn-id: http://svn.osgeo.org/qgis/trunk@1360 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-10 23:15:19 +00:00
timlinux
2a2a42fb7a 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@1358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-10 22:45:22 +00:00
timlinux
98d652d543 Minor fix to correct search path for pngs
git-svn-id: http://svn.osgeo.org/qgis/trunk@1354 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-09 17:00:40 +00:00
timlinux
e164e019e2 Temporary kludge to make north arrow show a png rather than svg
git-svn-id: http://svn.osgeo.org/qgis/trunk@1353 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-09 12:41:03 +00:00
larsl
c94b708e5a Changed version=3.2 to version=3.1.2 in UI file
git-svn-id: http://svn.osgeo.org/qgis/trunk@1338 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-07 16:39:21 +00:00
sbr00pwb
c2b25b9f90 First draft of North Arrow GUI
git-svn-id: http://svn.osgeo.org/qgis/trunk@1325 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 13:05:54 +00:00
timlinux
591c091154 Added packagedata that I thought I had committed before.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1324 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 09:59:57 +00:00
timlinux
070c557dc7 Changed n to black
git-svn-id: http://svn.osgeo.org/qgis/trunk@1323 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 07:27:20 +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
ca72b7b1fd Minor changes and fix compilation issues
git-svn-id: http://svn.osgeo.org/qgis/trunk@1317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:39:49 +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