Home · Modules · Classes · Namespaces · Functions

QxtLanguageComboBox Class Reference
[QxtGui module]

The QxtLanguageComboBox widget is an extended QComboBox to display languages. More...

    #include <QxtLanguageComboBox>

Inherits QComboBox.

Public Types

Public Functions

Public Slots

Signals

Additional Inherited Members


Detailed Description

The QxtLanguageComboBox widget is an extended QComboBox to display languages.

QxtLanguageComboBox is a specialized combo box to display spoken languages. The languages are taken from QLocale::Language.

"QxtLanguageComboBox in Plastique style."


Member Type Documentation

enum QxtLanguageComboBox::DisplayMode

This enum describes the displayed languages.

ConstantValueDescription
QxtLanguageComboBox::AllLanguages0Show all languages.
QxtLanguageComboBox::AvailableTranslations1Show translated languages.

See also QxtLanguageComboBox::displayMode.


Member Function Documentation

QxtLanguageComboBox::QxtLanguageComboBox ( QWidget * parent = 0 )

Constructs a new QxtCountryComboBox with parent.

QxtLanguageComboBox::~QxtLanguageComboBox ()   [virtual]

Destructs the combo box.

QLocale::Language QxtLanguageComboBox::currentLanguage () const

See also setCurrentLanguage().

void QxtLanguageComboBox::currentLanguageChanged ( QLocale::Language language )   [signal]

This signal is emitted whenever the current selected language has been changed.

QString QxtLanguageComboBox::currentLanguageName () const

void QxtLanguageComboBox::currentLanguageNameChanged ( const QString & name )   [signal]

This signal is emitted whenever the of the current selected language with name has been changed.

DisplayMode QxtLanguageComboBox::displayMode () const

See also setDisplayMode().

void QxtLanguageComboBox::setCurrentLanguage ( QLocale::Language lang )   [slot]

See also currentLanguage().

void QxtLanguageComboBox::setDisplayMode ( DisplayMode mode )   [slot]

See also displayMode().

void QxtLanguageComboBox::setTranslationPath ( const QString & path )   [slot]

See also translationPath().

QString QxtLanguageComboBox::translationPath () const

See also setTranslationPath().


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1