예제 #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)