[processing]removed debug print lines

This commit is contained in:
volaya 2014-09-28 13:47:53 +02:00
parent a39315afad
commit c2e30b3c03
3 changed files with 1 additions and 6 deletions

View File

@ -120,7 +120,6 @@ class GeoAlgorithm:
"""
name = self.commandLineName().split(':')[1].lower()
filename = os.path.join(os.path.dirname(inspect.getfile(self.__class__)), 'help', name + '.rst')
print filename
try:
html = getHtmlFromRstFile(filename)
return True, html

View File

@ -43,7 +43,6 @@ class ModelerGraphicItem(QtGui.QGraphicsItem):
super(ModelerGraphicItem, self).__init__(None, None)
self.model = model
self.element = element
print element.__class__
if isinstance(element, ModelerParameter):
icon = QtGui.QIcon(os.path.dirname(__file__)
+ '/../images/input.png')

View File

@ -131,7 +131,7 @@ class ModelerParametersDialog(QDialog):
if isinstance(output, (OutputRaster, OutputVector, OutputTable,
OutputHTML, OutputFile, OutputDirectory)):
label = QLabel(output.description + '<'
+ output.__module__.split('.')[-1] + '>')
+ output.__class__.__name__ + '>')
item = QLineEdit()
if hasattr(item, 'setPlaceholderText'):
item.setPlaceholderText(ModelerParametersDialog.ENTER_NAME)
@ -376,10 +376,7 @@ class ModelerParametersDialog(QDialog):
def setComboBoxValue(self, combo, value, param):
if isinstance(value, list):
value = value[0]
print param.name
print value
items = [combo.itemData(i) for i in range(combo.count())]
print items
try:
idx = items.index(value)
combo.setCurrentIndex(idx)