2804 Commits

Author SHA1 Message Date
mcoletti
49f0c39c5c - one cannot do QStringList = 0 as a default parameter; QStringList =
QStringList() substituted

- thou shalt pass non atomic function arguments as references or
  pointers (thus saving some memory and copy ctor overhead)



git-svn-id: http://svn.osgeo.org/qgis/trunk@4282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-29 00:31:58 +00:00
mcoletti
ae9d4be811 Now properly clean MOC and UIC files with make clean.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-29 00:20:42 +00:00
mcoletti
2c01500b3e Now make clean removes MOC files.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-28 22:15:51 +00:00
g_j_m
9f81954392 Don't use the postgres information_schema view because earlier versions of
postgres don't have it...


git-svn-id: http://svn.osgeo.org/qgis/trunk@4279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-28 09:10:59 +00:00
morb_au
fae6b55f96 Several improvements related to WMS:
* Adds WMS styles support (think "themes").
* WMS layer selection window only lets you select one style at a time.
* WMS layer selection window can be sorted various ways, including the list order in which it was sent from the server (this helps in keeping lists of months ordered properly).
* Early work for changing the image encoding sent from the WMS server.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 20:51:17 +00:00
telwertowski
2a92fc4b56 Update ToolButton popup menus for Qt4.C
git-svn-id: http://svn.osgeo.org/qgis/trunk@4277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 08:13:51 +00:00
telwertowski
679c52ca37 QApplication needs to be instantiated before applicationDirPath() is called.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 04:25:58 +00:00
timlinux
e7e6629a01 Fix some layout issues
git-svn-id: http://svn.osgeo.org/qgis/trunk@4275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 00:27:31 +00:00
timlinux
e57e06ab9e UI improvements to keep the A-types (ie me) happy..
git-svn-id: http://svn.osgeo.org/qgis/trunk@4274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 00:10:31 +00:00
gsherman
26d058741c Python wrapper code -- testing only
git-svn-id: http://svn.osgeo.org/qgis/trunk@4273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 22:23:23 +00:00
gsherman
dbb0d24e78 Implementation of Qt4 dialog for mapserver export tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@4272 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 03:46:24 +00:00
telwertowski
6897c8dcfb Make X11 selection rect display to the upper left as well as lower right.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4271 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 02:27:06 +00:00
gsherman
df55283a30 Refactoring of QSettings naming conventions. This has been tested but there
may be errors since the base key name for all plugins was changed. The convention
for settings keys used by a pluting is to name the key "/Plugin-MyPluginName/foo".
Thus the delimited text plugin key is /Plugin-DelimitedText and all settings
related to it are stored under it. (I know, commit messages shouldn't be used
to write documentation)


git-svn-id: http://svn.osgeo.org/qgis/trunk@4270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 01:10:29 +00:00
gsherman
1370e5683b Reorganization of the sections in the QGIS configuration file (QSettings).
There may be issues with the implementation -- check to make sure that
the appropriate keys are being used when restoring settings.

Plugins are not affected -- yet.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4269 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-25 23:31:01 +00:00
telwertowski
63076ddcc0 Update selection and zoom rectangles for Qt4.
(Object editing rubberbands are still not updated.)


git-svn-id: http://svn.osgeo.org/qgis/trunk@4268 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-25 19:43:45 +00:00
gsherman
d5fb0e2e98 Quick change to fail configure if Qt 4 is not found. Additional cleanup
to the Qt detection code is required to complete the migration from
version 3.x to 4.x.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4267 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-25 17:53:29 +00:00
morb_au
cbd6248652 qgis/helpviewer should now be compilable under Qt4; Makefile.am more closely follows (e.g.) qgis/plugins/grass, which makes "make clean" work properly.
After this commit you should re-configure qgis, make clean in qgis/helpviewer then build as normal.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4266 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-24 21:45:44 +00:00
gsherman
065a777aaa Converted QSettings to use global organization and application name so
they don't have to be specified in the QSettings constructor. This doesn't
apply to plugins.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4265 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-24 17:18:36 +00:00
gsherman
a4ac1363b1 Fixes for QSettings implementation
git-svn-id: http://svn.osgeo.org/qgis/trunk@4264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-24 00:13:55 +00:00
telwertowski
69ed0628ff Set dialog constructor modal flag to true. This causes the dialog to have the right window type on a Mac.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-23 07:58:09 +00:00
telwertowski
bd0244bdcb Remove font property settings using the default (unspecified) font size from UI files. uic3 (Qt 4.0.1) is generating code which sets the size to 0 instead of the default size. This causes no text to be drawn for X11 and a crash for Macs.
Removing empty attribute blocks has no effect. For non-empty blocks using the default size, the settings have been moved to the implementation class. When the bug is fixed, the settings can be put back in the ui file and removed from the implementation file.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-23 07:08:50 +00:00
timlinux
7e874ee08e Transparency for grayscale images works again
git-svn-id: http://svn.osgeo.org/qgis/trunk@4261 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 17:57:01 +00:00
timlinux
9ca68a0c90 Reinstate nodata in metadata which has mysteriously disappeared from raster metadata...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4260 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 16:38:38 +00:00
timlinux
49748b396f Apply patch from Martin for gentoo friendliness
git-svn-id: http://svn.osgeo.org/qgis/trunk@4259 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 16:05:05 +00:00
gsherman
29227032e8 Removed Qt4 #ifdef block (issue resolved)
git-svn-id: http://svn.osgeo.org/qgis/trunk@4258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 07:18:39 +00:00
gsherman
8e808ca602 Fix for plugins not loading. This was related to grabbing the existing Plugin menu
in order to insert the new menu items.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 07:10:50 +00:00
telwertowski
86f9d6db04 Qt4/Mac requires a type to avoid an "ambiguous argument type" error.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4256 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 00:10:34 +00:00
telwertowski
a84eaad45d Add build support for Qt4/Mac.
(The environment variable QTDIR should be defined similar to /usr/local/Trolltech/Qt-4.0.1 for Qt4 and /Developer/qt for Qt3.)


