1902 Commits

Author SHA1 Message Date
mcoletti
dadebea3a6 Added tests for QgsProject::clearProperties()
git-svn-id: http://svn.osgeo.org/qgis/trunk@2677 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 23:09:32 +00:00
mcoletti
eb773960fd Added tests for removeEntry()
git-svn-id: http://svn.osgeo.org/qgis/trunk@2676 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 23:07:31 +00:00
mcoletti
6224352a76 Now test that write entry members properly set dirty bit.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2675 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 22:03:37 +00:00
mcoletti
a7950c5a14 - write entry members now set dirty bit
- start of entryList(); NOT FINISHED YET


git-svn-id: http://svn.osgeo.org/qgis/trunk@2674 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 22:03:09 +00:00
mcoletti
fad8e586d4 Now test reading and writing key entries.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2673 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 21:54:23 +00:00
mcoletti
ce022560f1 Now test for reading empty key entries correctly. Made member names more standards compliant.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2672 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 21:22:30 +00:00
mcoletti
589203d85f Added two more tests. Fixed bug whereby Qgis include path was not set.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2671 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 21:00:11 +00:00
mcoletti
19fbf33623 Added cppunit URL to README.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2670 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 20:52:26 +00:00
mcoletti
28ae79b5ca Initial commit of QgsProject test suite. Only two tests with this version.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2669 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 20:51:24 +00:00
g_j_m
690cbea990 Attribute actions can now optionally capture any standard output or error from
the action and display the results in a dialog box.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2666 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 09:47:26 +00:00
gsherman
6e87fa2911 Added cppunit url to readme
git-svn-id: http://svn.osgeo.org/qgis/trunk@2656 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-18 19:59:45 +00:00
rabla
644e444790 patch by jzbikowski for compilation without postgres
git-svn-id: http://svn.osgeo.org/qgis/trunk@2647 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-17 08:29:32 +00:00
mhugent
a3ac06668c fix for snapping tolerance bug and some changes in the attribute editing methods in the vector provider interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@2645 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 20:50:32 +00:00
g_j_m
a95a9b2d17 Changed calls to QButtonGroup::selectedId() to an alternative set of
calls because Qt 3.1.2 and earlier don't have this function (which is
a problem because qgis then doesn't compile on my work computer).


git-svn-id: http://svn.osgeo.org/qgis/trunk@2644 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 20:36:29 +00:00
timlinux
a020c743dd Projection widgets in props dialog are disabled for now until projection support comes back out of side branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@2639 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:44:02 +00:00
gsherman
f195828ea3 Added more tests
git-svn-id: http://svn.osgeo.org/qgis/trunk@2637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:11:43 +00:00
gsherman
7b4a962012 Added code to morph the projection WKT when loading a shapefile.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2636 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:10:20 +00:00
gsherman
2dfdc52353 More debug on projection operations. Added proj4 parameter output when
inversing the view rectangle.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:08:53 +00:00
mhugent
c85b1b6d88 added some consts
git-svn-id: http://svn.osgeo.org/qgis/trunk@2634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:59:14 +00:00
mhugent
8334df21b3 added methods for attribute editing in the vector data provider interface. First implementation in the postgresprovider, but not yet tested
git-svn-id: http://svn.osgeo.org/qgis/trunk@2633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:32:42 +00:00
gsherman
e4b8530a61 Test suite for projection related classes/functions. Requires cppunit to
run the tests. See the README in each directory for information on building
and running tests.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2632 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 18:19:27 +00:00
g_j_m
8ea753eccb Bug fix - order of automatic/manual radio button id's changed on me, so
code was interpreting automatic as manual and vica-versa.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 10:16:57 +00:00
g_j_m
f3d6187811 set designer version to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@2629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 09:57:46 +00:00
g_j_m
a1224cfda9 - UI to allow manual setting of the number of decimal places used in the
display of the mouse position.

- Only calculate the number of decimal places if the scale has
changed (previously it was done every time the mouse moved).

