1114 Commits

Author SHA1 Message Date
mhugent
f9fc54ce01 added pointers to the two paint devices (used for double buffering) in QgsMapLayer::draw(...). The idea is, that, if it takes a long time to paint a layer, the layer has the possibility, to copy the buffer image to the canvas before drawing is complete. Like this, it is more interesting for a user to wait as he can observe the progresses of the drawing process. I changed QgsVectorLayer::draw such that after drawing 1000 features to the background buffer, a bitBlt is made. The additional computing time due to these additional bitBlts seem to be very small. I did a few performance tests (times in milliseconds) with a dataset containing over 9000 features (5 paints for each configuration to get a good average). ctour1.shp without additional bitBlts[ms]: 4424 / 5189 / 5060 / 5070 / 5071. ctour1.shp with bitBlt every 1000 elements (9 additional bitBlts) [ms]: 4528 / 5243 / 5104 / 5102 / 5104. ctour1.shp with bitBlt every 500 elements (18 additional bitBlts) [ms]: 4751 / 5127 / 5087 / 5094 / 5113
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 10:18:43 +00:00
timlinux
d1b42e9be5 Forgot to add this file...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 09:25:18 +00:00
timlinux
2d37bff7b9 Removed default values in constructor.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:39:51 +00:00
timlinux
f2342cc895 Removed calls to om _log global
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:38:59 +00:00
timlinux
6887a3a0ca Latest versions of these headers - they need to be kept in sync with om sources.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1076 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:37:25 +00:00
timlinux
651a5b7d34 Updated to build standalone om gui too - still not working properly yet though methinks...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:36:31 +00:00
timlinux
03c07e7628 Removed these files as having them there in the first place was a nasty hack. With didges new install system, only headers that are not installed during openmodeller make install need to be copied into this plugind dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:15:41 +00:00
timlinux
82024aae4a Removed these files as having them there in the first place was a nasty hack. With didges new install system, only headers that are not installed during openmodeller make install need to be copied into this plugind dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:08:50 +00:00
timlinux
731ebec949 Changed include from config.h to qgsconfig.h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 15:06:22 +00:00
mhugent
b96bc9b5c2 made several methods of QgsPoints inline and added Method to QgsCoordinateTransform which takes a pointer to a QgsPoint (thus no QgsPoint objects have to be copied). Changed QgsVectorlayer::draw to use the new method of QgsCoordinateTransform
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 14:41:55 +00:00
mhugent
cce9d3a8d7 minor refactoring of QgsRenderItem and QgsRangeRenderItem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1070 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 13:31:50 +00:00
gsherman
4313618955 Removed unneeded BINDIR from AM_CXXFLAGS
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1069 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:49:20 +00:00
gsherman
0f3c348075 Added tools/qgis_config/Makefile to AC_CONFIG_FILES. The qgis_config program is patterned almost exactly after pg_config (PostgreSQL) and can be used to determine the prefix, lib, include, and bin directories of a QGIS install.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1068 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:21:15 +00:00
gsherman
8892ea6c9b Added qgis_config which is patterned almost exactly after pg_config (PostgreSQL) and can be used to determine the prefix, lib, include, and bin directories of a QGIS install.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:17:59 +00:00
gsherman
ad7ae64dd0 Added snapshots for plugin documentation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 04:40:20 +00:00
timlinux
fe03a46dd6 Null detection for labels and got rid of the fprintf stuff that caused raised eyebrows and stern disapproval from Mcoletti
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:37:31 +00:00
timlinux
4a76e9b933 Gui clean up to detect incorrect input file, and to allow hand entered file names. Layer now displays properly in gui after importing.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1064 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:36:19 +00:00
timlinux
2278100d93 Backdated changelog comments I forgot to commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1063 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:02:28 +00:00
timlinux
68b079d4d3 Updated version no
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1062 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:01:51 +00:00
timlinux
a96b1ebb06 Make cancel button work...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1061 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:44:31 +00:00
timlinux
a58d252cdb This is a sample garmin dump file kindly provided by Shuyler for testing....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1060 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:05:29 +00:00
timlinux
fc60fe6bb7 Added gps_importer to make process
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 23:59:11 +00:00
timlinux
44e3978880 This is a c++ first draft of a port of a perl script by Schuyler to import Garmin gps dump files as a shapefile. The resulting imported file will be displayed in the map view. At the moment it only generates a point layer of the waypoints but a future version will generate polylines and perhaps polygons too using similar logic to that used by Shuylers perl stuff. Note this plugin is still under construction and I am commiting it mainly so that other developers can assist me when I get stuck. Also note that the plugins Makefile builds a standalone app based on the plugin gui that can be run separately from qgis.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1058 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 23:38:26 +00:00
mcoletti
8d156a3c00 Version 0.1.0devel8
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:04:56 +00:00
mcoletti
6d02614cef - s/config.h/qgsconfig.h [0]
- qgsconfig.h now has header sentinals

- now will install headers in $(prefix)/qgis/include and libqis.* library in
  $(prefix)/lib [1]

