|
void | signalChanged (const QString &lang, const QString &text) |
| Emitted when the user changes the text for the current language.
|
|
void | signalSelectionChanged (const QString &lang) |
| Emitted when the current language changed.
|
|
void | signalValueAdded (const QString &lang, const QString &text) |
| Emitted when an entry for a new language is added.
|
|
void | signalValueDeleted (const QString &lang) |
| Emitted when the entry for a language is removed.
|
|
|
| AltLangStrEdit (QWidget *const parent, unsigned int lines=3) |
| Default contructor.
|
|
void | addCurrent () |
| Ensure that the current language is added to the list of entries, even if the text is empty.
|
|
bool | asDefaultAltLang () const |
|
QString | currentLanguageCode () const |
|
QString | defaultAltLang () const |
|
QString | languageCode (int index) const |
|
uint | linesVisible () const |
|
void | reset () |
| Reset widget, clear all entries.
|
|
void | setCurrentLanguageCode (const QString &lang) |
|
void | setLinesVisible (uint lines) |
| Fix lines visibile in text editor to lines.
|
|
void | setPlaceholderText (const QString &msg) |
|
void | setTitle (const QString &title) |
| Create a title widget with a QLabel and relevant text.
|
|
void | setTitleWidget (QWidget *const twdg) |
| Create a title with a specific widget instance (aka a QCheckBox for ex).
|
|
virtual void | setValues (const MetaEngine::AltLangMap &values) |
|
DTextEdit * | textEdit () const |
|
QWidget * | titleWidget () const |
| Return the current title widget instance.
|
|
MetaEngine::AltLangMap & | values () const |
|