Commit Graph

2983 Commits

Author SHA1 Message Date
Calamares CI
13e16b6954 [dummypythonqt] Automatic merge of Transifex translations 2016-12-17 02:46:16 +00:00
Calamares CI
2270aa8209 [core] Automatic merge of Transifex translations 2016-12-17 02:46:15 +00:00
Calamares CI
4b78714704 [dummypythonqt] Automatic merge of Transifex translations 2016-12-17 00:35:22 +00:00
Calamares CI
9a543a9656 [core] Automatic merge of Transifex translations 2016-12-17 00:35:21 +00:00
Calamares CI
5bea549daa [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:15:41 +00:00
Calamares CI
7726aa95b4 [core] Automatic merge of Transifex translations 2016-12-16 17:15:40 +00:00
Teo Mrnjavac
e67abde6f7 Pull all catalogs and push back to git. 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
256a629ece Push all PythonQt module translation catalogs. 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
ec1fc5f74d Properly load translations. 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
e89a8aa3b5 Copy and install PythonQt module translations, if found. 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
c2273b18b6 Add dummypythonqt Transifex resource configuration. 2016-12-16 17:03:14 +01:00
Calamares CI
172d336f57 [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
86bb699fdf [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
7b5b099c39 [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
404d261839 [core] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
5f632e8a3d [dummypythonqt] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Calamares CI
1af97258fe [core] Automatic merge of Transifex translations 2016-12-16 17:03:14 +01:00
Teo Mrnjavac
13e79f8c64 Format correctly. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
1797c5fea1 Handle exception. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
7160aa60c3 Reorder. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
27328a720b Get new locale name in retranslate function. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
b1c67f429f Update headers. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
f4696f22a1 Pass locale name to PythonQt module. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
99ca3d768d Expose translator locale name. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
0c36de68ff Attach retranslator to base widget of ViewStep. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
3143015440 PEP fix. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
e541dbfbea React to retranslate call. 2016-12-16 17:03:13 +01:00
Teo Mrnjavac
f61a4e6856 Add dummypythonqt to roster. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
9923e8504d Nicer strings. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
d3845144bb Start from empty str for entry point annotation. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
46787222c9 Fix ifdefs for WITH_PYTHONQT. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
0d6daf11b5 Update dummypythonqt to test PythonQt jobs. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
ca7728cd34 Implement PythonQtViewStep::jobs as a wrapper for Python-provided jobs. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
d425f71fdb Build it. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
aad1c536d1 New PythonQtJob class. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
3170067089 Make JobResult inheritable and remove obsolete Status enum. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
f3fa124f8d Set configuration map in PythonQt module. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
a3887d268a Expose global_storage and utils as objects in PythonQt.calamares. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
864109fd4e Build them. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
4648f5e8e0 Utils wrapper class, to expose libcalamares.utils under PythonQt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
7791307e1e Wrapper for GlobalStorage, to make it available through PythonQt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
25613d1bef Fix _calamares_module_basewidget check and improve readability. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
0f0a6ab18d PythonQtViewStep has no decorator. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
9aefeed648 Expose PythonQt.calamares.global_storage. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
69d870a486 Preliminary work on translations support in dummypythonqt. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
b77b4ee7d5 Extend dummypythonqt to test QWidget parenting and QObject::connect. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
a54f217173 Use CalamaresUtils::lookupAndCall in PythonQtViewStep.
This is done to support both Pythonic and Qt style method names, i.e.
both "isNextEnabled" and "is_next_enabled" is ok in a Python module.
Also better documentation in PythonQtViewStep, and stub for
setConfigurationMap.
Finally, proper handling of PythonQtViewStep Python-facing basewidget:
with this change, a call to PQVS::widget() only triggers a widget
relayout if it's necessary, and leaves it alone otherwise.
2016-12-16 17:03:00 +01:00
Teo Mrnjavac
fb9d1fa339 Add PythonQtUtils.{h,cpp} with CalamaresUtils::lookupAndCall. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
9570bd94e8 Nor this. 2016-12-16 17:03:00 +01:00
Teo Mrnjavac
869828a557 We don't need this. 2016-12-16 17:03:00 +01:00