1695 Commits

Author SHA1 Message Date
gsherman
71aa6f5875 PostgreSQL query builder (not fully implemented yet)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:02:46 +00:00
gsherman
64491a71fe PostgreSQL query builder (not fully implemented yet)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:00:31 +00:00
timlinux
a448a971ba Accidentally committed this earlier but its has dodgy multipart poly labelling stuff that wasnt meant to go into cvs yet so its commented out for now....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 02:32:14 +00:00
timlinux
4f0aebc8cd Added line style in-situ so that we have one less little pop up dialog....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 01:13:11 +00:00
mcoletti
7393675362 Well, that wasn't as bad as I thought: I fixed the string list project file
bug.  Now only ONE copy of string list keys is written to project files.

So, now writing should work for all types.

Unfortunately implementing the _reading_ part will have to wait until Monday.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 23:03:16 +00:00
timlinux
144b56afae const const assurance strategy...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2285 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:42:11 +00:00
timlinux
5395b3b234 More const constedness removal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:38:36 +00:00
mcoletti
324c74718f 0.5devel.26 checked in regarding QgsProject file changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2283 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:30:04 +00:00
mcoletti
ca43c97e7a (Partial) Implementation of Re-design of project properties.
After some discussion, it was decided that the way projects handle properties
should look like QSettings.  The learning curve would be smaller since the
interface would be more consistent with QSettings, which some developers would
be familiar with.

The read*() and write*() property functions do update the project internal
state.  However, the write*() has a bug with string lists in that the string
list entries are redundantly emitted to the project file.

Unfortunately reading this new property configuration from project files isn't
finished yet.  However, in the interest of getting something out there for
people to code against, I'm going ahead and committing what I have.  After
all, I want to reduce the number of people using the old interface, and thus
code that will have to be re-written to adjust to the new one.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:27:07 +00:00
timlinux
120a32d247 Ye olde designer fixe...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 21:41:10 +00:00
timlinux
ac1f45616c Yet another non existong ui.h file removed for release make target
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:27:57 +00:00
timlinux
149cb30058 Napo updates
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:24:25 +00:00
timlinux
eb4575ca8d Extra dist was trying to deploy non exsiting qgsgpspluginguibase.ui.h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:17:31 +00:00
timlinux
39ed4e66da Fix ui version number
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:13:30 +00:00
timlinux
131ba4b3ad bug fix last commit I had the patterns in a group box instead of a buttongroup so the toggle behaviour was not correct
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 01:34:14 +00:00
timlinux
dbeabe84cb Gui improvement - pattern selection is in place so no extraneous pop up window needed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 01:21:26 +00:00
mhugent
783596c2bf deactivate capture menues for raster layers and enable only the item for the current geometry type
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 20:32:55 +00:00
timlinux
7e9204cdd3 Removed unwanted plugin line
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 11:39:41 +00:00
gsherman
7230dd0a47 Changed Tim's supress render checkbox all around (just to see if he gets mad) so the label is shorter (says Render) and is on by default. Unchecking causes no rendering on the map cavnas. Checking it causes a map refresh.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 04:34:59 +00:00
timlinux
363a6236d0 Suppress rendering feature
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2269 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 00:55:41 +00:00
timlinux
de32b97061 Added a little checkbox to the bottom right of status bar that when checked will suppress rendering of layers in main canvas and overview canvas, This is useful if you want to load a bunch of layers and tweak their symbology etc without having delays caused by rerendering everything after each change you make.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2268 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 00:53:11 +00:00
mcoletti
79aba2e52d The interface class now allows QgisApp access via app().
This was necessary to allow plug-ins to connect() to various QgisApp slots and
signals.  Since this somewhat short-circuits the need for the QgisInterface
classes, this might indicate the need for design refactoring.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2267 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-17 16:27:02 +00:00
g_j_m
d8c9b8b997 Improvements to the attribute action dialog box.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2266 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-17 08:36:09 +00:00
mcoletti
bd72048561 Fixed bug where "int" and other non-QString property value types weren't
getting properly restored when a project was read.

