Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
QtMetaEnumProvider Class Reference

Public Member Functions

QStringList countryEnumNames (QLocale::Language language) const
 
void indexToLocale (int languageIndex, int countryIndex, QLocale::Language *language, QLocale::Country *country) const
 
QSizePolicy::Policy indexToSizePolicy (int index) const
 
QStringList languageEnumNames () const
 
void localeToIndex (QLocale::Language language, QLocale::Country country, int *languageIndex, int *countryIndex) const
 
QStringList policyEnumNames () const
 
 QtMetaEnumProvider ()
 
int sizePolicyToIndex (QSizePolicy::Policy policy) const
 

Private Member Functions

void initLocale ()
 

Private Attributes

QMap< QLocale::Language, QStringList > m_countryEnumNames
 
QMap< QLocale::Language, QMap< QLocale::Country, int > > m_countryToIndex
 
QMap< int, QMap< int, QLocale::Country > > m_indexToCountry
 
QMap< int, QLocale::Language > m_indexToLanguage
 
QStringList m_languageEnumNames
 
QMap< QLocale::Language, int > m_languageToIndex
 
QMetaEnum m_policyEnum
 
QStringList m_policyEnumNames
 

Constructor & Destructor Documentation

◆ QtMetaEnumProvider()

QtMetaEnumProvider::QtMetaEnumProvider ( )

Member Function Documentation

◆ countryEnumNames()

QStringList QtMetaEnumProvider::countryEnumNames ( QLocale::Language  language) const
inline

◆ indexToLocale()

void QtMetaEnumProvider::indexToLocale ( int  languageIndex,
int  countryIndex,
QLocale::Language *  language,
QLocale::Country *  country 
) const

◆ indexToSizePolicy()

QSizePolicy::Policy QtMetaEnumProvider::indexToSizePolicy ( int  index) const

◆ initLocale()

void QtMetaEnumProvider::initLocale ( )
private

◆ languageEnumNames()

QStringList QtMetaEnumProvider::languageEnumNames ( ) const
inline

◆ localeToIndex()

void QtMetaEnumProvider::localeToIndex ( QLocale::Language  language,
QLocale::Country  country,
int *  languageIndex,
int *  countryIndex 
) const

◆ policyEnumNames()

QStringList QtMetaEnumProvider::policyEnumNames ( ) const
inline

◆ sizePolicyToIndex()

int QtMetaEnumProvider::sizePolicyToIndex ( QSizePolicy::Policy  policy) const

Member Data Documentation

◆ m_countryEnumNames

QMap<QLocale::Language, QStringList> QtMetaEnumProvider::m_countryEnumNames
private

◆ m_countryToIndex

QMap<QLocale::Language, QMap<QLocale::Country, int> > QtMetaEnumProvider::m_countryToIndex
private

◆ m_indexToCountry

QMap<int, QMap<int, QLocale::Country> > QtMetaEnumProvider::m_indexToCountry
private

◆ m_indexToLanguage

QMap<int, QLocale::Language> QtMetaEnumProvider::m_indexToLanguage
private

◆ m_languageEnumNames

QStringList QtMetaEnumProvider::m_languageEnumNames
private

◆ m_languageToIndex

QMap<QLocale::Language, int> QtMetaEnumProvider::m_languageToIndex
private

◆ m_policyEnum

QMetaEnum QtMetaEnumProvider::m_policyEnum
private

◆ m_policyEnumNames

QStringList QtMetaEnumProvider::m_policyEnumNames
private

The documentation for this class was generated from the following file: