Skip to content

Commit

Permalink
Add export epanet inp file button
Browse files Browse the repository at this point in the history
Add qml style and attributes.
QGIS 2 version 0.8
  • Loading branch information
Mariosmsk committed Apr 15, 2018
1 parent ccbcb71 commit 5a25399
Show file tree
Hide file tree
Showing 18 changed files with 4,764 additions and 1,220 deletions.
1,156 changes: 585 additions & 571 deletions Epa2GIS.py

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions ExportEpanetInpFiles_dialog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# -*- coding: utf-8 -*-
"""
/***************************************************************************
ExportEpanetInpFilesDialog
A QGIS plugin
Export shapefiles to epanet input files
-------------------
begin : 2017-04-20
git sha : $Format:%H$
copyright : (C) 2017 by KIOS Research Center
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
"""

import os

from PyQt4 import QtGui, uic

FORM_CLASS, _ = uic.loadUiType(os.path.join(
os.path.dirname(__file__), 'ExportEpanetInpFiles_dialog_base.ui'))


class ExportEpanetInpFilesDialog(QtGui.QDialog, FORM_CLASS):
def __init__(self, parent=None):
"""Constructor."""
super(ExportEpanetInpFilesDialog, self).__init__(parent)
# Set up the user interface from Designer.
# After setupUI you can access any designer object by doing
# self.<objectname>, and you can use autoconnect slots - see
# http://qt-project.org/doc/qt-4.8/designer-using-a-ui-file.html
# #widgets-and-dialogs-with-auto-connect

self.setupUi(self)



Loading

0 comments on commit 5a25399

Please sign in to comment.