452 Commits

Author SHA1 Message Date
mcoletti
71b0638251 qgsgrassedit.h:
- added include for <vector>

qgis.h:

  - added WKBUnknown to enumerated list to be used as error state

qgisapp.cpp:

  - fixed a for loop

qgisapp.h, qgisiface.h, qgslegend.h, qgslegenditem.h, qgsmapcanvs.h, qgsvectorlayer.h:

  - made copy ctor and assignment operator private since we won't be copying
    any of these

qgsattributetable.cpp, qgsrasterlayer.cpp, qgssymbologyutils.cpp:

  - functions that say they return something should actually return something

*renderer.h:

  - made dtors virtual

qgscoordinatetransform.h:

  - added initializer for xMax

qgsgeomtypedialog.cpp:

  - added return of WKBUnknown when given bad data

qgslabel.cpp, qgslabeldialog.cpp:

  - used static_cast to stomp compiler warning

qgsmapcanvas.cpp:

  - made CanvasProperties a class form struct, partly to find work-around for
    gcc bug and partly to ensure that ctor and assignment operator were
    disabled

  - ensured that members were in the same order in initializer list as they
    were declared

  - now use QgsScaleCalculator::units

qgsproject.cpp:

  - now read and write map units; still need to tie it in with more code

qgsprojectproperties.cpp:

  - now use canonical map units stored in QgsProject singleton object

qgsscalecalculator:

  - now prefer to use QgsScaleCalculator::units instead of int


And many minor formatting changes.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 17:28:03 +00:00
larsl
7346f14a79 Added some missing connections
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2169 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-24 00:23:48 +00:00
larsl
4643079b39 ** Removed more unused code in the GPS plugin, changed the GPS plugin source
to follow the coding standards better


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 13:16:58 +00:00
larsl
42a35cdc97 Should maybe add the new files too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:30:56 +00:00
larsl
6e5014e866 ** Some changes in the GPS plugin:
* Changed the tooltip of the action from "GPS Importer" to "GPS Tools"
   * Removed some old unused code
   * Made the upload/download tools much more flexible by letting users
     specifying "devices" with upload and download commands
   * Remember the last used device and port for uploads and downloads
   * Remember the last directory that a GPX file was loaded from


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2159 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:24:31 +00:00
mcoletti
c84e6aae6c Merged in qgsproject-branch changes.
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.

Note that this hasn't been tested with windows versions.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00
gsherman
74c42d09fe Sorted and reformatted dependency lists
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2119 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-12 02:18:58 +00:00
gsherman
0c60c51c39 Merged changes in 0.5 release branch to MAIN
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +00:00
rabla
5bcba71424 destructor fix
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-30 09:21:53 +00:00
rabla
44021a1108 isEditable conflict
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-29 09:41:06 +00:00
mhugent
6769603abb added qgsvectordataprovider interface and start editing/ stop editing for vector digitising
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-27 21:30:27 +00:00
larsl
fdd4e07ef2 ** Removed support for loading Geocaching.com LOC files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-23 09:07:50 +00:00
larsl
8f97632f5b ** Fixed bug in scale_bar plugin that would cause QGIS to freeze when a
layer with one point was loaded


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-12 14:58:05 +00:00
larsl
5bc16a1b84 ** The device lists in the GPS plugin should show /dev/ttyUSB* devices too
now (for serial USB adapters) on Linux


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1990 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-12 10:05:54 +00:00
timlinux
3266518188 Fix misbehaving north arrow plugin....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1968 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-06 21:59:17 +00:00
gsherman
96a0e85577 * Fixed bug that caused qgis to crash when a plugin was unloaded. All plugins
must now have a QAction member pointer that is created when the GUI is
  initialized in initGui(). This pointer is used in the unload() method to
  remove the QAction and associated icon from the plugins toolbar.

* Updated splash for upcoming 0.5 release


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
9e5e65617f Add icon in shared icon bar rather
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 18:47:51 +00:00
timlinux
dbd4f6e281 Use the new unified plugins toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
larsl
5afaab8379 Added download devices for Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 14:27:10 +00:00
gsherman
490d371370 Added com1 and com2 for windows devices
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:12:55 +00:00
gsherman
35091aa2e2 Qmake .pro files for gps provider and importer and spit (win32 build system)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:11:01 +00:00
gsherman
b85be5ecb0 Modified declaration for extern "C" functions so they work in win32
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 19:07:09 +00:00
gsherman
f176341c46 Updated win32 build environment to include spit plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 19:06:00 +00:00
gsherman
495a22df83 Updated win32 build environment to include gps plugin and provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:37:46 +00:00
gsherman
d7a174129b Modified declaration for extern "C" functions so they work in win32
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:28:29 +00:00
gsherman
26b5989f62 Enabled link with libqgis.lib (win32)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:27:30 +00:00
rabla
b9878ffd80 tools widget flags changed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1872 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 15:22:27 +00:00
gsherman
c3159abefb Changes for Win32 support - no new features
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-15 00:52:47 +00:00
timlinux
c8643f5469 Fixed build error with ui
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1862 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-14 10:34:51 +00:00
rabla
a8ea6c39de region
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1845 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-04 15:22:49 +00:00
rabla
c1812e4bd6 attribute table
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1844 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-02 15:56:28 +00:00
rabla
5a5e4c3db1 -
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-30 16:25:48 +00:00
rabla
3da71eb94f symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1841 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-30 16:24:26 +00:00
rabla
3cd0dedd90 edit attributes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1835 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-29 12:49:13 +00:00
rabla
9450a7bc61 edit attributtes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-29 12:46:36 +00:00
gsherman
2b17ddeba2 Qmake project files for win32 build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-15 01:10:40 +00:00
rabla
564e4e9166 path to libgrassprovider.so changed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1753 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-13 09:43:21 +00:00
rabla
3e7cdebc8e Check if GISBASE is set
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1751 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 17:34:30 +00:00
rabla
67da214d93 edit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 15:25:37 +00:00
rabla
7834a64708 default edit icons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1747 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-12 15:22:05 +00:00
larsl
cc7317d110 Close the dialog when a GPS operation is done (broke it in earlier commit)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1735 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-06 17:03:38 +00:00
larsl
ca517e06ba ** Moved lots of code from PluginGui to Plugin in the GPS plugin, use signals
and slots for communication


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1731 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-05 09:43:46 +00:00
jobi
dd58213216 ** made ready for release
** added interface version for libqgis


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1710 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-30 11:30:40 +00:00
jobi
db453e2eb6 ** fix bug #981159
** cleaned warnings


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1697 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-28 11:08:18 +00:00
larsl
dec504b582 ** Enabled GPS upload code again
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1692 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-27 21:26:07 +00:00
timlinux
48a46d0a40 Made the scale bar units intelligently switch between m and km as appropriate.
Made the scale bar max lenght 1/3 screen rather than 1/2


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1688 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-27 00:09:25 +00:00
timlinux
a8cee634d5 Fix for const const error caused by incorrect version of designer.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1667 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-24 11:51:48 +00:00
gsherman
54d80c6840 Qmake project files for building on Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1661 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-23 04:15:55 +00:00
sbr00pwb
86aa4dd52d Tidied up scale bar plugin for release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1658 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-22 21:17:50 +00:00
larsl
ccb8700295 UI version 3.2 -> 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1655 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-22 09:06:22 +00:00