mcoletti
e80d0d86bd
qgsdlgvectorlayerproperties.cpp :
...
- Changed "string" to more specific name to avoid possible future conflict
with ISO C++ Standard Library "string" and to make code more
self-documenting
- now uses qDebug() instead of std::cout so that debugging output shows up
qgsproject.h :
- added documentation reminding use of leading '/' for proper key names
qgssisydialog.cpp :
- changed some nested if structures to switch statement equilvalent to make
code more efficient and understandable
- fixed bug whereby pen type not properly set due to cut-n-paste error
- fixed bug whereby line type not properly set due to cut-n-paste error
- fixed restoring project vector fill type bug
qgssymbologyutils.cpp :
- Changed "string" to more specific name to avoid possible future conflict
with ISO C++ Standard Library "string" and to make code more
self-documenting
git-svn-id: http://svn.osgeo.org/qgis/trunk@2339 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 18:30:01 +00:00
gsherman
0952d5aabf
Tweaks related to WIN32 handling of layers loaded from saved projects
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2338 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-26 18:22:42 +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
mhugent
e8f7ec29bb
fix for writing labels to xml
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2330 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 23:30:20 +00:00
mhugent
ca37715733
fix for restoring projects with unique value symbology. Note that there is still a bug with the value labels which will be fixed next
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2329 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 23:00:20 +00:00
mcoletti
49e10a1177
Debugging output to std::cerr was getting ignored, so changed to use
...
qDebug(). Also now emit __FILE__ and __LINE__ so know exactly what debugging
statements are being executed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2328 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 19:34:43 +00:00
mcoletti
5dde1909d6
Added debug statement for getFeatureAttribute().
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 17:09:20 +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
telwertowski
19ef240142
Fix window drift when restoring main window position.
...
Use resize and move instead of setGeometry to restore position becuase the former use inside frame coords which is what's stored in the settings file.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2325 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-24 06:18:48 +00:00
timlinux
43efdc3dec
Commit for Napo!
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-23 19:59:38 +00:00
gsherman
3a0aae514e
Changed default behaviour for a vector layer to NOT support saving as a shapefile
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2321 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-23 07:05:12 +00:00
gsherman
9acd6172b8
Added hook for a provider to indicate it supports saving its data to a shapefile. If supported, an item is added to the popup context menu. The save function is not implmented yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2320 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-23 06:24:34 +00:00
gsherman
a15bae505d
Added hook for a provider to indicate it supports saving its data to a shapefile. If supported, an item is added to the popup context menu. The save function is not implmented yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2319 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-23 06:14:05 +00:00
gsherman
13f37c35c1
Added extended error information for postgresql connection attempts.
...
Added Select all and Clear all buttons to plugin manager.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2318 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-23 03:50:34 +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
mcoletti
76dffdfffc
0.5.0devel29 - QgsProject properties interface re-designed to be similar to QSettings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2316 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 22:16:20 +00:00
mcoletti
7a749710a0
Implemented removeEntry(), so now it's possible to remove existing project keys.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2315 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 22:13:47 +00:00
mcoletti
6803531cc6
Some source code comment clean up.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2314 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 19:45:18 +00:00
mcoletti
f0bdde7e14
project file properties now appear to work
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2313 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 19:27:24 +00:00
timlinux
3d04277b37
Changes to line style and pattern are now properly registered when changing between renderer enties for multirenderer types such as unique value renderer.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2312 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 18:35:51 +00:00
mhugent
6825a2d2a7
show styles on buttons in case of unique renderer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 15:25:32 +00:00
gsherman
8e074022bf
Added postgresql utility class to win32 lib project file
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2310 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 07:20:14 +00:00
gsherman
a5d44e440a
Added postgresql utility class to build (also include in libqgis)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2309 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 07:11:57 +00:00
gsherman
e4ad28e8c5
PostgreSQL utility class (singleton). This is not used anywhere yet and is not complete.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2308 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 07:08:04 +00:00
gsherman
b585756ab6
PostgreSQL utility class (singleton). This is not used anywhere yet and is not complete.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2307 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 06:53:05 +00:00
timlinux
8856af2b07
Minor enhancements to layouts and added a bit of debugging stuff.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2306 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 23:19:02 +00:00
gsherman
eb6414eb95
Rearranged menu items per the menu-master's direction
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2305 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 19:37:06 +00:00
gsherman
61ff2af7f4
Added methods to get the postgres connection and table name from the pg provider.
...
Added launcher for the pg query builder to the vector dlg.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2304 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 05:15:40 +00:00
gsherman
64ff2bb2c0
Documentation update
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2303 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 04:27:01 +00:00
gsherman
c750e834e0
Updates to query builder ui
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2302 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 03:53:02 +00:00
timlinux
d83c50ae01
You can now view and alter the pg layer subset query from the vector layer properties dialog. Currently only by using the texteditor....I will hook up the pg query builder tomorrow for the truly shiftless and lazy among us :-P
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2301 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 02:11:44 +00:00
timlinux
4187293405
Added accessor and mutator for sql subseting query
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2300 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 02:09:49 +00:00
gsherman
2e263752ec
Fixed the ui version number so poor qt 3.1 users can still compile...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2299 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 01:20:58 +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
gsherman
06296509db
Implemented the test function and type checking to allow for automatic quoting of string values when added to the sql statement. More operators added to the dialog.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2297 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:27:09 +00:00
timlinux
cc2997b0eb
Whipping into shaping of vector dlgs. Actions dlg fills its container again (I broke this before somehow). Added metadata page. Added query info to general page (still to be wired up). Renamed legend page to symbology (for consistency with raster dlg).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:25:27 +00:00
timlinux
171302cf6c
Added the capability to interrupt the rendering of the currently drawing map layer by pressing the escape key. Repeat and rinse to interrupt drawing of all vector layers. Not implemented for raster layers yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2295 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 14:12:57 +00:00
timlinux
e8a0d8707e
Added the capability to interrupt the rendering of the currently drawing map layer by pressing the escape key. Repeat and rinse to interrupt drawing of all vector layers. Not implemented for raster layers yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2294 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 13:46:58 +00:00
gsherman
a935be42d2
Additional functionality for the query builder. Fields are populated when the builder opens. Values (sample and all) can be viewed. Double-clicking on a field name or value inserts it into the sql text box.
...
Still need to implement the test function and type checking to allow for automatic quoting of string values when added to the sql statement.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 08:20:53 +00:00
gsherman
ede9822288
Additional functionality for the query builder. Fields are populated when the builder opens. Values (sample and all) can be viewed. Double-clicking on a field name or value inserts it into the sql text box.
...
Still need to implement the test function and type checking to allow for automatic quoting of string values when added to the sql statement.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 08:13:15 +00:00
gsherman
f40eb83c40
Fix the inevitable makefile error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:13:13 +00:00
gsherman
b23a335652
PostgreSQL query builder (not fully implemented yet)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:02:46 +00:00
gsherman
d1539272c4
PostgreSQL query builder (not fully implemented yet)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:00:31 +00:00
timlinux
5d4cdf080d
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@2288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 02:32:14 +00:00