57 Commits

Author SHA1 Message Date
g_j_m
996b0f8b55 Bug fix: Plugin menu wasn't starting the plugin gui
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:37:48 +00:00
g_j_m
c6e51c1151 Plugin gui code was being linked into the standalone version, resulting in
unresolved linker errors (problem exposed with the change in how the plugin
creates menus in qgis).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:30:51 +00:00
g_j_m
155b444b29 Changed to use the new way of setting up its entry in the plugin menu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 19:58:58 +00:00
g_j_m
9a9c27f2e1 Bug fix: local variable was obscuring a class member variable meaning
that the relevant plugin menu item was not being removed when the
plugin was removed


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3200 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 12:29:03 +00:00
telwertowski
e77f68e937 Remove unused compile-time path flags (instead of putting them inside
a !HAVE_QTMAC conditional).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3143 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:26:14 +00:00
gsherman
7d97d0584a Applied patch from M. Loskot
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 04:48:05 +00:00
timlinux
d22fd1fd2d Changed ui version to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2716 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-26 12:39:29 +00:00
gsherman
78e2dcab97 Added tr() to user visible string so they can be translated.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2686 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-21 06:31:06 +00:00
gsherman
04eaf1b621 Changed description in the column editor so as not to confuse the
user when there are no columns names that are reserved words.
Bug 1103390


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2685 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-21 05:56:28 +00:00
gsherman
2b3fc797a3 Changes from mloskot to allow editing of geometry type
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2684 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-21 05:30:20 +00:00
g_j_m
651c647cc8 More .cvsignore files. Should be all done now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
gsherman
9493aca366 Merged changes from the 0.6.0 release branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-20 07:13:35 +00:00
gsherman
d0c20ab8a8 Beginning of GIST index implementation for spit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2382 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-12-01 03:53:40 +00:00
telwertowski
3a4ba7e0e8 Remove font <family> tags so that the default font for each platform is used.
Odd fonts and button sizes were being displayed on a Mac when a font not present on a Mac were specified.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2368 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-29 04:26:40 +00:00
gsherman
5f4ad90496 Icons for the field name editor -- left out of previous commit -- sorry...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2361 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 16:34:43 +00:00
gsherman
60673069c6 Spit stores last shapefile directory used in qgisrc (or registry) and
uses it the next time the Add files dialog is opened.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2360 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 07:04:40 +00:00
gsherman
41fa0fcb43 Implementation of reserved word handling. Reserved PostgreSQL keywords are
detected and the user is given the change to change the column names prior
to import into the database. Column names can be changed for any field if
desired.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 05:49:30 +00:00
gsherman
ccc435df04 Dialog for editing column names prior to loading into postgresql
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-28 05:46:10 +00:00
gsherman
c77391fe48 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/qgis@2332 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-25 06:00:39 +00:00
timlinux
92e1be151a 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/qgis@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +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
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
sbr00pwb
61df2f9a1c SPIT gui's tidied to conform with the format of the other plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1552 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-10 15:39:56 +00:00
gsherman
57c29d4b03 Added the getSchema call to the constructor so the schema drop-down
is populated. Since spit is both a plugin and standalone app, getSchema
was called in main in the standalone version and not called at all for
the plugin.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1486 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 16:51:54 +00:00
gsherman
22da6ac3db Added icon to spit menu.
Minor comment revisions


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-23 23:07:41 +00:00
timlinux
05bbd07584 Changed ui version to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-23 11:19:31 +00:00
jobi
4ec847d71c ** Changed to simple macros for detecting QT and GDAL
** Added code for detecting QGIS as m4 file to tools
** this will be installed together with QT and GDAL detection to
   $prefix/share/aclocal/qgis.m4
   so the plugins can just use those simple unique macros
** updated German translation
!! Developers have to link the installed qgis.m4 to /usr/share/aclocal/
!! or where ever aclocal keeps the m4 files
!! otherwise it's not detected by the plugins autogen.sh (more exactly
!! aclocal)
!! It can be cheated by adding -I path/to/qgis.m4 to the aclocal of
!! autogen.sh. But be carefull not to commit that to CVS


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-18 23:44:41 +00:00
jobi
9c2601d125 ** fixed strange warning: object 'foo.$(OBJEXT)' created both
with libtool and without
** also cleaned the other Makefiles that way


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-31 22:06:54 +00:00
jobi
360c3e87e7 A lot of small changes to make release work again
Probably more cleaning in the Makefiles needed


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1121 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-30 22:23:08 +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
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
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
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
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
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
gsherman
86ffb46e51 added version function to return version without instantiating the plugin object
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@805 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:46:44 +00:00
gsherman
ccb4f2fc59 fixes to meta table handling and other bugs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@790 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:46:39 +00:00
gsherman
7218825707 change to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@789 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:45:46 +00:00
gsherman
2069a6dac4 didge updates to gnu build configuration
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 03:56:45 +00:00
gsherman
dcb013fe7d plugin manager now actually manages plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@726 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 04:08:10 +00:00
gsherman
d32d11a504 added interface for positioning menu items from plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@711 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-06 07:04:05 +00:00
gsherman
8f88fdf93a fix for handling special characters
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@666 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-01 02:18:53 +00:00
gsherman
14ffec34d5 fix for handling special characters
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@664 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-01 02:11:21 +00:00