Note that still limited sub-set of property types are supported.  Currently
only supports QString, Int, UInt, Bool, Double, LongLong, and ULongLong.
However, it should (theoreticaly) be trivial to add in support for other
types.  Essentially you should add in new types as you need them.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2265 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 18:45:35 +00:00
larsl
61d3030998 ** Reimplemented getNextFeature() so features are visible again
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 18:18:36 +00:00
timlinux
140d2993da Connect up to projectRead signal...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 17:51:08 +00:00
timlinux
96d86666fa Updated version of qgis kdevelop project just for all the gui junkies out there.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 08:14:04 +00:00
gsherman
5af8ffe105 License for windows distribution
Installer script for win32


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2261 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 07:00:06 +00:00
gsherman
5a25e55ca0 Fixed PKGDATAPATH for WIN32 in main.cpp
Updated Whats New section for 0.6 in qgisapp.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2260 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 06:57:43 +00:00
gsherman
f7847d6263 Fixes for crash when selecting, identifying features, or opening the attribute table
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2259 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 04:47:35 +00:00
mhugent
48bca3c901 moved the responsability for not-commited features to qgsvectorlayer. Because of this, it is now possible to treat not-commited features like commited ones. Vectordataproviders now only need to implement 'addFeatures','deleteFeatures', 'supportsFeatureAddition' and 'supportsFeatureDeletion' if they support feature addition or deletion
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-15 21:52:57 +00:00
gsherman
c4c5d60b1c Reverted win32 hack related to dynamic casts back to original code.
Hopefully all renderers will work now.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-15 05:27:11 +00:00
timlinux
0acb1a1cd3 Clean up sizing of colour previews.
TODO: integrate pattern selection straight onto this dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2256 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 23:58:50 +00:00
timlinux
a9e90be1e5 Needed for changes made in last commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2255 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 23:34:25 +00:00
timlinux
19c5c75258 Changed vector dialog to have Help, Apply, Ok, Cancel button layout in keeping with raster dialog
Changed the way button actions are implemented so that the slots are made by qt designer in the ABC and then reimplemented in the subclassed qgsdlgvectorlaye
rproperties.
Separated level dialog over four tabs instead of 2 in an effort to reduce size of vector dialog. Having 'tabs within tabs' is not really nice ui design, but
Ill leave it like that until we use get a decent implementation of kde / outlook style configuration panel.
Rearranged various other widgets within vector dialog to improve layout.
More changes to come.
sisy dialog is not right either - will change that in a follow up commit...


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2254 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 23:33:11 +00:00
gsherman
64b20258d1 Put the assert back in. Without it, the grad renderer causes a seg fault. There is something wrong here that needs to be investigated.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2253 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 17:47:48 +00:00
telwertowski
d52723df83 Skip command line argument processing on Mac OS X if argv[1] is -psn_*
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2252 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 09:01:45 +00:00
telwertowski
c8e11d8daa Prefix all paths to supporting files on Mac OS X with qApp->applicationDirPath()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 08:42:46 +00:00
gsherman
5c732447f9 Removed pointless Q_ASSERT statement (added during win32 debugging)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2250 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-14 04:48:16 +00:00
larsl
6a4a4c122f ** Changed QgsIdentifyResults and QgsVectorLayer to show all attributes
automatically (expand the feature node) if only one feature is identified


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2249 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 20:24:50 +00:00
g_j_m
3ccd342ff8 Removed the "" item from the display field combo box as a default option
doesn't make sense because qgis has either already chosen a display field
value by the time the user has opened the layer config dialog box, or it
has read in a value from a .qgs file.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 20:16:55 +00:00
gsherman
96798bf6e6 Added option to set initial layer visibility to false for raster and postgres providers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 18:56:54 +00:00
gsherman
a9a804fc41 Update windows icon.
Added option to set initial layer visibility to false for ogr providers (other layer types to follow). This has not been tested against the project loading code.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 18:19:33 +00:00
gsherman
f1f1d91b7a Added wait cursor when opening layer properties for raster layers. Only works with layer popup menu pick.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 06:45:03 +00:00
gsherman
803b084919 .pro file fixes for WIN32
Added wait cursor when opening layer properties for vector layers


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 06:22:33 +00:00
gsherman
7bffc5ed58 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/qgis@2243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 05:17:37 +00:00
gsherman
9504d805ae 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/qgis@2242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 04:44:13 +00:00
gsherman
5a1e99c4e5 Removed unused/uneeded help function. Help is provided by the geoprocessing
dialog class.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-13 03:21:55 +00:00
g_j_m
71e7f8e682 Made the actions popup menu accessable from the attribute table dialog
box.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 19:45:50 +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