aboutsummaryrefslogtreecommitdiff
path: root/demos/widgetsgallery/languagepage.h
diff options
context:
space:
mode:
authorMike FABIAN <mike.fabian@basyskom.de>2010-03-18 12:30:49 +0100
committerMike FABIAN <mike.fabian@basyskom.de>2010-03-18 16:06:58 +0100
commit30b809a666808842882aac891a54d8bf19e483a9 (patch)
treeedeee608c232a86056d9ada9cda67a507967c51e /demos/widgetsgallery/languagepage.h
parent00e45622495d4913cb698be88f4ac589a5d7a10a (diff)
Changes: improve change language page in widgetsgallery
RevBy: John Tapsell Details: - add support to change the locale specific number, currency, time, and date formatting and to change the locale specific collation - add sample translations to demonstrated localized numbers
Diffstat (limited to 'demos/widgetsgallery/languagepage.h')
-rw-r--r--demos/widgetsgallery/languagepage.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/demos/widgetsgallery/languagepage.h b/demos/widgetsgallery/languagepage.h
index db7f1c70..fcd283a1 100644
--- a/demos/widgetsgallery/languagepage.h
+++ b/demos/widgetsgallery/languagepage.h
@@ -40,13 +40,31 @@ public:
public slots:
void changeLanguage(int index);
+ void changeLcTime(int index);
+ void changeLcCollate(int index);
+ void changeLcNumeric(int index);
+ void changeLcMonetary(int index);
protected:
void retranslateUi();
private:
- DuiComboBox *comboBox;
- QStandardItemModel *model;
+ DuiComboBox *comboBoxLanguage;
+ QStandardItemModel *modelLanguage;
+ DuiComboBox *comboBoxLcTime;
+ QStandardItemModel *modelLcTime;
+ DuiComboBox *comboBoxLcCollate;
+ QStandardItemModel *modelLcCollate;
+ DuiComboBox *comboBoxLcNumeric;
+ QStandardItemModel *modelLcNumeric;
+ DuiComboBox *comboBoxLcMonetary;
+ QStandardItemModel *modelLcMonetary;
+ DuiLabel *labelExampleNumber;
+ DuiLabel *labelExampleDateTime;
+ DuiLabel *labelExampleCurrency;
+ DuiLabel *labelExampleTranslation1;
+ DuiLabel *labelExampleTranslation2;
+ DuiLabel *labelExampleTranslation3;
};
#endif