202 Commits

Author SHA1 Message Date
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
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
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
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
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
009020760f Renamed plugin source files to something more meaningful
Removed previous files
Modified Makefile.am to support file changes
Added a Help button to the dialog


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1025 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:40:38 +00:00
mcoletti
6a6c908676 Added GDAL_CFLAGS to find GDAL headers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1020 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 19:19:01 +00:00
gsherman
3e4af87507 Modifed ternary statement to return QString::null if the file is not valid
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1016 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 02:58:07 +00:00
gsherman
7fa893e514 Updated icon for plugin
Added WhatsThis help to the plugin toolbar and menu entry


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1015 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 02:56:11 +00:00
gsherman
4d1cdf56aa Changed embedded image format to XPM.GZ to eliminate the duplicate const error when compiling with Qt 3.2 or older
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1014 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 01:00:38 +00:00
gsherman
305739a1c5 Fixed version number in .ui file to allow compilation under Qt versions prior to 3.3
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1013 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 00:49:55 +00:00
gsherman
1677a5f431 Initial checkin of delmited text plugin files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1005 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:16:52 +00:00
gsherman
9563a11336 Added delimited_text plugin to Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1004 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:14:50 +00:00
gsherman
00992f5c06 Fixed include for qgisapp.h to local
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1003 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:14:14 +00:00
mcoletti
b4bf9180a8 - Promoted name, description, version, and type strings to QgisPlugin base
class.

- Type now a formal enumerated typedef

- Propogated changes forward to existing plug-ins


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-08 23:50:05 +00:00
jobi
29c30a46d7 - Changed configure stuff to write DEFINES in config.h.
Postgresql stuff needs testing as I commented the compileflags in src/Makefile.am
- Infos will be posted on the devel mailinglist


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@983 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-05 23:30:29 +00:00
gsherman
1de5f298e3 Made changes required by refactoring QgsField
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-29 01:59:55 +00:00
gsherman
f1e6d64754 Modified call to addVectorLayer so that the proper parameters are passed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@957 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-27 17:48:51 +00:00
jobi
79c37135dc fix bug #904001 and 904000
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@946 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-26 17:17:16 +00:00
timlinux
bd1bb451b4 The openmodeller plugin files and gui
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@943 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-26 06:05:02 +00:00
timlinux
72c4a1404b Openmodeller includes - these will be removed again when I have a proper confgure setup in place.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@942 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-26 06:01:37 +00:00
timlinux
814ca955b1 Openmodeller includes - these will be removed again when I have a proper confgure setup in place.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@941 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-26 05:55:09 +00:00
jobi
cbe1fa28b0 Fixed bug #904000 Make release includes generated files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@934 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-25 11:00:28 +00:00
gsherman
ce3a465637 Rolled in latest changes from the standalone spit application. Changes to connection dialog to support port number. Changes to help text.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@924 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-25 07:03:50 +00:00
timlinux
492a72c17a Removed call to getInt()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 23:17:27 +00:00
timlinux
61e8402b46 Replaced call to getInt (which is just a dummy method) with a call to get the name of the currently active layer.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 06:52:14 +00:00
gsherman
e7514e8eeb Fixed type in install directory path
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 06:45:02 +00:00
gsherman
079c613eea Fixed type in install directory path
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@900 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 06:25:22 +00:00
timlinux
8c3801d0a8 Use qgis logo as default icon for new plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 09:36:59 +00:00
timlinux
0ee1862ce1 Added descriptions for each required input.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 09:31:15 +00:00
timlinux
f9a6122306 Fixed connect to vectorlayer slot
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:50:28 +00:00
timlinux
7041623088 Removed references to deprecated signal handlers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:45:46 +00:00
timlinux
6ea5314999 Fixes for add vector layer signal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:43:27 +00:00
timlinux
3d00c719b8 Fixed call to add vector layer. Other minor bugfixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:38:09 +00:00
gsherman
d7ddfc3a16 simplified global replace of template parameters
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:18:22 +00:00
timlinux
8d043a38d2 Added readme for plugin template dir. Fixed improperly names Gui instance.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:11:29 +00:00
gsherman
48a7e0030f fixed a couple of typos
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@887 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:54:10 +00:00
gsherman
f8e4e48020 removed shell script
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:53:10 +00:00
gsherman
2992d79301 perl script to build a new plugin source tree and add the appropriate lines to the build system
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@885 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:52:23 +00:00
timlinux
72f7ed17ae Fixed incorrect header ref.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 01:45:01 +00:00
timlinux
4f1902fd79 First stab at a bash script to automate creation of a new plugin from the template. Not working yet :-(
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@882 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 23:55:06 +00:00
timlinux
edfde1b4e6 This is the initial commit for the qgis plugin template. The template consists of:
class Plugin (a subclass of QgisPlugin)
class PluginGuiBase (supplied as a simple qdialog ui)
class PluginGui (the subclass of PluginGuiBase)

The only thing the user would need to change in the makefile is the name of the .so
so you just copy the plugin template dir to a new dir under plugins, change the .so name in the makefile add the plugin dir the configure.in and the plugin dir makefile.

I will be adding a bash script file soon that automates the above process. This template development is in progress.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 22:28:45 +00:00
gsherman
90e6ba84bd changed #ifdef DEBUG to #ifdef QGISDEBUG to fix rh/fedora problem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:17:36 +00:00
gsherman
fc4f5ed8b9 latest spit changes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@857 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 18:01:56 +00:00
jobi
c70ac6993c Added make release, what creats a tar.gz and a tar.bz2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@855 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 17:28:18 +00:00
gsherman
e2e0a1fb16 icon for spit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@852 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:53:04 +00:00
gsherman
bb5ca0814d latest fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@851 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:44:16 +00:00