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
- added fileVectorFilters() and fileRasterFilters() virtual functions that
return an empty string by default
qgsproviderregistry :
- now stores vector file filter strings
- builds the file filter string upon construction by concatenating strings
returned from successive calls to all data provider fileVectorFilter()s
- added fileVectorFilters() member that returns QFileDialog friendly filter
string built as described in previous item
qgisapp :
- now uses vector file filter string returned from QgsProviderRegistry
vectorFileFilters() call
Note that currently only OGR data provider builds and returns this vector file
filter string. Maintainers of other vector data providers should also
implement vector file filter functions as necessary. Please see
QgsOgrDataProvider source for examples.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4001 c8812cc2-4d05-0410-92ff-de0c093fc19c
With apologies to Brendan if I broke any of his qt4 compat edits...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3999 c8812cc2-4d05-0410-92ff-de0c093fc19c
checkout, I need to commit the changes, so that I can do a clean checkout to test if it works).
git-svn-id: http://svn.osgeo.org/qgis/trunk@3981 c8812cc2-4d05-0410-92ff-de0c093fc19c
- ctor QString argument now passed by const reference instead of wasteful
copy
- added mDataSourceURI private data member
- setDataSourceUri() and getDataSourceUri() now refer to new data member
(All this because most every data provider was doing the same thing over and
over and over and over again -- a sure need for generalization.)
qgsproviderregistry :
- now returns null if a data provider was unable to load a given source
- now also unloads the data provider if there was an error instead of
wastefully keeping it around in memory
qgsrasterdataprovider :
- added ctor for URI parameter
qgsvectordataprovider :
- added ctor for URI parameter
qgsvectorlayer.cpp :
- added simple debugging probe; was having problems whereby loading projects
where data has subsequently moved was causing core dumps
git-svn-id: http://svn.osgeo.org/qgis/trunk@3970 c8812cc2-4d05-0410-92ff-de0c093fc19c
- merged from branch 0.7
qgsdataprovider.h
- added name() and description() pure virtual members
qgspluginmanager.cpp
- plugin directory path now used
qgsproviderregistry.cpp
- member names now compliant with coding standard
- limited reformatting and clean-up
qgsvectordataprovider
- no longer uses Q_OBJECT since it doesn't provide signals or slots
qgsvectorfilewriter.cpp
- 0.7 branch merge
git-svn-id: http://svn.osgeo.org/qgis/trunk@3966 c8812cc2-4d05-0410-92ff-de0c093fc19c
doing a make clean. Files ending in ui.h are not generated; they are original
source files and should not be included in BUILT_SOURCES.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3964 c8812cc2-4d05-0410-92ff-de0c093fc19c
- using the various *config utils generates -I strings that apparently flummox
qmake; so now strip those out before appending the include strings generated
from config script invocations
The test suite now runs again successfully. Go me. Or something.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3959 c8812cc2-4d05-0410-92ff-de0c093fc19c
- qDebug() would abort because someone forgot that QString::local8bit()
_doesn't_ return a C-style string; it returns QCString which will cause
qDebug() calls to blow up; if you insist on using QString::local8bit() in
qDebug() then use it this way:
qDebug( "%s", myQString.local8bit().data() );
Please do pay attention to compiler warnings. The warnings generated by
mis-using local8bit _do_ _say_ that the program will likely abort when
execution gets to those statements.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3958 c8812cc2-4d05-0410-92ff-de0c093fc19c
qgis library. Also use cppunit configure script for command line options.
Sadly, QgsProject seems to be broken, though that may have more to do with
local state of source than anything else.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3957 c8812cc2-4d05-0410-92ff-de0c093fc19c