comparison frontends/src/constants.py @ 1106:e2e1e27a3680

frontends: XMLUI refactoring + dialogs: - there are now XMLUIPanel and XMLUIDialog both inheriting from XMLUIBase - following dialogs are managed: - MessageDialog - NoteDialog - ConfirmDialog - FileDialog - XMLUI creation is now made using xmlui.create(...) instead of instanciating directly XMLUI - classes must be registed in frontends - "parent" attribute renamed to "_xmlui_parent" to avoid name conflicts with frontends toolkits
author Goffi <goffi@goffi.org>
date Wed, 13 Aug 2014 14:48:49 +0200
parents 11e2bb20e896
children 5968fd8d2248
comparison
equal deleted inserted replaced
1105:018bdd687747 1106:e2e1e27a3680
61 SYNTAX_TEXT = "text" 61 SYNTAX_TEXT = "text"
62 62
63 # XMLUI 63 # XMLUI
64 SAT_FORM_PREFIX = "SAT_FORM_" 64 SAT_FORM_PREFIX = "SAT_FORM_"
65 SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_" # used to have unique elements names 65 SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_" # used to have unique elements names
66 XMLUI_STATUS_VALIDATED = "validated"
67 XMLUI_STATUS_CANCELLED = constants.Const.XMLUI_DATA_CANCELLED
66 68
67 # MUC 69 # MUC
68 ALL_OCCUPANTS = 1 70 ALL_OCCUPANTS = 1
69 MUC_USER_STATES = { 71 MUC_USER_STATES = {
70 "active": u'✔', 72 "active": u'✔',