893 Commits

Author SHA1 Message Date
mhugent
b2da5b02bc added some comments and removed a bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@1115 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-28 14:01:49 +00:00
mhugent
13cc29b5d6 dialog to choose marker symbols can now be used. Small problems related to keyboard focus are still subject of work
git-svn-id: http://svn.osgeo.org/qgis/trunk@1114 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-28 09:49:36 +00:00
timlinux
e7a153e9f5 Added ifdefs to check if DISPLAY var is set and create qapp accordingly. Still need to implement a version of qgisapp that has no qwidget derived classes for non-interactive mode to work correctly.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1113 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-28 00:44:52 +00:00
timlinux
6a108e6896 Comments and minor version increment for snapshot fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@1112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-28 00:05:12 +00:00
timlinux
760892cdbb Fix for snapshot mode. Liberal application of processEvents() seems to do the trick. Note that snapshot mode still requires a DISPLAY even though no gui stuff is actually shown. In the future snapshot should be implemented using non-interactive mode if possible.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1111 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-28 00:00:04 +00:00
timlinux
65595d0e41 Improved session management so that layers list from last use of plugin gui are remembered.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 14:53:54 +00:00
jobi
2b1cd15e0f ** autogen.sh now passes paramters to configure
** fixed tools/qgiscommit by using mktemp, thanx mcoletti
** pluginpath is now taken of libdir to be 64bit compliant (e.g./usr/lib64/qgis)


git-svn-id: http://svn.osgeo.org/qgis/trunk@1109 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 13:50:25 +00:00
timlinux
9fb6e09da6 These files should not be in cvs they are generated by moc
git-svn-id: http://svn.osgeo.org/qgis/trunk@1108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 12:41:16 +00:00
mhugent
b9cab781fb added classes for a dialog to select markers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1107 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-27 11:55:07 +00:00
mcoletti
b5aee9e66e QGuardedPtr can only be used on classes derived from QObject. Since OGRFeature
isn't derived from QObject it was inappropriate to use QGuardedPtr for
OGRFeature objects.  Fixed to use old fashioned pointer checking and deleting.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1106 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 22:52:10 +00:00
mcoletti
4f120dc186 - plugged memory leak in QgsShapeFileProvider::getFirstFeature() whereby the
OGRFeature wasn't getting destroyed

- made getFirstFeature() a little more robust with regards to handling memory
  related errors

- implementation files should include their own headers first, so moved its
  #include accordingly to top; the meant creating class forward declarations
  in header file.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1105 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 22:29:54 +00:00
mhugent
d57835a2b7 passing window focus back to the vector properties dialog after chosing a color/ linestyle/ image
git-svn-id: http://svn.osgeo.org/qgis/trunk@1104 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:44:28 +00:00
gsherman
96fed52767 Added GRASS support from Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk@1103 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:42:11 +00:00
gsherman
50a0b01fe2 Added GRASS provider from Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk@1102 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:37:07 +00:00
mcoletti
8bcfa6465b Corrected error in which <iostream> wasn't getting included in implementation
file.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1101 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 17:20:53 +00:00
jobi
b97ec7a55e ** forgot to remove tempfile
git-svn-id: http://svn.osgeo.org/qgis/trunk@1100 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 13:48:57 +00:00
jobi
a3dfa93b82 Removed Newline after statusline
Should work now fine!
Have fun


git-svn-id: http://svn.osgeo.org/qgis/trunk@1099 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 13:30:49 +00:00
jobi
d11a6ed5d5 Added qgiscommit tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@1098 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 13:23:55 +00:00
jobi
0cd8c68514 updated changelog and version
git-svn-id: http://svn.osgeo.org/qgis/trunk@1097 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 12:24:40 +00:00
timlinux
c802cdf3ac Added missing bracket in init function.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1096 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 11:58:21 +00:00
mhugent
a95aff130d fix for crashes when chosing very small scale factors in the single marker dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@1095 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 11:23:48 +00:00
jobi
27777b21ce Fixed bug #920070
Made plugin-libdir 64bit compatible


