Computer Assited Medical Intervention Tool Kit  version 5.0
QtMetaEnumProvider Class Reference
+ Collaboration diagram for QtMetaEnumProvider:

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 ( )

References initLocale(), m_policyEnum, and m_policyEnumNames.

+ Here is the call graph for this function:

Member Function Documentation

◆ countryEnumNames()

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

References m_countryEnumNames.

◆ indexToLocale()

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

◆ indexToSizePolicy()

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

References m_policyEnum.

Referenced by sizePolicyToIndex().

+ Here is the caller graph for this function:

◆ initLocale()

void QtMetaEnumProvider::initLocale ( )
private

References countriesForLanguage(), m_countryEnumNames, m_countryToIndex, m_indexToCountry, m_indexToLanguage, m_languageEnumNames, m_languageToIndex, and sortCountries().

Referenced by QtMetaEnumProvider().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ languageEnumNames()

QStringList QtMetaEnumProvider::languageEnumNames ( ) const
inline

References m_languageEnumNames.

◆ localeToIndex()

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

◆ policyEnumNames()

QStringList QtMetaEnumProvider::policyEnumNames ( ) const
inline

References m_policyEnumNames.

Referenced by QtSizePolicyPropertyManager::valueText().

+ Here is the caller graph for this function:

◆ sizePolicyToIndex()

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

References indexToSizePolicy(), m_policyEnum, and camitk::policy().

Referenced by QtSizePolicyPropertyManager::valueText().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_countryEnumNames

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

Referenced by countryEnumNames(), and initLocale().

◆ m_countryToIndex

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

Referenced by initLocale(), and localeToIndex().

◆ m_indexToCountry

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

Referenced by indexToLocale(), and initLocale().

◆ m_indexToLanguage

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

Referenced by indexToLocale(), and initLocale().

◆ m_languageEnumNames

QStringList QtMetaEnumProvider::m_languageEnumNames
private

Referenced by initLocale(), and languageEnumNames().

◆ m_languageToIndex

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

Referenced by initLocale(), and localeToIndex().

◆ 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: