class Ui_FiniteElementCreationDlg(object):
    def setupUi(self, FiniteElementCreationDlg):
        FiniteElementCreationDlg.setObjectName(_fromUtf8("FiniteElementCreationDlg"))
        FiniteElementCreationDlg.resize(400, 300)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/cmiss_icon.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        FiniteElementCreationDlg.setWindowIcon(icon)
        self.gridLayout = QtGui.QGridLayout(FiniteElementCreationDlg)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.pushButton = QtGui.QPushButton(FiniteElementCreationDlg)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.gridLayout.addWidget(self.pushButton, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self._zincWidget = ZincWidget(FiniteElementCreationDlg)
        self._zincWidget.setObjectName(_fromUtf8("_zincWidget"))
        self.gridLayout.addWidget(self._zincWidget, 0, 0, 1, 2)

        self.retranslateUi(FiniteElementCreationDlg)
        QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), FiniteElementCreationDlg.close)
        QtCore.QMetaObject.connectSlotsByName(FiniteElementCreationDlg)

    def retranslateUi(self, FiniteElementCreationDlg):
        FiniteElementCreationDlg.setWindowTitle(_translate("FiniteElementCreationDlg", "Finite Element Creation", None))
        self.pushButton.setText(_translate("FiniteElementCreationDlg", "&Quit", None))
    def setupUi(self, MaterialsDlg):
        MaterialsDlg.setObjectName(_fromUtf8("MaterialsDlg"))
        MaterialsDlg.resize(400, 300)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/cmiss_icon.ico")),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MaterialsDlg.setWindowIcon(icon)
        self.gridLayout = QtGui.QGridLayout(MaterialsDlg)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.pushButton = QtGui.QPushButton(MaterialsDlg)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.gridLayout.addWidget(self.pushButton, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self._zincWidget = ZincWidget(MaterialsDlg)
        self._zincWidget.setObjectName(_fromUtf8("_zincWidget"))
        self.gridLayout.addWidget(self._zincWidget, 0, 0, 1, 2)

        self.retranslateUi(MaterialsDlg)
        QtCore.QObject.connect(self.pushButton,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MaterialsDlg.close)
        QtCore.QMetaObject.connectSlotsByName(MaterialsDlg)
Beispiel #3
0
    def setupUi(self, MaterialsDlg):
        MaterialsDlg.setObjectName(_fromUtf8("MaterialsDlg"))
        MaterialsDlg.resize(400, 300)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/cmiss_icon.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MaterialsDlg.setWindowIcon(icon)
        self.gridLayout = QtGui.QGridLayout(MaterialsDlg)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.pushButton = QtGui.QPushButton(MaterialsDlg)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.gridLayout.addWidget(self.pushButton, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self._zincWidget = ZincWidget(MaterialsDlg)
        self._zincWidget.setObjectName(_fromUtf8("_zincWidget"))
        self.gridLayout.addWidget(self._zincWidget, 0, 0, 1, 2)

        self.retranslateUi(MaterialsDlg)
        QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), MaterialsDlg.close)
        QtCore.QMetaObject.connectSlotsByName(MaterialsDlg)