40 lines
1.4 KiB
Python
40 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
/***************************************************************************
|
|
BackinMFUDialog
|
|
A QGIS plugin
|
|
Permet de créer une nouvelle session d'animation foncière
|
|
-------------------
|
|
begin : 2015-10-02
|
|
git sha : $Format:%H$
|
|
copyright : (C) 2015 by CEN Savoie
|
|
email : a.lesconnec@cen-savoie.org
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* 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
|
|
import psycopg2
|
|
import psycopg2.extras
|
|
from PyQt5 import QtGui, uic
|
|
from PyQt5.QtCore import *
|
|
from PyQt5.QtGui import *
|
|
from PyQt5.QtWidgets import QDialog
|
|
import datetime
|
|
from time import localtime, strftime
|
|
|
|
FORM_CLASS, _ = uic.loadUiType(os.path.join(os.path.dirname(__file__), 'backinMFU_dialog_base.ui'))
|
|
|
|
class BackinMFUDialog(QDialog, FORM_CLASS):
|
|
def __init__(self, parent=None):
|
|
"""Constructor."""
|
|
super(BackinMFUDialog, self).__init__(parent)
|
|
self.setupUi(self) |