Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4442dd9bdde98a1d9ca2177557e87d7d > files > 523

libqxt-devel-0.6.1-3.fc15.i686.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /builddir/build/BUILD/libqxt/src/gui/qxtlanguagecombobox.cpp -->
<head>
  <title>QxtLanguageComboBox Class Reference</title>
  <link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">Classes</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">Namespaces</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtLanguageComboBox Class Reference<br /><span class="small-subtitle">[<a href="qxtgui.html">QxtGui</a> module]</span>
</h1>
<p>The QxtLanguageComboBox widget is an extended <a href="http://doc.qtsoftware.com/4.5/qcombobox.html">QComboBox</a> to display languages. <a href="#details">More...</a></p>
<pre>    #include &lt;QxtLanguageComboBox&gt;</pre><p>Inherits <a href="http://doc.qtsoftware.com/4.5/qcombobox.html">QComboBox</a>.</p>
<ul>
<li><a href="qxtlanguagecombobox-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h3>Public Types</h3>
<ul>
<li><div class="fn"></div>enum <b><a href="qxtlanguagecombobox.html#DisplayMode-enum">DisplayMode</a></b> { AllLanguages, AvailableTranslations }</li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"></div><b><a href="qxtlanguagecombobox.html#QxtLanguageComboBox">QxtLanguageComboBox</a></b> ( QWidget * <i>parent</i> = 0 )</li>
<li><div class="fn"></div>virtual <b><a href="qxtlanguagecombobox.html#dtor.QxtLanguageComboBox">~QxtLanguageComboBox</a></b> ()</li>
<li><div class="fn"></div>QLocale::Language <b><a href="qxtlanguagecombobox.html#currentLanguage">currentLanguage</a></b> () const</li>
<li><div class="fn"></div>QString <b><a href="qxtlanguagecombobox.html#currentLanguageName">currentLanguageName</a></b> () const</li>
<li><div class="fn"></div>DisplayMode <b><a href="qxtlanguagecombobox.html#displayMode">displayMode</a></b> () const</li>
<li><div class="fn"></div>QString <b><a href="qxtlanguagecombobox.html#translationPath">translationPath</a></b> () const</li>
</ul>
<ul>
<li><div class="fn"></div>55 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qcombobox.html#public-functions">QComboBox</a></li>
<li><div class="fn"></div>207 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#public-functions">QWidget</a></li>
<li><div class="fn"></div>12 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li><div class="fn"></div>29 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="public-slots"></a>
<h3>Public Slots</h3>
<ul>
<li><div class="fn"></div>void <b><a href="qxtlanguagecombobox.html#setCurrentLanguage">setCurrentLanguage</a></b> ( QLocale::Language <i>lang</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtlanguagecombobox.html#setDisplayMode">setDisplayMode</a></b> ( DisplayMode <i>mode</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtlanguagecombobox.html#setTranslationPath">setTranslationPath</a></b> ( const QString &amp; <i>path</i> )</li>
</ul>
<ul>
<li><div class="fn"></div>4 public slots inherited from <a href="http://doc.qtsoftware.com/4.5/qcombobox.html#public-slots">QComboBox</a></li>
<li><div class="fn"></div>19 public slots inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#public-slots">QWidget</a></li>
<li><div class="fn"></div>1 public slot inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-slots">QObject</a></li>
</ul>
<a name="signals"></a>
<h3>Signals</h3>
<ul>
<li><div class="fn"></div>void <b><a href="qxtlanguagecombobox.html#currentLanguageChanged">currentLanguageChanged</a></b> ( QLocale::Language <i>language</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtlanguagecombobox.html#currentLanguageNameChanged">currentLanguageNameChanged</a></b> ( const QString &amp; <i>name</i> )</li>
</ul>
<ul>
<li><div class="fn"></div>7 signals inherited from <a href="http://doc.qtsoftware.com/4.5/qcombobox.html#signals">QComboBox</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#signals">QWidget</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>13 properties inherited from <a href="http://doc.qtsoftware.com/4.5/qcombobox.html#properties">QComboBox</a></li>
<li><div class="fn"></div>57 properties inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#properties">QWidget</a></li>
<li><div class="fn"></div>1 property inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#properties">QObject</a></li>
<li><div class="fn"></div>1 public type inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#static-public-members">QWidget</a></li>
<li><div class="fn"></div>1 static public member inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#static-public-members">QPaintDevice</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>1 protected function inherited from <a href="http://doc.qtsoftware.com/4.5/qcombobox.html#protected-functions">QComboBox</a></li>
<li><div class="fn"></div>37 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#protected-functions">QWidget</a></li>
<li><div class="fn"></div>1 protected function inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"></div>1 protected slot inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#protected-slots">QWidget</a></li>
<li><div class="fn"></div>1 protected type inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QxtLanguageComboBox widget is an extended <a href="http://doc.qtsoftware.com/4.5/qcombobox.html">QComboBox</a> to display languages.</p>
<p>QxtLanguageComboBox is a specialized combo box to display spoken languages. The languages are taken from <a href="http://doc.qtsoftware.com/4.5/qlocale.html#Language-enum">QLocale::Language</a>.</p>
<p align="center"><img src="images/qxtlanguagecombobox.png" alt="&quot;QxtLanguageComboBox in Plastique style.&quot;" /></p><hr />
<h2>Member Type Documentation</h2>
<h3 class="fn"><a name="DisplayMode-enum"></a>enum QxtLanguageComboBox::DisplayMode</h3>
<p>This enum describes the displayed languages.</p>
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
<tr><td valign="top"><tt>QxtLanguageComboBox::AllLanguages</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Show all languages.</td></tr>
<tr><td valign="top"><tt>QxtLanguageComboBox::AvailableTranslations</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Show translated languages.</td></tr>
</table></p>
<p>See also QxtLanguageComboBox::displayMode.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QxtLanguageComboBox"></a>QxtLanguageComboBox::QxtLanguageComboBox ( <a href="http://doc.qtsoftware.com/4.5/qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
<p>Constructs a new <a href="qxtcountrycombobox.html">QxtCountryComboBox</a> with <i>parent</i>.</p>
<h3 class="fn"><a name="dtor.QxtLanguageComboBox"></a>QxtLanguageComboBox::~QxtLanguageComboBox ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Destructs the combo box.</p>
<h3 class="fn"><a name="currentLanguage"></a><a href="http://doc.qtsoftware.com/4.5/qlocale.html#Language-enum">QLocale::Language</a> QxtLanguageComboBox::currentLanguage () const</h3>
<p>See also <a href="qxtlanguagecombobox.html#setCurrentLanguage">setCurrentLanguage</a>().</p>
<h3 class="fn"><a name="currentLanguageChanged"></a>void QxtLanguageComboBox::currentLanguageChanged ( <a href="http://doc.qtsoftware.com/4.5/qlocale.html#Language-enum">QLocale::Language</a> <i>language</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the current selected <i>language</i> has been changed.</p>
<h3 class="fn"><a name="currentLanguageName"></a><a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> QxtLanguageComboBox::currentLanguageName () const</h3>
<h3 class="fn"><a name="currentLanguageNameChanged"></a>void QxtLanguageComboBox::currentLanguageNameChanged ( const <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> &amp; <i>name</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>This signal is emitted whenever the of the current selected language with <i>name</i> has been changed.</p>
<h3 class="fn"><a name="displayMode"></a><a href="qxtlanguagecombobox.html#DisplayMode-enum">DisplayMode</a> QxtLanguageComboBox::displayMode () const</h3>
<p>See also <a href="qxtlanguagecombobox.html#setDisplayMode">setDisplayMode</a>().</p>
<h3 class="fn"><a name="setCurrentLanguage"></a>void QxtLanguageComboBox::setCurrentLanguage ( <a href="http://doc.qtsoftware.com/4.5/qlocale.html#Language-enum">QLocale::Language</a> <i>lang</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>See also <a href="qxtlanguagecombobox.html#currentLanguage">currentLanguage</a>().</p>
<h3 class="fn"><a name="setDisplayMode"></a>void QxtLanguageComboBox::setDisplayMode ( <a href="qxtlanguagecombobox.html#DisplayMode-enum">DisplayMode</a> <i>mode</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>See also <a href="qxtlanguagecombobox.html#displayMode">displayMode</a>().</p>
<h3 class="fn"><a name="setTranslationPath"></a>void QxtLanguageComboBox::setTranslationPath ( const <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> &amp; <i>path</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>See also <a href="qxtlanguagecombobox.html#translationPath">translationPath</a>().</p>
<h3 class="fn"><a name="translationPath"></a><a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> QxtLanguageComboBox::translationPath () const</h3>
<p>See also <a href="qxtlanguagecombobox.html#setTranslationPath">setTranslationPath</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2007-2010
<a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td>
<td align="right"><div align="right">
<a href="http://libqxt.org">Qxt</a> 0.6.1</div></td>
</tr></table></div></address></body>
</html>