Add braces to avoid "jump to case label crosses initialization" error.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4081 c8812cc2-4d05-0410-92ff-de0c093fc19c
This time, metadata is wired to the raster properties dialog under the Metadata tab. But only for a few items. A future commit will make more items visible there.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4079 c8812cc2-4d05-0410-92ff-de0c093fc19c
he's just left for a week. HEAD compiles; filters are missing when opening
an OGR layer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4046 c8812cc2-4d05-0410-92ff-de0c093fc19c
- s/name/dataSource/ in member function parameter lists
- started implementation of openVector()
QgsProviderRegistry :
- added openVector() which will eventually be called by
QgsDataManager::openVector()
- made naming convention consistent for fileVectorFilters so that OGR
supported formats get properly loaded again
git-svn-id: http://svn.osgeo.org/qgis/trunk@4045 c8812cc2-4d05-0410-92ff-de0c093fc19c
Define factor in header file so it can be adjusted with one edit.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4041 c8812cc2-4d05-0410-92ff-de0c093fc19c
For Mac, don't call QPrinter::setOutputToFile(true) before QPrinter::setup().
Doing so will suppress the Mac Print dialog and disable paper printing.
This edit disables Mac eps output but the Mac has a pdf option in its
standard Print dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4040 c8812cc2-4d05-0410-92ff-de0c093fc19c
uic.h/cpp generation.
Changed qgsgrassmapcalc.cpp to use pow(double, double) calls to permit compiliation
on gcc 3.3.x
git-svn-id: http://svn.osgeo.org/qgis/trunk@4034 c8812cc2-4d05-0410-92ff-de0c093fc19c
Use correct index when retrieving columns.
Also add some PQclears for queries which weren't being freed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4019 c8812cc2-4d05-0410-92ff-de0c093fc19c
Adjust button dimensions so that text looks ok on Mac for PGQueryBuilder
operator buttons. (Height is now unconstrained because Qt/Mac is placing
default space below text and clipping text on top if it doesn"t fit.)
git-svn-id: http://svn.osgeo.org/qgis/trunk@4014 c8812cc2-4d05-0410-92ff-de0c093fc19c
Use QToolButton instead of QPushButton to display a color setting
because Mac pushbuttons are always drawn using the standard system
button color. Also don"t change button color if the color picker
dialog was cancelled.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4013 c8812cc2-4d05-0410-92ff-de0c093fc19c
Adjust dialog construction for Mac so that right dialog type is used.
- Set modal flag: LayerProjectionSelector, LUDialog, Options, PGQueryBuilder, ProjectProperties, RasterLayerProperties.
- Construct without parent to make modeless: Bookmarks, CustomProjection.
Also allow only one instance of Bookmarks to be created.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4012 c8812cc2-4d05-0410-92ff-de0c093fc19c
Remove empty font property tag which was causing an oversize button
on Mac OS X.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4011 c8812cc2-4d05-0410-92ff-de0c093fc19c
Changes to fix display anomalies on OS X and Linux. All toggle buttons
for selecting line or fill type are now QToolButton widgets. Adjusted
the graphics displayed on each button to make it easier to distinguish
which is active.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4008 c8812cc2-4d05-0410-92ff-de0c093fc19c