- "src/Makefile" no longer relies on explicit dependencies and uses better
  naming scheme for created source files [2]

Notes:

[0] To eliminate any file namespace collisions.  Unfortunately there will
    still be some macro name collisions.  These are harmless, though annoying.
    What needs to happen is that all header file references to "qgsconfig.h"
    be moved to implementation files, thus breaking any include dependencies
    for external software.

[1] There currently does not exist a way to make this optional; these will
    always install.  In the future, this might be something toggleable by a
    configure script option.  Moreover, there does not currently exist a
    "qgis-config" script for getting command line options for external,
    dependant software; there might be one in a future release.

    I decided to err on including too many header files; almost certainly some
    of the header files that are currently installed can be culled from the
    "to install" list.

    The new make file has two targets: the old qgis application target, and a
    second one for the library.  As plug-ins are developed, there may be a
    need to add more source files to the library to link against.  I just
    added in the bare minimum for the current set of plug-ins.  If more
    sources need to be added, just add them to libqgis_la_SOURCES, near the
    bottom of  "src/Makefile.am".

[2] All *.ui files will create corresponding *.uic.h and *.uic.cpp files.
    Since these also need MOC files, *.moc.uic.cpp files are also
    automatically created.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1056 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:00:55 +00:00
timlinux
1b4acf5aa6 Updated for kdevelop 3 and to not use qmake stuff anymore.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 20:24:53 +00:00
timlinux
a3927ea75d Added thumbnail preview of raster to raster props dialog.
Added drawThumbnail method to rasterlayer.cpp
   Split (overloaded) draw method in rasterlayer.cpp so that some parts of
   the original draw method could be used by drawThumbnail method too.

Fixed a bug in the drawing of pseudocolor single band grayscale images that
   prevented all class breaks being displayed.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1054 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 20:24:00 +00:00
mhugent
f6a2e55780 bugfix related to single marker
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1053 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 18:05:27 +00:00
mhugent
d394dc9c0f added possibility to save and load markers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1052 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 15:35:37 +00:00
mhugent
af9d7c2060 added caption to the dialog for chosing pictures
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-20 16:43:24 +00:00
mhugent
b46956baf5 small change to update the svg pixmap on button in case the scale factor has changed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1050 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-20 15:31:25 +00:00
mhugent
6b151d4a64 added displaying of the chosen svg image to the button
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-20 10:12:09 +00:00
stevehalasz
2314eacf6f a couple of compile fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 16:45:29 +00:00
mhugent
f1f7b5d600 added default scale factor for single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1047 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 15:41:06 +00:00
mhugent
ffb8d1bd04 added displaying of SVG symbol to the pixmap displayed in the legend item
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1046 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 10:53:31 +00:00
gsherman
0453378798 Added qgssymbol.cpp to Makefile.am. An unknown change in the symbology
code apparently added qgssymbol as a dependency. Without it, the plugins
do not load but rather faile with unknown symbol error (QgsSymbol::setColor)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1045 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 01:25:56 +00:00
mhugent
13d3f33c7a single marker renderer now draws svg on the canvas. Code is still messy and incomplete
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-18 14:06:01 +00:00
gsherman
633fba3c32 Fixed dependency for qgsattributetablebase.h (file was incorrectly
specified as gsattributetablebase.h)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1043 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-17 22:21:10 +00:00
mhugent
ac148dffe2 code for marker symbols. Still does not work, but slow progresses
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1042 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-16 16:20:57 +00:00
mhugent
d2bcdcfef1 various changings prior to the marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-16 07:03:45 +00:00
mhugent
581705d889 change to Makefile.am to include the single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-15 07:25:44 +00:00
mhugent
7d0cd28d14 single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-15 07:14:33 +00:00
mhugent
f19cb4f8fd added a dialog for a possible single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-14 15:43:25 +00:00
mhugent
9d33138231 added a dialog for a possible single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-14 15:26:06 +00:00
mhugent
3a41e614c0 added QgsMarkerSymbol, a class which can read and scale svg from files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1036 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-14 14:44:03 +00:00
gsherman
e630d9e459 Updated help for the plugin (still not complete)
Added screenshots to the Makefile.am


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1035 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-13 17:01:38 +00:00
gsherman
676633b932 Added Parse button to reparse the header row if the delimiter is changed
Added layer name field to specify the name as it will appear in the legend
Added WhatsThis help and tooltips for all widgets on the dialog


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-13 17:00:37 +00:00
mhugent
97d06d31de code cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1033 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-13 15:33:21 +00:00
timlinux
ad68a231ce Misc updates to get oM plugin working. oM plugin is not part of build unless you add it to toplevel configure.in and plugins/Makefile.am because it has external library dependency to openModeller
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1032 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 23:34:38 +00:00
gsherman
cec74d6a94 Added functions to return menu ids by name and menu name by id.
These were added to the interface classes for use by plugins
NOTE - The utility of these functions is questionable and they
       may be removed in the future


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1031 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:53:12 +00:00