def getPrptiesFromUiCategory(self, categoryKey): if isinstance(categoryKey, basestring): sCategoryKey = categoryKey elif isinstance(categoryKey, int): sCategoryKey = toUnicode(self.uiCategoryList[categoryKey]) return self.uiCategoryDct.get(sCategoryKey, ())
def getValue(self): style = self._style if style == "text": oValue = toUnicode(self.prompt.text()) elif style in ("integer", "float"): oValue = self.prompt.value() return oValue
def getValue(self): return toUnicode(self.text())