- Bug fix for the project properties dialog box (changing the units and
then clicking on cancel didn't cancel the change in units)


git-svn-id: http://svn.osgeo.org/qgis/trunk@2628 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 09:54:40 +00:00
mcoletti
d920127466 Changing units now sets dirty bit.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-14 22:15:06 +00:00
mhugent
7ccc9955d8 fix for crash occuring when clicking with an editing tool into the empty map
git-svn-id: http://svn.osgeo.org/qgis/trunk@2626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-14 21:37:43 +00:00
gsherman
4580f96410 Added header block to qgscoordinatetransform.cpp
Cleaned up the const char * to char * cast ugliness


git-svn-id: http://svn.osgeo.org/qgis/trunk@2623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 06:08:16 +00:00
timlinux
7b3eca2ba8 Fixed small glitch in debug message
git-svn-id: http://svn.osgeo.org/qgis/trunk@2620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 01:50:33 +00:00
timlinux
b17a1c38a4 Wrapped some project debug statements in QGISDEBUG defs.
Implemented try...catch error handlers for all calls to QgsCoordinateTransform


git-svn-id: http://svn.osgeo.org/qgis/trunk@2619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 01:15:41 +00:00
g_j_m
91deb4c529 Automatically set the number of decimal places in the mouse
coordinates display. Manual override to follow.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2618 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 00:45:37 +00:00
timlinux
7d3b71f86a Close rather than reject dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@2617 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:13:37 +00:00
timlinux
4c6a5ecda4 Minor change to comments
git-svn-id: http://svn.osgeo.org/qgis/trunk@2616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:12:49 +00:00
timlinux
ab866ee5a0 Moved qgscoordinatetransform accessor into the implemetation file
git-svn-id: http://svn.osgeo.org/qgis/trunk@2615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:03:12 +00:00
timlinux
852eaa652a Comment out exception handlers as they cause segfaults when called
git-svn-id: http://svn.osgeo.org/qgis/trunk@2614 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 09:59:42 +00:00
g_j_m
a675f5794d Added pattern for .qm files
git-svn-id: http://svn.osgeo.org/qgis/trunk@2613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 05:37:47 +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
g_j_m
ae2417cbd8 Back out of a commit that I didn't intend to do
git-svn-id: http://svn.osgeo.org/qgis/trunk@2611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 21:57:42 +00:00
g_j_m
6ed06572d5 Added .cvsignore files to remove cvs update warnings. More to follow.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 20:26:46 +00:00
timlinux
853d5a31ac Changed vector props metadata to html and addde info about coordinate system.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2609 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 02:55:04 +00:00
stevehalasz
19e478dcff Add comments to clarify use of affine transform
git-svn-id: http://svn.osgeo.org/qgis/trunk@2608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 23:21:56 +00:00
gsherman
61fd2dc654 Renamed qgsshapefileprovider to qgsogrprovider to better reflect its
function/purpose.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 17:43:07 +00:00
gsherman
dc87fcd8aa Fixed selection bug that resulted in selection of more features than those
under the selection rectangle. Selection of features from a multipart polygon
layer is still unacceptably slow.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 17:23:05 +00:00
mhugent
52c3054b93 removed selection of point capture if the capture popup button is clicked
git-svn-id: http://svn.osgeo.org/qgis/trunk@2605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 12:06:12 +00:00
timlinux
6d6178296b fixed the 'proj props dies on second opening' bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@2604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:55:41 +00:00
timlinux
570bc7ba04 Fix for selection colour not being set properly
git-svn-id: http://svn.osgeo.org/qgis/trunk@2603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:45:35 +00:00
mhugent
ff4ab77621 read line style for digitizing from QgsProjectProperties
git-svn-id: http://svn.osgeo.org/qgis/trunk@2602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:17:18 +00:00
mhugent
979259ac44 fix for polygon rendering problems
git-svn-id: http://svn.osgeo.org/qgis/trunk@2601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 09:32:57 +00:00
timlinux
512dcc2498 Updates for user defined selection colour....still needs some attention
git-svn-id: http://svn.osgeo.org/qgis/trunk@2600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 02:34:16 +00:00
gsherman
847bea979b Implements reading of users custom coordinate system file
git-svn-id: http://svn.osgeo.org/qgis/trunk@2599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 23:56:44 +00:00
gsherman
7347bd25ee Tree is now expaned automatically to show the active projection
git-svn-id: http://svn.osgeo.org/qgis/trunk@2598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 22:32:56 +00:00