Skip to content

Commit

Permalink
Add export epanet button
Browse files Browse the repository at this point in the history
Update qmls for add new features
  • Loading branch information
Mariosmsk committed Apr 16, 2018
1 parent 43550d9 commit 322ac91
Show file tree
Hide file tree
Showing 20 changed files with 3,711 additions and 2,277 deletions.
1,167 changes: 583 additions & 584 deletions Epa2GIS.py

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions ExportEpanetInpFiles_dialog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# -*- 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 : mariosmsk@gmail.com
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
"""

from qgis.PyQt import QtGui, uic, QtCore
from qgis.PyQt.QtWidgets import QDialog
import os

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


class ExportEpanetInpFilesDialog(QDialog, FORM_CLASS):
def __init__(self, parent=None):
"""Constructor."""
QDialog.__init__(self, None, QtCore.Qt.WindowStaysOnTopHint)
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 322ac91

Please sign in to comment.