426 Commits

Author SHA1 Message Date
gsherman
f77150b2ad Added text file preview to the plugin and changed the logic so the delimiter doesn't have to be entered first.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2342 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 22:00:44 +00:00
gsherman
82d5e91bd3 Fix for delimited text files having a delimiter at end of each line
git-svn-id: http://svn.osgeo.org/qgis/trunk@2337 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 18:19:26 +00:00
timlinux
f3d77eb924 Save colour of scale bar in project too...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2336 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 00:25:43 +00:00
timlinux
f7d95cde22 Scale bar settings saved with project and minor tweaks to north arrow and copyright label plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@2335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:56:34 +00:00
timlinux
9876b25a08 POV...persistance of vision for North Arrow (ie north arrow settings are saved with your project now...)
git-svn-id: http://svn.osgeo.org/qgis/trunk@2334 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 23:33:05 +00:00
sbr00pwb
5e95b68935 fix ui to build with QT3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@2333 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 16:03:38 +00:00
gsherman
0acaf25e40 first implementation of save delimited text file as shapefile once its loaded into qgis. Some things are still rough -- I'll clean it up some more in the next day or so...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2332 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 06:00:39 +00:00
timlinux
11f575408a By popular request.....delimeter box comes before filename
git-svn-id: http://svn.osgeo.org/qgis/trunk@2331 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 01:36:52 +00:00
timlinux
0a4a1c4a0a Eureka! Project level state handling that works....
git-svn-id: http://svn.osgeo.org/qgis/trunk@2326 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 09:14:20 +00:00
timlinux
f834d51d00 Updated to use the super new project api. Write seems to work, read state is not working due to problems with qgsproject I think....
git-svn-id: http://svn.osgeo.org/qgis/trunk@2317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 23:34:57 +00:00
timlinux
b1f25750aa Comment out project stuff while transition to new api takes place...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2298 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:45:07 +00:00
timlinux
3a6e7a0215 Yet another non existong ui.h file removed for release make target
git-svn-id: http://svn.osgeo.org/qgis/trunk@2280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:27:57 +00:00
timlinux
10d12f02af Extra dist was trying to deploy non exsiting qgsgpspluginguibase.ui.h
git-svn-id: http://svn.osgeo.org/qgis/trunk@2278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:17:31 +00:00
timlinux
f7bcfeeea9 Connect up to projectRead signal...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 17:51:08 +00:00
telwertowski
3be0826be2 Prefix all paths to supporting files on Mac OS X with qApp->applicationDirPath()
git-svn-id: http://svn.osgeo.org/qgis/trunk@2251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 08:42:46 +00:00
gsherman
620a2242e5 .pro file fixes for WIN32
Added wait cursor when opening layer properties for vector layers


git-svn-id: http://svn.osgeo.org/qgis/trunk@2244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 06:22:33 +00:00
gsherman
8529bfb7bc Removed test subdir from Makefile.am. Not sure why it was there but it
hoses the build...


git-svn-id: http://svn.osgeo.org/qgis/trunk@2243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 05:17:37 +00:00
gsherman
b69b0996f1 Fixes to get plugins to compile under WIN32
Changes to qgislib.pro to include recently added classes


git-svn-id: http://svn.osgeo.org/qgis/trunk@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
gsherman
ce2003f874 Removed unused/uneeded help function. Help is provided by the geoprocessing
dialog class.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 03:21:55 +00:00
timlinux
c7ba33f0f2 Implemented state handling via qgsproject for copyright label.
Updated _all_ plugins so that initGui() is implemented as a slot.
This is required if you wish to use qgsproject for storing and reinstating state in qgis. The reason for this is that the initGui() method is only called once at the moment when qgis starts up. I will be adding a signal to qgisproject 'projectLoaded' that will be emitted when a new project is loaded. I will also be adding connect() for each plugin when its initially loaded in qgisapp so that the initgui slot is called whenever the project loads.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +00:00
timlinux
5f9c0e9041 Class member naming now adheres to qgis coding standards.
Win ifdefs added
Now in sync with external plugins template (which was more up to date)


