timlinux 032a966336 Added a couple of helper functions:
/** This helper checks to see whether the filename appears to be a valid raster file name */
bool isValidRasterFileName (QString theFileNameQString);
/** Overloaded version of the above function provided for convenience that takes a qstring pointer */
bool isValidRasterFileName (QString * theFileNameQString);
/** This helper checks to see whether the filename appears to be a valid vector file name */
bool isValidVectorFileName (QString theFileNameQString);
/** Overloaded version of the above function provided for convenience that takes a qstring pointer */
bool isValidVectorFileName (QString * theFileNameQString);

The idea being that we have a central place to check if filenames are valid. Added appropriate calls in addLayer and addVectorLayer to the above functions. Created separate addLayer(QStringList) and addRasterLayer(QStringList) functions so that addLayer() and addRaster() prompt with a qfiledialog and then delegate to these.


git-svn-id: http://svn.osgeo.org/qgis/trunk@712 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-06 09:47:19 +00:00
2003-04-09 07:26:33 +00:00
2004-02-06 09:47:19 +00:00
2004-02-04 07:03:33 +00:00
Description
QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
4.6 GiB
Languages
C++ 77.2%
Python 20.7%
CMake 0.8%
C 0.5%
QML 0.3%
Other 0.3%