Exemple #1
0
    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 getPrptiesFromUiCategory(self, categoryKey):

        if isinstance(categoryKey, basestring):
            sCategoryKey = categoryKey
        elif isinstance(categoryKey, int):
            sCategoryKey = toUnicode(self.uiCategoryList[categoryKey])

        return self.uiCategoryDct.get(sCategoryKey, ())
Exemple #3
0
    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):

        style = self._style
        if style == "text":
            oValue = toUnicode(self.prompt.text())

        elif style in ("integer", "float"):
            oValue = self.prompt.value()

        return oValue
Exemple #5
0
 def getValue(self):
     return toUnicode(self.text())
 def getValue(self):
     return toUnicode(self.text())