예제 #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, ())
예제 #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
예제 #4
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
예제 #5
0
 def getValue(self):
     return toUnicode(self.text())
예제 #6
0
 def getValue(self):
     return toUnicode(self.text())