1175 Commits

Author SHA1 Message Date
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
0b1a5e0a9f Minor fix added std:: before endl in setProgress.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 22:07:18 +00:00
timlinux
bff70c726e MapCanvas changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1516 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 14:05:44 +00:00
timlinux
c59cec4c65 Updated draw method following changes to maplayer.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1515 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:36:45 +00:00
timlinux
389d331bf1 Renamed obscurely named Impl struct to CanvasProperties and private instance of impl_ to mCanvasProperties.
More tweaking on printing stuff though its still not scaling properly except to A4 landscape.

Added private member mScale (double) and accessor so that plugins can access the current scale.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1514 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:25:25 +00:00
timlinux
ef7c3840f0 Removed src parameter in draw(). This is redundant because you can get it by using qpainter->device(); Updated vector accordingly. Update for raster will follow.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1513 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:22:15 +00:00
timlinux
d725311bae Minor changes - added some debug info on filePrint
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1512 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:18:21 +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
32a594b885 Hide the dialog before updating props.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1510 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:05:07 +00:00
timlinux
ca8b224e00 Fixed const const error that arose when trying to compile under qt 3.2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1508 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 09:58:17 +00:00
timlinux
d81622471b Fixed incorrect designer version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 09:44:59 +00:00
timlinux
22f4014504 Switch to using QPaintDeviceMetrics for determining size of paint device.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1506 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 08:05:57 +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
gsherman
a85e2db47d Fix for theme preview as the themes are highlighted in the theme
drop-down box


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1504 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:07:54 +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
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
815f99edba Updated renderComplete signal to pass a pointer to the qpainter device onto which the map was rendered. This allows plugins 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@1501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:01:51 +00:00
timlinux
f8b2e2ec07 Gui cleanups for options dialog box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1500 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 00:08:27 +00:00
timlinux
a76c7b1466 Added theming for print icon
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1499 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:53:28 +00:00
timlinux
e4cfffcf16 Renamed to fit naming convention
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1498 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:52:19 +00:00
timlinux
c3ced0f002 Icon for print icon
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1497 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:17:56 +00:00
timlinux
dfa5256240 Print functionality...a work in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1496 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:08:53 +00:00
timlinux
ec0f92fd3c Added basic print capability to qgis....consider this a work in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:02:44 +00:00
gsherman
92cd8b5f6a Bumped extra version to 9
Added change log entries


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1494 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:43:20 +00:00
gsherman
eaefa5e0f5 Changed QgsIdentifyResultsBase to inherit from QWidget instead of QDialog
so window position can be saved/restored from user settings each time.

Changed qgis.h int version number to 300 (should have been done at release)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1493 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:40:38 +00:00
timlinux
3709b1f076 Fix poorly placed status text on splash screen.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1492 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-29 23:48:10 +00:00
gsherman
d0b5e4506c Subclassed options dialog to add theme capability
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1491 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-29 00:18:11 +00:00
gsherman
9563631900 Added user selection of icon themes. There is only one theme in CVS (default).
Info on creating icon themes will be forthcoming. A test theme will be put
up on community.qgis.org soon.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1490 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-28 23:57:37 +00:00
timlinux
28f3c6ca83 Close gdal dataset after testing (thanks Radim!)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1489 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-28 17:07:38 +00:00
gsherman
12c9b62b4f Added info about spit plugin fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1487 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:53:10 +00:00
gsherman
57c29d4b03 Added the getSchema call to the constructor so the schema drop-down
is populated. Since spit is both a plugin and standalone app, getSchema
was called in main in the standalone version and not called at all for
the plugin.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1486 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:51:54 +00:00
sbr00pwb
9187a4e147 *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 15:59:24 +00:00
jobi
4f698b92c2 ** cleanup of gcc warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 15:05:13 +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
cae57cab33 Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1482 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:09:44 +00:00
timlinux
b92ce4bdde *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1481 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:07:07 +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
gsherman
0f4ddec0a5 Added theme selection to the user preferences dialog. Currently there is only
one theme (default) available. The preferences dialog examines the themes
directory and adds each subdir to the list of available themes (in a combobox).
If a theme subdirectory doesn't contain all the required images and the user selects it, the toolbars and menus will be blank the next time QGIS is started.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1479 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 06:44:02 +00:00
gsherman
ecc1fac979 Added QgisApp::setTheme() to set the icons from png images:
Inits the toolbar icons by setting the icon for each action.
 All toolbar/menu items must be a QAction in order for this
 to work.

 When new toolbar/menu QAction objects are added to the interface,
 add an entry below to set the icon

 PNG names must match those defined for the default theme. The
 default theme is installed in <prefix>/share/qgis/themes/default.

 TODO:Next step is to allow user specified icon sets by loading the
 images from a theme directory other than "default". This will require
 adding information to preferences to allow selecting the theme.

 New core themes can be added by creating a subdirectory under src/themes
 and modifying the appropriate Makefile.am files. User contributed themes
 will be installed directly into <prefix>/share/qgis/themes/<themedir>.

 TODO: Create a theme preferences dialog that parses the themes directory
 and builds a list of themes (ie subdirectories) for the user to
 choose from.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 05:16:58 +00:00
larsl
7d0ee227c7 ** Added some calls to std::string::c_str() to hopefully make Qt without STL
happy


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 15:25:07 +00:00
larsl
b1d4ad7f4c ** Fixed a bug that caused the legend checkboxes to always be unchecked when
using Qt 3.1.2 by removing QgsLegendItem::setOn(), don't know how this
   affects newer Qt


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 11:30:46 +00:00
gsherman
b7a49be816 Updated files for 0.3 release
** Updated whats new in qgisapp.cpp (for about dialog)
** Added border to the splash screen (Madison didn't like it without a border)
** Added map units tag to qgis.dtd -- this still needs to be implemented
   in saving/loading projects from .qgs files


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1474 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 05:34:47 +00:00
gsherman
93d794ee3b Updated docs for 0.3 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1473 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 05:31:45 +00:00
gsherman
55fff3ebf1 Moved icons to images/icons directory
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1472 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 02:57:37 +00:00
gsherman
dba6e78def Desktop icons (installed in share/qgis/images/icons)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 02:56:12 +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
jobi
cd692c321b ** updated translations
** finished german one


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1469 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 22:25:16 +00:00
hoshi
26af116e21 Updated Brazilian language file.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1468 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 19:44:46 +00:00
larsl
719f567bee ** Show the legend widgets in debug mode too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 18:21:54 +00:00
larsl
2874b1308d ** Fixed some more instances of the same bug in raster layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-25 17:54:10 +00:00