1230 Commits

Author SHA1 Message Date
stevehalasz
8f97fbfda4 Correctly disable buttons when a raster is added as the first layer.
The pg buffer plugin button is not disabled. Need to provide a way to let plugins
handle this properly.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 20:10:43 +00:00
timlinux
b3ca97e496 Added getPaletteAsPixmap function to raster and display on raster props
dialog. Also added gdaldatatype to raster props metadata dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 11:04:29 +00:00
timlinux
cfe1aa0842 Added getPaletteAsPixmap function to raster and display on raster props
dialog. Also added gdaldatatype to raster props metadata dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1525 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 11:04:00 +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
e7d3f0e7b3 Added getPalletteAsPixmap method to rasterlayer class so that the palette of a paletted raster layer can be retrieved and visualised.
Rearranged 'General' tab on raster props dialog, including adding a
palette view that uses the above mentioned call to rasterlayer class.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 09:53:30 +00:00
gsherman
ae60bc7744 Updated todo list for 0.4
git-svn-id: http://svn.osgeo.org/qgis/trunk@1520 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 18:36:46 +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
712bd299bc Minor fix added std:: before endl in setProgress.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 22:07:18 +00:00
timlinux
cba9c37afe MapCanvas changes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1516 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 14:05:44 +00:00
timlinux
0047db99c1 Updated draw method following changes to maplayer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1515 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:36:45 +00:00
timlinux
315c457d83 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@1514 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:25:25 +00:00
timlinux
0df6b0d655 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@1513 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:22:15 +00:00
timlinux
67100f41d2 Minor changes - added some debug info on filePrint
git-svn-id: http://svn.osgeo.org/qgis/trunk@1512 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-02 13:18:21 +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
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
6b01c4aac4 Fixed const const error that arose when trying to compile under qt 3.2
git-svn-id: http://svn.osgeo.org/qgis/trunk@1508 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 09:58:17 +00:00
timlinux
4e124bca05 Fixed incorrect designer version
git-svn-id: http://svn.osgeo.org/qgis/trunk@1507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 09:44:59 +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
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
gsherman
11075d480d Fix for theme preview as the themes are highlighted in the theme
drop-down box


git-svn-id: http://svn.osgeo.org/qgis/trunk@1504 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:07:54 +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
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
timlinux
f4f5e228ed 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@1501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 01:01:51 +00:00
timlinux
d8769edf8f Gui cleanups for options dialog box
git-svn-id: http://svn.osgeo.org/qgis/trunk@1500 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-01 00:08:27 +00:00
timlinux
1c5905c4c2 Added theming for print icon
git-svn-id: http://svn.osgeo.org/qgis/trunk@1499 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:53:28 +00:00
timlinux
bf8db60e3e Renamed to fit naming convention
git-svn-id: http://svn.osgeo.org/qgis/trunk@1498 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:52:19 +00:00
timlinux
ae1a0a1e60 Icon for print icon
git-svn-id: http://svn.osgeo.org/qgis/trunk@1497 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:17:56 +00:00
timlinux
2176bf9cef Print functionality...a work in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1496 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:08:53 +00:00
timlinux
fa1e450226 Added basic print capability to qgis....consider this a work in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 20:02:44 +00:00
gsherman
1db2014331 Bumped extra version to 9
Added change log entries


git-svn-id: http://svn.osgeo.org/qgis/trunk@1494 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:43:20 +00:00
gsherman
d8b59a280f 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@1493 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-31 19:40:38 +00:00
timlinux
f561a3f082 Fix poorly placed status text on splash screen.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1492 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-29 23:48:10 +00:00
gsherman
0f3831d763 Subclassed options dialog to add theme capability
git-svn-id: http://svn.osgeo.org/qgis/trunk@1491 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-29 00:18:11 +00:00
gsherman
6c13c8184d 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@1490 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-28 23:57:37 +00:00
timlinux
4f58f4e2c2 Close gdal dataset after testing (thanks Radim!)
git-svn-id: http://svn.osgeo.org/qgis/trunk@1489 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-28 17:07:38 +00:00
gsherman
17b55d9552 Added info about spit plugin fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1487 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:53:10 +00:00
gsherman
c4aead1652 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@1486 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:51:54 +00:00
sbr00pwb
f65bbf2d36 *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@1485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 15:59:24 +00:00
jobi
1faad2bbc8 ** cleanup of gcc warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@1484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 15:05:13 +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
6087b3519a Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk@1482 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:09:44 +00:00
timlinux
0f6b1f409f *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@1481 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:07:07 +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
gsherman
56a86b63ee 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@1479 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 06:44:02 +00:00
gsherman
c5e88d04f9 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@1478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 05:16:58 +00:00
larsl
9074addc2b ** Added some calls to std::string::c_str() to hopefully make Qt without STL
happy


git-svn-id: http://svn.osgeo.org/qgis/trunk@1477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 15:25:07 +00:00
larsl
8621f4d5d0 ** 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@1476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 11:30:46 +00:00
gsherman
58b12bcb47 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@1474 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 05:34:47 +00:00
gsherman
15b5d6527d Updated docs for 0.3 release
git-svn-id: http://svn.osgeo.org/qgis/trunk@1473 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-26 05:31:45 +00:00