git-svn-id: http://svn.osgeo.org/qgis/trunk@2237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 12:59:38 +00:00
timlinux
21a905c843 First implementation of project serialisation - two state handlers on for font family and one for font size.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-11 09:07:00 +00:00
timlinux
aa5b4c530c Added options to graticule builder to allow you to define origin and enpoints and to set the graticule size at < 1 degree. Note that there is little error checking in there still, so putting in dodgy numbers may cause qgis to crash.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2223 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-09 01:04:00 +00:00
larsl
61684d0f78 ** Added menu item for creating an empty GPX file
git-svn-id: http://svn.osgeo.org/qgis/trunk@2194 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-02 19:09:35 +00:00
mcoletti
5a3869e3b3 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@2175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 17:28:03 +00:00
larsl
c47a11c82c Added some missing connections
git-svn-id: http://svn.osgeo.org/qgis/trunk@2169 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-24 00:23:48 +00:00
larsl
a8098bd359 ** 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@2163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 13:16:58 +00:00
larsl
e70619bf5f Should maybe add the new files too
git-svn-id: http://svn.osgeo.org/qgis/trunk@2161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:30:56 +00:00
larsl
2f3f6fc1bf ** 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@2159 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:24:31 +00:00
mcoletti
c149b14a7c 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@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00
gsherman
17f6a608ce Sorted and reformatted dependency lists
git-svn-id: http://svn.osgeo.org/qgis/trunk@2119 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-12 02:18:58 +00:00
gsherman
f5c424a8d6 Merged changes in 0.5 release branch to MAIN
git-svn-id: http://svn.osgeo.org/qgis/trunk@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-04 00:53:49 +00:00
rabla
ca611e7cfb destructor fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@2066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-30 09:21:53 +00:00
rabla
00e070bb7e isEditable conflict
git-svn-id: http://svn.osgeo.org/qgis/trunk@2057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-29 09:41:06 +00:00
mhugent
574e98952a added qgsvectordataprovider interface and start editing/ stop editing for vector digitising
git-svn-id: http://svn.osgeo.org/qgis/trunk@2049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-27 21:30:27 +00:00
larsl
bc9980506e ** Removed support for loading Geocaching.com LOC files
git-svn-id: http://svn.osgeo.org/qgis/trunk@2029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-23 09:07:50 +00:00
larsl
6cdab1d672 ** 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@1995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-12 14:58:05 +00:00
larsl
33f33f55b2 ** 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@1990 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-12 10:05:54 +00:00
timlinux
13ecb913d0 Fix misbehaving north arrow plugin....
git-svn-id: http://svn.osgeo.org/qgis/trunk@1968 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-09-06 21:59:17 +00:00
gsherman
e0fc262363 * 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@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
206c0f7832 Add icon in shared icon bar rather
git-svn-id: http://svn.osgeo.org/qgis/trunk@1955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 18:47:51 +00:00
timlinux
04e51f8fa5 Use the new unified plugins toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
larsl
e5e9d96b45 Added download devices for Windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@1897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 14:27:10 +00:00
gsherman
d87eec9431 Added com1 and com2 for windows devices
git-svn-id: http://svn.osgeo.org/qgis/trunk@1891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:12:55 +00:00
gsherman
1ebd1122fc Qmake .pro files for gps provider and importer and spit (win32 build system)
git-svn-id: http://svn.osgeo.org/qgis/trunk@1890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-18 03:11:01 +00:00
gsherman
3e2238259d Modified declaration for extern "C" functions so they work in win32
git-svn-id: http://svn.osgeo.org/qgis/trunk@1879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 19:07:09 +00:00
gsherman
88c67206c9 Updated win32 build environment to include spit plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@1878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 19:06:00 +00:00
gsherman
3812b96680 Updated win32 build environment to include gps plugin and provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@1877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:37:46 +00:00
gsherman
e6c9691aa5 Modified declaration for extern "C" functions so they work in win32
git-svn-id: http://svn.osgeo.org/qgis/trunk@1874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:28:29 +00:00
gsherman
3609954506 Enabled link with libqgis.lib (win32)
git-svn-id: http://svn.osgeo.org/qgis/trunk@1873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-16 18:27:30 +00:00