예제 #1
0
    def __init__(self, tid, toolManager, parent=None):
        QtGui.QDialog.__init__(self, parent)
        PluginBase.__init__(self, tid, toolManager, parent)

        baseFolder = os.path.dirname(os.path.abspath(__file__))
        uic.loadUi(os.path.join(baseFolder, 'ui', 'damage_raster_export.ui'), self)

        self.shapeLayer = None

        self.rasterTypeNames = ['ecn_immob', 'ecn_mob', 'ecn_immob_stock', 'ecn_mob_stock', 'pop_dam_category', 'pop_density']
예제 #2
0
 def __init__(self, tid, toolManager, parent=None):
     PluginBase.__init__(self, tid, toolManager, parent)
     self.demExportDialog = None
     self.previewLayer = None
예제 #3
0
    def __init__(self, tid, toolManager, parent=None):
        PluginBase.__init__(self, tid, toolManager, parent)

        self.uiDir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'ui')
        self.layer = None
        self.toolbar = None
예제 #4
0
    def __init__(self, tid, toolManager, parent=None):
        PluginBase.__init__(self, tid, toolManager, parent)

        self.uiDir = os.path.join(os.path.dirname(__file__), "ui")
        self.activeRiverFid = None
        self.activeProfileFid = None