QxtLanguageComboBox Class Reference
[QxtGui module]
The QxtLanguageComboBox widget is an extended QComboBox to display languages. More...
#include <QxtLanguageComboBox>
Inherits QComboBox.
Public Types
- enum DisplayMode { AllLanguages, AvailableTranslations }
Public Functions
- 55 public functions inherited from QComboBox
- 207 public functions inherited from QWidget
- 12 public functions inherited from QPaintDevice
- 29 public functions inherited from QObject
Public Slots
- 4 public slots inherited from QComboBox
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
Signals
Additional Inherited Members
- 13 properties inherited from QComboBox
- 57 properties inherited from QWidget
- 1 property inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QWidget
- 1 static public member inherited from QPaintDevice
- 4 static public members inherited from QObject
- 1 protected function inherited from QComboBox
- 37 protected functions inherited from QWidget
- 1 protected function inherited from QPaintDevice
- 7 protected functions inherited from QObject
- 1 protected slot inherited from QWidget
- 1 protected type inherited from QPaintDevice
- 2 protected variables inherited from QObject
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.

Member Type Documentation
enum QxtLanguageComboBox::DisplayMode
This enum describes the displayed languages.
Constant | Value | Description |
QxtLanguageComboBox::AllLanguages | 0 | Show all languages. |
QxtLanguageComboBox::AvailableTranslations | 1 | Show 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().