# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2013 EDF R&D
+# Copyright (C) 2007-2021 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# Modules Python
# Modules Eficas
+from __future__ import absolute_import
from desVisu import Ui_DVisu
-from PyQt4 import *
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
+from PyQt5.QtWidgets import QDialog
+
# Import des panels
-class DVisu(Ui_DVisu ,QtGui.QDialog):
+class DVisu(Ui_DVisu, QDialog):
"""
- Classe définissant le panel associé aux mots-clés qui demandent
- à l'utilisateur de choisir une seule valeur parmi une liste de valeurs
- discrètes
"""
def __init__(self,parent = None , name = None,fl = 0):
- QtGui.QDialog.__init__(self,parent)
+ QDialog.__init__(self,parent)
self.setModal(True)
self.setupUi(self)
def on_buttonOk_clicked(self):
QDialog.accept(self)
-