mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Identation
This commit is contained in:
parent
6e1c5c4d75
commit
ef97063029
@ -103,10 +103,10 @@ class ProcessingDropHandler(QgsCustomDropHandler):
|
||||
class ProcessingModelItem(QgsDataItem):
|
||||
|
||||
def __init__(self, parent, name, path):
|
||||
super(ProcessingModelItem, self).__init__(QgsDataItem.Custom,parent,name,path)
|
||||
self.setState(QgsDataItem.Populated ) #no children
|
||||
super(ProcessingModelItem, self).__init__(QgsDataItem.Custom, parent, name, path)
|
||||
self.setState(QgsDataItem.Populated) # no children
|
||||
self.setIconName(":/images/themes/default/processingModel.svg")
|
||||
self.setToolTip(QDir.toNativeSeparators(path) )
|
||||
self.setToolTip(QDir.toNativeSeparators(path))
|
||||
|
||||
def hasDragEnabled(self):
|
||||
return True
|
||||
@ -159,6 +159,7 @@ class ProcessingDataItemProvider(QgsDataItemProvider):
|
||||
return ProcessingModelItem(parentItem, alg.name(), path)
|
||||
return None
|
||||
|
||||
|
||||
class ProcessingPlugin(object):
|
||||
|
||||
def __init__(self, iface):
|
||||
|
Loading…
x
Reference in New Issue
Block a user