mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing]removed debug print lines
This commit is contained in:
parent
a39315afad
commit
c2e30b3c03
@ -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
|
||||
|
@ -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')
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user