11 #include <QtGui/QPixmap>
12 #include <QtCore/QStringList>
37 return myCountryFlags;
40 virtual QStringList countryCodesStringList()
const;
45 virtual void setFlagsFileAndExtension(
const std::string& file,
const std::string& extension);
48 virtual std::string country(
const std::string& code)
const override;
51 virtual QPixmap flag(
const std::string& code);
55 virtual bool readFlagMemoryFromFlagFile(
const std::string& code,
char** buffer,
int&
length)
const;
58 virtual std::string untranslatedCountry(
const std::string&)
const;
CountryFlags myCountryFlags
Definition: qtCountryCodesManager.h:61
This class will read a country codes file (default settings\country-codes.csv) and allow for access o...
Definition: countryCodesManager.h:27
DtFilename myFlagsFile
Definition: qtCountryCodesManager.h:62
virtual const CountryFlags & countryFlags() const
Returns the current list of country codes.
Definition: qtCountryCodesManager.h:35
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
This class extends the country codes manager to return an icon for the 2 letter country code (referen...
Definition: qtCountryCodesManager.h:19
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtString myFlagsExtension
Definition: qtCountryCodesManager.h:63
std::map< std::string, QPixmap > CountryFlags
Map is 2 letter country code followed by engish name.
Definition: qtCountryCodesManager.h:23