git-svn-id: http://svn.osgeo.org/qgis/trunk@4255 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 23:54:16 +00:00
gsherman
7406995752 Random color now assigned when a layer is first loaded
git-svn-id: http://svn.osgeo.org/qgis/trunk@4253 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 06:10:18 +00:00
gsherman
0e5031afd6 Added helpviewer subdir to the top-level Makefile.am
Changes to helpviewer classes to allow compilation under Qt 4.0.1

Works on Linux; untested on other platforms.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4252 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 05:51:31 +00:00
gsherman
27312032c4 Changes to allow compilation with Qt 4.0.1.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 05:16:22 +00:00
timlinux
314699fcd4 Changelog for extra version update
git-svn-id: http://svn.osgeo.org/qgis/trunk@4250 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:10:23 +00:00
timlinux
76f92ac0ac Bumped extra version to 7.9.2 to indicate Qt4 port version
git-svn-id: http://svn.osgeo.org/qgis/trunk@4249 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:09:28 +00:00
timlinux
6bda81d5e6 Make file for libqgsraster
git-svn-id: http://svn.osgeo.org/qgis/trunk@4248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:04:27 +00:00
timlinux
12056a2438 Moved code that I factored out of raster last night into its own dir / lib. This is the (extremely minimal) beginnings of libqgsraster which will eventualy do all the raster processing grunt work. qgsrasterlayer will then become a thin wrapper for qgsraster functions.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:01:48 +00:00
mhugent
8d22351b13 Points snaping does now consider changed geometries. Fixed a bug which prevents multiple changes of the same gdeometry. All changes are not related to qt (and therefore should not conflict with the current qt4 port)
git-svn-id: http://svn.osgeo.org/qgis/trunk@4246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 07:19:39 +00:00
gsherman
876c1d9c59 Fix to remove georeferencer plugin from the build
git-svn-id: http://svn.osgeo.org/qgis/trunk@4245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 06:03:55 +00:00
gsherman
bdd16c62cb More changes for Qt4. QGIS now compiles and runs, although there are problems. Plugins do not load
and there are display issues when loading a layer. 

The georeferencer plugin is currently disabled in the build due to unresolved UI issues.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 05:55:32 +00:00
timlinux
70c31a17a8 Move member decl'sinto provite section (out of signals)
git-svn-id: http://svn.osgeo.org/qgis/trunk@4243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 03:08:36 +00:00
timlinux
98e56e10fd Fix qt4 build errors in projection selector
git-svn-id: http://svn.osgeo.org/qgis/trunk@4242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:58:13 +00:00
timlinux
93ef438b13 Fix small mistype preventing build
git-svn-id: http://svn.osgeo.org/qgis/trunk@4241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:43:51 +00:00
timlinux
fed9e84b8b Fix compile error in qt4
git-svn-id: http://svn.osgeo.org/qgis/trunk@4240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:33:02 +00:00
timlinux
238a937e1f Fix build errors ini qt4
git-svn-id: http://svn.osgeo.org/qgis/trunk@4239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:24:34 +00:00
timlinux
1792d8cbd4 Add sentinels to src/qgsrasterbandstats.h and src/qgsrasterpyramid.h
Add missing include to src/qgsencodingfiledialog.h
Add missing include to src/qgsrasterlayerproperties.cpp

Still need to resolve some trivial compile issues in src/qgsrasterlayerproperties.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk@4238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:15:38 +00:00
timlinux
cf2209b93d Fix problem with qgsraster not building in qt4
git-svn-id: http://svn.osgeo.org/qgis/trunk@4237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 01:57:36 +00:00
shalasz
888e7533ab Find libQtCore on Debian
git-svn-id: http://svn.osgeo.org/qgis/trunk@4236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 01:55:31 +00:00
shalasz
adfa3e6e67 Look for uic3 in PATH as well
git-svn-id: http://svn.osgeo.org/qgis/trunk@4235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 01:37:33 +00:00
gsherman
c06fedf003 Qt4 port using Qt3 compatibility library. Note - not all files compile yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 23:35:22 +00:00
gsherman
c12d24109f Inital checkin of mapserver export tools
git-svn-id: http://svn.osgeo.org/qgis/trunk@4232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 05:59:30 +00:00
gsherman
8882b66aff Added check for Qt 4.1x in addition to 4.0.x
git-svn-id: http://svn.osgeo.org/qgis/trunk@4231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 05:27:48 +00:00