示例#1
0
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('interpolation data') +
                                         1:]
     return ParameterInterpolationData(name, descName, parent)
示例#2
0
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('interpolation data') + 1:]
     return ParameterInterpolationData(name, descName, parent)
示例#3
0
文件: Relief.py 项目: cayetanobv/QGIS
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('relief colors') + 1:]
     return ParameterReliefColors(name, descName, parent)
示例#4
0
文件: Relief.py 项目: rskelly/QGIS
 def fromScriptCode(self, line):
     isOptional, name, definition = _splitParameterOptions(line)
     descName = _createDescriptiveName(name)
     parent = definition.lower().strip()[len('relief colors') + 1:]
     return ParameterReliefColors(name, descName, parent)