mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-21 02:49:41 +05:00
58 lines
2.2 KiB
Python
58 lines
2.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (C) 2014-2023 EDF
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
#
|
|
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
#
|
|
|
|
# Form implementation generated from reading ui file 'nomBase.ui'
|
|
#
|
|
# Created: Wed Feb 19 11:02:51 2014
|
|
# by: PyQt4 UI code generator 4.7.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
class Ui_LEDataBaseName(object):
|
|
def setupUi(self, LEDataBaseName):
|
|
LEDataBaseName.setObjectName("LEDataBaseName")
|
|
LEDataBaseName.resize(400, 61)
|
|
self.gridLayout = QtGui.QGridLayout(LEDataBaseName)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.LEBaseName = QtGui.QLineEdit(LEDataBaseName)
|
|
self.LEBaseName.setMinimumSize(QtCore.QSize(341, 41))
|
|
self.LEBaseName.setObjectName("LEBaseName")
|
|
self.gridLayout.addWidget(self.LEBaseName, 0, 0, 1, 1)
|
|
|
|
self.retranslateUi(LEDataBaseName)
|
|
QtCore.QMetaObject.connectSlotsByName(LEDataBaseName)
|
|
|
|
def retranslateUi(self, LEDataBaseName):
|
|
LEDataBaseName.setWindowTitle(QtGui.QApplication.translate("LEDataBaseName", "Enter DataBase File", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.LEBaseName.setText(QtGui.QApplication.translate("LEDataBaseName", "myMesh.db", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
app = QtGui.QApplication(sys.argv)
|
|
LEDataBaseName = QtGui.QDialog()
|
|
ui = Ui_LEDataBaseName()
|
|
ui.setupUi(LEDataBaseName)
|
|
LEDataBaseName.show()
|
|
sys.exit(app.exec_())
|
|
|