pqLanguageChooserWidget is a property widget that shows a combo-box with values equal to the currently available translation languages.
More...
#include <pqLanguageChooserWidget.h>
|
template<class T > |
static QString | getXMLName (T *object) |
| Description: This static utility method returns the XML name for an object as a QString. More...
|
|
static QString | getTooltip (vtkSMProperty *property) |
| Returns the tooltip to use for the property. More...
|
|
static int | hintsWidgetHeightNumberOfRows (vtkPVXMLElement *hints, int defaultValue=10) |
| Helper method to return value from WidgetHeight XML hint, if any. More...
|
|
static std::vector< std::string > | parseComponentLabels (vtkPVXMLElement *hints, unsigned int elemCount=0) |
| Parse a XML element as a list of label to use for this widget. More...
|
|
void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
|
void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
|
void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
|
void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
|
void | setShowLabel (bool show) |
|
void | setChangeAvailableAsChangeFinished (bool status) |
| For most pqPropertyWidget subclasses a changeAvailable() signal, corresponds to a changeFinished() signal. More...
|
|
void | addDecorator (pqPropertyWidgetDecorator *) |
| Register a decorator. More...
|
|
void | removeDecorator (pqPropertyWidgetDecorator *) |
| Unregisters a decorator. More...
|
|
pqPropertyLinks & | links () |
| Provides access to the pqPropertyLinks instance. More...
|
|
pqLanguageChooserWidget is a property widget that shows a combo-box with values equal to the currently available translation languages.
Definition at line 17 of file pqLanguageChooserWidget.h.
◆ pqLanguageChooserWidget()
pqLanguageChooserWidget::pqLanguageChooserWidget |
( |
vtkSMProxy * |
proxy, |
|
|
vtkSMProperty * |
smproperty, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ ~pqLanguageChooserWidget()
pqLanguageChooserWidget::~pqLanguageChooserWidget |
( |
| ) |
|
|
override |
◆ value()
QString pqLanguageChooserWidget::value |
( |
| ) |
const |
get the current selected locale.
◆ setValue
void pqLanguageChooserWidget::setValue |
( |
QString & |
value | ) |
|
|
slot |
set the default value for the widget among the current items.
If the value is not in the items, add it, make it default and re-sort the list alphabetically.
◆ valueChanged
void pqLanguageChooserWidget::valueChanged |
( |
| ) |
|
|
signal |
◆ value
QString pqLanguageChooserWidget::value |
|
readwrite |
The documentation for this class was generated from the following file: