-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update qmls for add new features
- Loading branch information
Showing
20 changed files
with
3,711 additions
and
2,277 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
||
|
||
|
Oops, something went wrong.