git-svn-id: http://svn.osgeo.org/qgis/trunk@1094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 11:10:51 +00:00
gsherman
8ea97250ab Changed parsing/splitting to use regular expressions. This allows special
characters such as tab (\t) to be specified.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 05:54:17 +00:00
gsherman
2685d713b3 Added qgsfield.cpp to libqgis_la_SOURCES so it gets built into the library.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 04:45:34 +00:00
timlinux
4a0b04c8bb Changed wkt entry box to a combo and coded the wkt projections into code itself. Various other minor changes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1091 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 01:17:59 +00:00
mcoletti
c8445d7b44 qgisapp.cpp :
- moved #include <qgsconfig.h> to header

qgisapp.h :

 - #include <qgsconfig.h> moved here because otherwise addDataBaseLayer() not
    declared

qgisappbase.ui.h :

 - added debug statement for when QgisAppBase::addDatabaseLayer() invoked
   instead of QgisApp::addDataBaseLayer()

qgsvectorlayer.h

 - deleted extra #include <map>


git-svn-id: http://svn.osgeo.org/qgis/trunk@1090 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 22:18:58 +00:00
mcoletti
5a45049672 This file, too, was inadvertantly commited to CVS and has been restored to its
prior version.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1089 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 21:13:54 +00:00
mcoletti
ddb6377a85 While making changes for the new plug-in library and Makefile.am structure, I
inadvertantly made changes to this file that apparently broke dependent
files.  This restores the ui file to the previous, working version.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 20:49:03 +00:00
timlinux
74379d89b4 Disabled standalone build profile for now
git-svn-id: http://svn.osgeo.org/qgis/trunk@1083 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 23:44:24 +00:00
timlinux
02214f006e Replaced image of gps and set grid layout for form.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 21:57:55 +00:00
timlinux
4e4537598c Added missing list.cpp file
git-svn-id: http://svn.osgeo.org/qgis/trunk@1081 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 16:13:24 +00:00
mhugent
1915e39a32 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@1080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 10:18:43 +00:00
timlinux
0f6a5c57c5 Forgot to add this file...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 09:25:18 +00:00
timlinux
ad0d5933d7 Removed default values in constructor.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:39:51 +00:00
timlinux
6babb2b61e Removed calls to om _log global
git-svn-id: http://svn.osgeo.org/qgis/trunk@1077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:38:59 +00:00
timlinux
fe79a25819 Updated to build standalone om gui too - still not working properly yet though methinks...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:36:31 +00:00
timlinux
071101805d 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@1074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:15:41 +00:00
timlinux
408ed3290c 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@1073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:08:50 +00:00
timlinux
c230f50481 Changed include from config.h to qgsconfig.h
git-svn-id: http://svn.osgeo.org/qgis/trunk@1072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 15:06:22 +00:00
mhugent
24d46b5144 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@1071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 14:41:55 +00:00
mhugent
875b165fb6 minor refactoring of QgsRenderItem and QgsRangeRenderItem
git-svn-id: http://svn.osgeo.org/qgis/trunk@1070 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 13:31:50 +00:00
gsherman
89f0dfae98 Removed unneeded BINDIR from AM_CXXFLAGS
git-svn-id: http://svn.osgeo.org/qgis/trunk@1069 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:49:20 +00:00
gsherman
b07a723ec8 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@1068 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:21:15 +00:00
gsherman
13d7711a5b 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@1067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:17:59 +00:00
gsherman
6ad2f8250f Added snapshots for plugin documentation
git-svn-id: http://svn.osgeo.org/qgis/trunk@1066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 04:40:20 +00:00
timlinux
8db24974d5 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@1065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:37:31 +00:00
timlinux
b19df29e5e 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@1064 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:36:19 +00:00
timlinux
cee9e1c371 Backdated changelog comments I forgot to commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@1063 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:02:28 +00:00
timlinux
46eafcefe6 Updated version no
git-svn-id: http://svn.osgeo.org/qgis/trunk@1062 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:01:51 +00:00
timlinux
55fb9812b0 Make cancel button work...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1061 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:44:31 +00:00