当前位置: 首页>>代码示例>>Python>>正文


Python MplWidget.setObjectName方法代码示例

本文整理汇总了Python中mplwidget.MplWidget.setObjectName方法的典型用法代码示例。如果您正苦于以下问题:Python MplWidget.setObjectName方法的具体用法?Python MplWidget.setObjectName怎么用?Python MplWidget.setObjectName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mplwidget.MplWidget的用法示例。


在下文中一共展示了MplWidget.setObjectName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: Ui_Plotterui

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_Plotterui(object):
    def setupUi(self, Plotterui):
        Plotterui.setObjectName(_fromUtf8("Plotterui"))
        Plotterui.setEnabled(True)
        Plotterui.resize(687, 624)
        self.MPLArea = MplWidget(Plotterui)
        self.MPLArea.setGeometry(QtCore.QRect(20, 40, 651, 561))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.MPLArea.sizePolicy().hasHeightForWidth())
        self.MPLArea.setSizePolicy(sizePolicy)
        self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
        self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
        self.Plot_comboBox = QtGui.QComboBox(Plotterui)
        self.Plot_comboBox.setGeometry(QtCore.QRect(20, 10, 141, 22))
        self.Plot_comboBox.setMaxVisibleItems(100)
        self.Plot_comboBox.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.Plot_comboBox.setObjectName(_fromUtf8("Plot_comboBox"))

        self.retranslateUi(Plotterui)
        QtCore.QObject.connect(self.Plot_comboBox, QtCore.SIGNAL(_fromUtf8("activated(int)")), Plotterui.myPlot)
        QtCore.QMetaObject.connectSlotsByName(Plotterui)

    def retranslateUi(self, Plotterui):
        Plotterui.setWindowTitle(
            QtGui.QApplication.translate("Plotterui", "Plotter", None, QtGui.QApplication.UnicodeUTF8)
        )
开发者ID:rnoske,项目名称:Specfit,代码行数:31,代码来源:Plotterui.py

示例2: Ui_MainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.mplwidget = MplWidget(self.centralwidget)
        self.mplwidget.setObjectName(_fromUtf8("mplwidget"))
        self.gridLayout.addWidget(self.mplwidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
开发者ID:cmoman,项目名称:Sequential_Clearance,代码行数:27,代码来源:ui_matplotlib2.py

示例3: Ui_Plotterui

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_Plotterui(object):
    def setupUi(self, Plotterui):
        Plotterui.setObjectName(_fromUtf8("Plotterui"))
        Plotterui.setEnabled(True)
        Plotterui.resize(803, 586)
        self.MPLArea = MplWidget(Plotterui)
        self.MPLArea.setGeometry(QtCore.QRect(150, 10, 641, 561))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.MPLArea.sizePolicy().hasHeightForWidth())
        self.MPLArea.setSizePolicy(sizePolicy)
        self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
        self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
        self.PLOT_Button = QtGui.QPushButton(Plotterui)
        self.PLOT_Button.setGeometry(QtCore.QRect(20, 250, 75, 23))
        self.PLOT_Button.setObjectName(_fromUtf8("PLOT_Button"))
        self.checkTotalInt = QtGui.QCheckBox(Plotterui)
        self.checkTotalInt.setEnabled(True)
        self.checkTotalInt.setGeometry(QtCore.QRect(11, 101, 62, 17))
        self.checkTotalInt.setMouseTracking(False)
        self.checkTotalInt.setChecked(False)
        self.checkTotalInt.setAutoExclusive(True)
        self.checkTotalInt.setObjectName(_fromUtf8("checkTotalInt"))
        self.checkFlammenhoehe = QtGui.QCheckBox(Plotterui)
        self.checkFlammenhoehe.setGeometry(QtCore.QRect(11, 124, 95, 17))
        self.checkFlammenhoehe.setChecked(True)
        self.checkFlammenhoehe.setAutoExclusive(True)
        self.checkFlammenhoehe.setObjectName(_fromUtf8("checkFlammenhoehe"))
        self.checkFlammenhoeheGauss = QtGui.QCheckBox(Plotterui)
        self.checkFlammenhoeheGauss.setGeometry(QtCore.QRect(10, 150, 131, 17))
        self.checkFlammenhoeheGauss.setChecked(False)
        self.checkFlammenhoeheGauss.setAutoExclusive(True)
        self.checkFlammenhoeheGauss.setObjectName(_fromUtf8("checkFlammenhoeheGauss"))
        self.checkFlammenoberflaecheGauss = QtGui.QCheckBox(Plotterui)
        self.checkFlammenoberflaecheGauss.setGeometry(QtCore.QRect(10, 180, 131, 17))
        self.checkFlammenoberflaecheGauss.setChecked(False)
        self.checkFlammenoberflaecheGauss.setAutoExclusive(True)
        self.checkFlammenoberflaecheGauss.setObjectName(_fromUtf8("checkFlammenoberflaecheGauss"))

        self.retranslateUi(Plotterui)
        QtCore.QObject.connect(self.PLOT_Button, QtCore.SIGNAL(_fromUtf8("clicked()")), Plotterui.myPlot)
        QtCore.QMetaObject.connectSlotsByName(Plotterui)

    def retranslateUi(self, Plotterui):
        Plotterui.setWindowTitle(QtGui.QApplication.translate("Plotterui", "Plotter", None, QtGui.QApplication.UnicodeUTF8))
        self.PLOT_Button.setText(QtGui.QApplication.translate("Plotterui", "PLOT!", None, QtGui.QApplication.UnicodeUTF8))
        self.checkTotalInt.setText(QtGui.QApplication.translate("Plotterui", "total Int", None, QtGui.QApplication.UnicodeUTF8))
        self.checkFlammenhoehe.setText(QtGui.QApplication.translate("Plotterui", "Flammenhoehe", None, QtGui.QApplication.UnicodeUTF8))
        self.checkFlammenhoeheGauss.setText(QtGui.QApplication.translate("Plotterui", "Flammenhoehe Gauss", None, QtGui.QApplication.UnicodeUTF8))
        self.checkFlammenoberflaecheGauss.setText(QtGui.QApplication.translate("Plotterui", "Flammenoberflaeche", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:rnoske,项目名称:BBA,代码行数:54,代码来源:Plotterui.py

示例4: Ui_MplMainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MplMainWindow(object):
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName(_fromUtf8("MplMainWindow"))
        MplMainWindow.resize(646, 600)
        self.centralWidget = QtGui.QWidget(MplMainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.centralWidget)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 581, 51))
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.mpllineEdit = QtGui.QLineEdit(self.horizontalLayoutWidget)
        self.mpllineEdit.setObjectName(_fromUtf8("mpllineEdit"))
        self.horizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtGui.QPushButton(self.horizontalLayoutWidget)
        self.mplpushButton.setObjectName(_fromUtf8("mplpushButton"))
        self.horizontalLayout.addWidget(self.mplpushButton)
        self.mpl = MplWidget(self.centralWidget)
        self.mpl.setGeometry(QtCore.QRect(20, 90, 571, 441))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName(_fromUtf8("mpl"))
        MplMainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MplMainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 646, 23))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.mplmenuFile = QtGui.QMenu(self.menuBar)
        self.mplmenuFile.setObjectName(_fromUtf8("mplmenuFile"))
        MplMainWindow.setMenuBar(self.menuBar)
        self.mplactionOpen = QtGui.QAction(MplMainWindow)
        self.mplactionOpen.setObjectName(_fromUtf8("mplactionOpen"))
        self.mplactionQuit = QtGui.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName(_fromUtf8("mplactionQuit"))
        self.mplmenuFile.addAction(self.mplactionOpen)
        self.mplmenuFile.addSeparator()
        self.mplmenuFile.addAction(self.mplactionQuit)
        self.menuBar.addAction(self.mplmenuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)

    def retranslateUi(self, MplMainWindow):
        MplMainWindow.setWindowTitle(_translate("MplMainWindow", "MainWindow", None))
        self.mplpushButton.setText(_translate("MplMainWindow", "PushButton", None))
        self.mplmenuFile.setTitle(_translate("MplMainWindow", "File", None))
        self.mplactionOpen.setText(_translate("MplMainWindow", "Open", None))
        self.mplactionQuit.setText(_translate("MplMainWindow", "Quit", None))
开发者ID:tjzhaomengyi,项目名称:ExampleForMatplotOnQT4,代码行数:53,代码来源:Ui_qtdesigner.py

示例5: Ui_MplMainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MplMainWindow(object):
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName("MplMainWindow")
        MplMainWindow.resize(800, 600)
        self.mplcentralwidget = QtGui.QWidget(MplMainWindow)
        self.mplcentralwidget.setObjectName("mplcentralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.mplcentralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.mplhorizontalLayout = QtGui.QHBoxLayout()
        self.mplhorizontalLayout.setObjectName("mplhorizontalLayout")
        self.mpllineEdit = QtGui.QLineEdit(self.mplcentralwidget)
        self.mpllineEdit.setObjectName("mpllineEdit")
        self.mplhorizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtGui.QPushButton(self.mplcentralwidget)
        self.mplpushButton.setObjectName("mplpushButton")
        self.mplhorizontalLayout.addWidget(self.mplpushButton)
        self.verticalLayout.addLayout(self.mplhorizontalLayout)
        self.mpl = MplWidget(self.mplcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName("mpl")
        self.verticalLayout.addWidget(self.mpl)
        MplMainWindow.setCentralWidget(self.mplcentralwidget)
        self.mplmenubar = QtGui.QMenuBar(MplMainWindow)
        self.mplmenubar.setGeometry(QtCore.QRect(0, 0, 800, 25))
        self.mplmenubar.setObjectName("mplmenubar")
        self.mplmenuFile = QtGui.QMenu(self.mplmenubar)
        self.mplmenuFile.setObjectName("mplmenuFile")
        MplMainWindow.setMenuBar(self.mplmenubar)
        self.mplactionOpen = QtGui.QAction(MplMainWindow)
        self.mplactionOpen.setObjectName("mplactionOpen")
        self.mplactionQuit = QtGui.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName("mplactionQuit")
        self.mplmenuFile.addAction(self.mplactionOpen)
        self.mplmenuFile.addSeparator()
        self.mplmenuFile.addAction(self.mplactionQuit)
        self.mplmenubar.addAction(self.mplmenuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)

    def retranslateUi(self, MplMainWindow):
        MplMainWindow.setWindowTitle(QtGui.QApplication.translate("MplMainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.mplpushButton.setText(QtGui.QApplication.translate("MplMainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
        self.mplmenuFile.setTitle(QtGui.QApplication.translate("MplMainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.mplactionOpen.setText(QtGui.QApplication.translate("MplMainWindow", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.mplactionQuit.setText(QtGui.QApplication.translate("MplMainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:Azizou,项目名称:joac-python,代码行数:52,代码来源:qtdesigner.py

示例6: Ui_GpMainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_GpMainWindow(object):
    def setupUi(self, GpMainWindow):
        GpMainWindow.setObjectName("GpMainWindow")
        GpMainWindow.resize(567, 497)
        self.Gpcentralwidget = QtGui.QWidget(GpMainWindow)
        self.Gpcentralwidget.setObjectName("Gpcentralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.Gpcentralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.GpgridLayout = QtGui.QGridLayout()
        self.GpgridLayout.setObjectName("GpgridLayout")
        self.GppushButton = QtGui.QPushButton(self.Gpcentralwidget)
        self.GppushButton.setObjectName("GppushButton")
        self.GpgridLayout.addWidget(self.GppushButton, 1, 2, 1, 1)
        self.GpradioButton2 = QtGui.QRadioButton(self.Gpcentralwidget)
        self.GpradioButton2.setEnabled(False)
        self.GpradioButton2.setObjectName("GpradioButton2")
        self.GpgridLayout.addWidget(self.GpradioButton2, 1, 1, 1, 1)
        self.GpradioButton = QtGui.QRadioButton(self.Gpcentralwidget)
        self.GpradioButton.setChecked(True)
        self.GpradioButton.setObjectName("GpradioButton")
        self.GpgridLayout.addWidget(self.GpradioButton, 1, 0, 1, 1)
        self.GplineEdit = QtGui.QLineEdit(self.Gpcentralwidget)
        self.GplineEdit.setObjectName("GplineEdit")
        self.GpgridLayout.addWidget(self.GplineEdit, 0, 0, 1, 1)
        self.GplineEdit_2 = QtGui.QLineEdit(self.Gpcentralwidget)
        self.GplineEdit_2.setObjectName("GplineEdit_2")
        self.GpgridLayout.addWidget(self.GplineEdit_2, 0, 1, 1, 1)
        self.GplineEdit_3 = QtGui.QLineEdit(self.Gpcentralwidget)
        self.GplineEdit_3.setEnabled(False)
        self.GplineEdit_3.setObjectName("GplineEdit_3")
        self.GpgridLayout.addWidget(self.GplineEdit_3, 0, 2, 1, 1)
        self.verticalLayout.addLayout(self.GpgridLayout)
        self.Mpl = MplWidget(self.Gpcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Mpl.sizePolicy().hasHeightForWidth())
        self.Mpl.setSizePolicy(sizePolicy)
        self.Mpl.setObjectName("Mpl")
        self.verticalLayout.addWidget(self.Mpl)
        GpMainWindow.setCentralWidget(self.Gpcentralwidget)

        self.retranslateUi(GpMainWindow)
        QtCore.QMetaObject.connectSlotsByName(GpMainWindow)

    def retranslateUi(self, GpMainWindow):
        GpMainWindow.setWindowTitle(QtGui.QApplication.translate("GpMainWindow", "Graph Plotter", None, QtGui.QApplication.UnicodeUTF8))
        self.GppushButton.setText(QtGui.QApplication.translate("GpMainWindow", "Draw", None, QtGui.QApplication.UnicodeUTF8))
        self.GpradioButton2.setText(QtGui.QApplication.translate("GpMainWindow", "Plot 3D", None, QtGui.QApplication.UnicodeUTF8))
        self.GpradioButton.setText(QtGui.QApplication.translate("GpMainWindow", "Plot 2D", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:ccluri,项目名称:Qt-learning-tasks,代码行数:52,代码来源:Gplotter.py

示例7: Ui_MainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.plotCanvas = MplWidget(self.centralwidget)
        self.plotCanvas.setObjectName(_fromUtf8("plotCanvas"))
        self.verticalLayout.addWidget(self.plotCanvas)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Plots", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:SatwantKumar,项目名称:Moogli,代码行数:20,代码来源:graphPlotter.py

示例8: Ui_FrameViewWidget

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_FrameViewWidget(object):
    def setupUi(self, FrameViewWidget):
        FrameViewWidget.setObjectName("FrameViewWidget")
        FrameViewWidget.resize(603, 221)
        self.confWidget1 = MplWidget(FrameViewWidget)
        self.confWidget1.setGeometry(QtCore.QRect(0, 10, 501, 51))
        self.confWidget1.setObjectName("confWidget1")
        self.confWidget3 = MplWidget(FrameViewWidget)
        self.confWidget3.setGeometry(QtCore.QRect(0, 110, 501, 51))
        self.confWidget3.setObjectName("confWidget3")
        self.le_max = QtGui.QLineEdit(FrameViewWidget)
        self.le_max.setGeometry(QtCore.QRect(530, 10, 61, 23))
        self.le_max.setObjectName("le_max")
        self.confWidget4 = MplWidget(FrameViewWidget)
        self.confWidget4.setGeometry(QtCore.QRect(0, 160, 501, 51))
        self.confWidget4.setObjectName("confWidget4")
        self.btn_set = QtGui.QPushButton(FrameViewWidget)
        self.btn_set.setGeometry(QtCore.QRect(540, 40, 41, 41))
        self.btn_set.setObjectName("btn_set")
        self.w_colourbar = MplWidget(FrameViewWidget)
        self.w_colourbar.setGeometry(QtCore.QRect(500, 10, 31, 201))
        self.w_colourbar.setObjectName("w_colourbar")
        self.le_min = QtGui.QLineEdit(FrameViewWidget)
        self.le_min.setGeometry(QtCore.QRect(530, 130, 61, 23))
        self.le_min.setObjectName("le_min")
        self.btn_clear = QtGui.QPushButton(FrameViewWidget)
        self.btn_clear.setGeometry(QtCore.QRect(540, 80, 41, 41))
        self.btn_clear.setObjectName("btn_clear")
        self.confWidget2 = MplWidget(FrameViewWidget)
        self.confWidget2.setGeometry(QtCore.QRect(0, 60, 501, 51))
        self.confWidget2.setObjectName("confWidget2")
        self.pb_open = QtGui.QPushButton(FrameViewWidget)
        self.pb_open.setGeometry(QtCore.QRect(540, 160, 41, 41))
        self.pb_open.setObjectName("pb_open")

        self.retranslateUi(FrameViewWidget)
        QtCore.QMetaObject.connectSlotsByName(FrameViewWidget)

    def retranslateUi(self, FrameViewWidget):
        FrameViewWidget.setWindowTitle(QtGui.QApplication.translate("FrameViewWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_set.setText(QtGui.QApplication.translate("FrameViewWidget", "set", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_clear.setText(QtGui.QApplication.translate("FrameViewWidget", "clear", None, QtGui.QApplication.UnicodeUTF8))
        self.pb_open.setText(QtGui.QApplication.translate("FrameViewWidget", "open", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:groakat,项目名称:videotagger,代码行数:45,代码来源:FrameViewWidget_auto.py

示例9: Ui_GpMainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_GpMainWindow(object):
    def setupUi(self, GpMainWindow):
        GpMainWindow.setObjectName(_fromUtf8("GpMainWindow"))
        GpMainWindow.resize(567, 497)
        self.Gpcentralwidget = QtGui.QWidget(GpMainWindow)
        self.Gpcentralwidget.setObjectName(_fromUtf8("Gpcentralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.Gpcentralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.Mpl = MplWidget(self.Gpcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Mpl.sizePolicy().hasHeightForWidth())
        self.Mpl.setSizePolicy(sizePolicy)
        self.Mpl.setObjectName(_fromUtf8("Mpl"))
        self.verticalLayout.addWidget(self.Mpl)
        self.GpgridLayout = QtGui.QGridLayout()
        self.GpgridLayout.setObjectName(_fromUtf8("GpgridLayout"))
        self.pushButton = QtGui.QPushButton(self.Gpcentralwidget)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.GpgridLayout.addWidget(self.pushButton, 0, 1, 1, 1)
        self.GppushButton = QtGui.QPushButton(self.Gpcentralwidget)
        self.GppushButton.setObjectName(_fromUtf8("GppushButton"))
        self.GpgridLayout.addWidget(self.GppushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtGui.QPushButton(self.Gpcentralwidget)
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.GpgridLayout.addWidget(self.pushButton_2, 0, 2, 1, 1)
        self.verticalLayout.addLayout(self.GpgridLayout)
        GpMainWindow.setCentralWidget(self.Gpcentralwidget)

        self.retranslateUi(GpMainWindow)
        QtCore.QObject.connect(self.GppushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), GpMainWindow.slot1)
        QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), GpMainWindow.slot1)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL(_fromUtf8("clicked()")), GpMainWindow.slot1)
        QtCore.QMetaObject.connectSlotsByName(GpMainWindow)

    def retranslateUi(self, GpMainWindow):
        GpMainWindow.setWindowTitle(_translate("GpMainWindow", "Graph Plotter", None))
        self.pushButton.setText(_translate("GpMainWindow", "Enfriar", None))
        self.GppushButton.setText(_translate("GpMainWindow", "StartPlot", None))
        self.pushButton_2.setText(_translate("GpMainWindow", "Calentar", None))
开发者ID:P1R,项目名称:STM32,代码行数:43,代码来源:plotter.py

示例10: Ui_MainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1056, 687)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.confWidget1 = MplWidget(self.centralwidget)
        self.confWidget1.setGeometry(QtCore.QRect(10, 30, 501, 51))
        self.confWidget1.setObjectName("confWidget1")
        self.btn_redraw = QtGui.QPushButton(self.centralwidget)
        self.btn_redraw.setGeometry(QtCore.QRect(740, 390, 94, 24))
        self.btn_redraw.setObjectName("btn_redraw")
        self.confWidget2 = MplWidget(self.centralwidget)
        self.confWidget2.setGeometry(QtCore.QRect(10, 90, 501, 51))
        self.confWidget2.setObjectName("confWidget2")
        self.confWidget3 = MplWidget(self.centralwidget)
        self.confWidget3.setGeometry(QtCore.QRect(10, 150, 501, 51))
        self.confWidget3.setObjectName("confWidget3")
        self.confWidget4 = MplWidget(self.centralwidget)
        self.confWidget4.setGeometry(QtCore.QRect(10, 210, 501, 51))
        self.confWidget4.setObjectName("confWidget4")
        self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(110, 330, 521, 171))
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.btn_generateData = QtGui.QPushButton(self.centralwidget)
        self.btn_generateData.setGeometry(QtCore.QRect(740, 320, 94, 24))
        self.btn_generateData.setObjectName("btn_generateData")
        self.btn_loadData = QtGui.QPushButton(self.centralwidget)
        self.btn_loadData.setGeometry(QtCore.QRect(740, 360, 94, 24))
        self.btn_loadData.setObjectName("btn_loadData")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1056, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_redraw.setText(QtGui.QApplication.translate("MainWindow", "redraw", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_generateData.setText(QtGui.QApplication.translate("MainWindow", "generate data", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_loadData.setText(QtGui.QApplication.translate("MainWindow", "load data", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:groakat,项目名称:videotagger,代码行数:52,代码来源:matplotlibDistplay.py

示例11: Ui_MainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.MplWidget = MplWidget(self.centralwidget)
        self.MplWidget.setObjectName(_fromUtf8("MplWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.MplWidget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout.addWidget(self.MplWidget)
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.verticalLayout.addWidget(self.pushButton)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        self.menubar.setNativeMenuBar(False)
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionLoad_Grid = QtGui.QAction(MainWindow)
        self.actionLoad_Grid.setObjectName(_fromUtf8("actionLoad_Grid"))
        self.menuFile.addAction(self.actionLoad_Grid)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("MainWindow", "Hello world", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoad_Grid.setText(QtGui.QApplication.translate("MainWindow", "Load Grid", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:followthesheep,项目名称:specgrid,代码行数:42,代码来源:mainwindow.py

示例12: Ui_MainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(752, 563)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.groupBox_3 = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMinimumSize(QtCore.QSize(0, 200))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.mplWidget = MplWidget(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplWidget.sizePolicy().hasHeightForWidth())
        self.mplWidget.setSizePolicy(sizePolicy)
        self.mplWidget.setObjectName(_fromUtf8("mplWidget"))
        self.verticalLayout_4.addWidget(self.mplWidget)
        self.verticalLayout_6.addWidget(self.groupBox_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_saturation = QtGui.QLabel(self.centralwidget)
        self.label_saturation.setObjectName(_fromUtf8("label_saturation"))
        self.horizontalLayout.addWidget(self.label_saturation)
        self.slider_saturation = QtGui.QSlider(self.centralwidget)
        self.slider_saturation.setOrientation(QtCore.Qt.Horizontal)
        self.slider_saturation.setObjectName(_fromUtf8("slider_saturation"))
        self.horizontalLayout.addWidget(self.slider_saturation)
        self.label_percent_value = QtGui.QLabel(self.centralwidget)
        self.label_percent_value.setMinimumSize(QtCore.QSize(18, 0))
        self.label_percent_value.setLineWidth(2)
        self.label_percent_value.setMidLineWidth(2)
        self.label_percent_value.setText(_fromUtf8("0"))
        self.label_percent_value.setTextFormat(QtCore.Qt.AutoText)
        self.label_percent_value.setScaledContents(True)
        self.label_percent_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_percent_value.setMargin(0)
        self.label_percent_value.setObjectName(_fromUtf8("label_percent_value"))
        self.horizontalLayout.addWidget(self.label_percent_value)
        self.label_percent_symbol = QtGui.QLabel(self.centralwidget)
        self.label_percent_symbol.setObjectName(_fromUtf8("label_percent_symbol"))
        self.horizontalLayout.addWidget(self.label_percent_symbol)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.textBrowser = QtGui.QTextBrowser(self.centralwidget)
        self.textBrowser.setMaximumSize(QtCore.QSize(16777215, 200))
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.verticalLayout_6.addWidget(self.textBrowser)
        self.horizontalLayout_2.addLayout(self.verticalLayout_6)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_2 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_2.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.listWidget_link = QtGui.QListWidget(self.groupBox_2)
        self.listWidget_link.setMaximumSize(QtCore.QSize(300, 16777215))
        self.listWidget_link.setObjectName(_fromUtf8("listWidget_link"))
        self.verticalLayout_3.addWidget(self.listWidget_link)
        self.pushButton_reload = QtGui.QPushButton(self.groupBox_2)
        self.pushButton_reload.setObjectName(_fromUtf8("pushButton_reload"))
        self.verticalLayout_3.addWidget(self.pushButton_reload)
        self.groupBox = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_C = QtGui.QLabel(self.groupBox)
        self.label_C.setObjectName(_fromUtf8("label_C"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_C)
        self.label_C_value = QtGui.QLabel(self.groupBox)
        self.label_C_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_C_value.setObjectName(_fromUtf8("label_C_value"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.label_C_value)
        self.label_A = QtGui.QLabel(self.groupBox)
        self.label_A.setObjectName(_fromUtf8("label_A"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_A)
        self.label_A_value = QtGui.QLabel(self.groupBox)
        self.label_A_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_A_value.setObjectName(_fromUtf8("label_A_value"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.label_A_value)
        self.label_S = QtGui.QLabel(self.groupBox)
        self.label_S.setObjectName(_fromUtf8("label_S"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_S)
        self.label_S_value = QtGui.QLabel(self.groupBox)
        self.label_S_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_S_value.setObjectName(_fromUtf8("label_S_value"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.label_S_value)
        self.label_T = QtGui.QLabel(self.groupBox)
#.........这里部分代码省略.........
开发者ID:perellonieto,项目名称:pfc-platform-test,代码行数:103,代码来源:dcsmmainwindow.py

示例13: Ui_Hucha

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_Hucha(object):
    def setupUi(self, Hucha):
        Hucha.setObjectName(_fromUtf8("Hucha"))
        Hucha.resize(800, 600)
        Hucha.setWindowTitle(QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(Hucha)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.combo_Tipo = QtGui.QComboBox(self.centralwidget)
        self.combo_Tipo.setGeometry(QtCore.QRect(170, 20, 111, 29))
        self.combo_Tipo.setObjectName(_fromUtf8("combo_Tipo"))
        self.combo_Tipo.addItem(_fromUtf8(""))
        self.combo_Tipo.setItemText(0, QtGui.QApplication.translate("Hucha", "Ingreso", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_Tipo.addItem(_fromUtf8(""))
        self.combo_Tipo.setItemText(1, QtGui.QApplication.translate("Hucha", "Gasto", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_Lugar = QtGui.QComboBox(self.centralwidget)
        self.combo_Lugar.setGeometry(QtCore.QRect(430, 20, 111, 29))
        self.combo_Lugar.setObjectName(_fromUtf8("combo_Lugar"))
        self.combo_Lugar.addItem(_fromUtf8(""))
        self.combo_Lugar.setItemText(0, QtGui.QApplication.translate("Hucha", "Banco", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_Lugar.addItem(_fromUtf8(""))
        self.combo_Lugar.setItemText(1, QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
        self.dateEdit = QtGui.QDateEdit(self.centralwidget)
        self.dateEdit.setGeometry(QtCore.QRect(170, 74, 110, 29))
        self.dateEdit.setDateTime(QtCore.QDateTime(QtCore.QDate(2000, 1, 1), QtCore.QTime(0, 0, 0)))
        self.dateEdit.setObjectName(_fromUtf8("dateEdit"))
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(90, 20, 41, 30))
        self.label.setText(QtGui.QApplication.translate("Hucha", "Tipo:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(350, 20, 51, 30))
        self.label_2.setText(QtGui.QApplication.translate("Hucha", "Lugar:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(90, 74, 50, 30))
        self.label_3.setText(QtGui.QApplication.translate("Hucha", "Fecha:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(90, 130, 90, 30))
        self.label_4.setText(QtGui.QApplication.translate("Hucha", "Comentarios:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.boton_Ok = QtGui.QPushButton(self.centralwidget)
        self.boton_Ok.setGeometry(QtCore.QRect(600, 120, 41, 41))
        self.boton_Ok.setToolTip(QtGui.QApplication.translate("Hucha", "Ingresar nuevo movimiento", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Ok.setText(_fromUtf8(""))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../usr/share/icons/Faenza/actions/32/dialog-ok.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Ok.setIcon(icon)
        self.boton_Ok.setIconSize(QtCore.QSize(32, 32))
        self.boton_Ok.setObjectName(_fromUtf8("boton_Ok"))
        self.text_Cantidad = QtGui.QTextEdit(self.centralwidget)
        self.text_Cantidad.setGeometry(QtCore.QRect(430, 74, 111, 31))
        self.text_Cantidad.setObjectName(_fromUtf8("text_Cantidad"))
        self.label_5 = QtGui.QLabel(self.centralwidget)
        self.label_5.setGeometry(QtCore.QRect(340, 80, 67, 21))
        self.label_5.setText(QtGui.QApplication.translate("Hucha", "Cantidad:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.text_Comentarios = QtGui.QTextEdit(self.centralwidget)
        self.text_Comentarios.setGeometry(QtCore.QRect(170, 130, 411, 31))
        self.text_Comentarios.setObjectName(_fromUtf8("text_Comentarios"))
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(580, 10, 181, 101))
        self.groupBox.setAutoFillBackground(False)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setGeometry(QtCore.QRect(20, 0, 51, 30))
        self.label_6.setText(QtGui.QApplication.translate("Hucha", "Hucha:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_8 = QtGui.QLabel(self.groupBox)
        self.label_8.setGeometry(QtCore.QRect(20, 60, 51, 30))
        self.label_8.setText(QtGui.QApplication.translate("Hucha", "Total:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.label_Total = QtGui.QLabel(self.groupBox)
        self.label_Total.setGeometry(QtCore.QRect(100, 60, 71, 30))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_Total.setFont(font)
        self.label_Total.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Total.setObjectName(_fromUtf8("label_Total"))
        self.label_Banco = QtGui.QLabel(self.groupBox)
        self.label_Banco.setGeometry(QtCore.QRect(100, 30, 71, 30))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_Banco.setFont(font)
        self.label_Banco.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Banco.setObjectName(_fromUtf8("label_Banco"))
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setGeometry(QtCore.QRect(20, 30, 51, 30))
        self.label_7.setText(QtGui.QApplication.translate("Hucha", "Banco:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.label_Hucha = QtGui.QLabel(self.groupBox)
        self.label_Hucha.setGeometry(QtCore.QRect(100, 0, 71, 30))
#.........这里部分代码省略.........
开发者ID:elelectronlibre,项目名称:MMeel,代码行数:103,代码来源:MMeel_ui.py

示例14: Ui_Form

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(753, 498)
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(Form)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_11 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
        self.label_11.setSizePolicy(sizePolicy)
        self.label_11.setText(QtGui.QApplication.translate("Form", "X Axis:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setAlignment(QtCore.Qt.AlignCenter)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_9.addWidget(self.label_11)
        self.x_unit_type_box = QtGui.QComboBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.x_unit_type_box.sizePolicy().hasHeightForWidth())
        self.x_unit_type_box.setSizePolicy(sizePolicy)
        self.x_unit_type_box.setObjectName(_fromUtf8("x_unit_type_box"))
        self.x_unit_type_box.addItem(_fromUtf8(""))
        self.x_unit_type_box.setItemText(0, QtGui.QApplication.translate("Form", "Wavelength", None, QtGui.QApplication.UnicodeUTF8))
        self.x_unit_type_box.addItem(_fromUtf8(""))
        self.x_unit_type_box.setItemText(1, QtGui.QApplication.translate("Form", "Wavenumber", None, QtGui.QApplication.UnicodeUTF8))
        self.x_unit_type_box.addItem(_fromUtf8(""))
        self.x_unit_type_box.setItemText(2, QtGui.QApplication.translate("Form", "Energy", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_9.addWidget(self.x_unit_type_box)
        self.label_12 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setText(QtGui.QApplication.translate("Form", "in", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_9.addWidget(self.label_12)
        self.stackedWidget = QtGui.QStackedWidget(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
        self.stackedWidget.setSizePolicy(sizePolicy)
        self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
        self.page_3 = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.page_3.sizePolicy().hasHeightForWidth())
        self.page_3.setSizePolicy(sizePolicy)
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.page_3)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.wavelength_units = QtGui.QComboBox(self.page_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavelength_units.sizePolicy().hasHeightForWidth())
        self.wavelength_units.setSizePolicy(sizePolicy)
        self.wavelength_units.setObjectName(_fromUtf8("wavelength_units"))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(0, QtGui.QApplication.translate("Form", "Nanometres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(1, QtGui.QApplication.translate("Form", "Metres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(2, QtGui.QApplication.translate("Form", "Angstroms", None, QtGui.QApplication.UnicodeUTF8))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(3, QtGui.QApplication.translate("Form", "Furlongs", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_2.addWidget(self.wavelength_units)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.stackedWidget.addWidget(self.page_3)
        self.page = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.page.sizePolicy().hasHeightForWidth())
        self.page.setSizePolicy(sizePolicy)
        self.page.setObjectName(_fromUtf8("page"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.page)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.wavenumber_units = QtGui.QComboBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavenumber_units.sizePolicy().hasHeightForWidth())
        self.wavenumber_units.setSizePolicy(sizePolicy)
        self.wavenumber_units.setObjectName(_fromUtf8("wavenumber_units"))
        self.wavenumber_units.addItem(_fromUtf8(""))
        self.wavenumber_units.setItemText(0, QtGui.QApplication.translate("Form", "Inverse Nanometres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavenumber_units.addItem(_fromUtf8(""))
#.........这里部分代码省略.........
开发者ID:samwright,项目名称:TrAPS,代码行数:103,代码来源:graph_ui.py

示例15: Ui_MplMainWindow

# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setObjectName [as 别名]
class Ui_MplMainWindow(object):
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName(_fromUtf8("MplMainWindow"))
        MplMainWindow.resize(690, 431)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MplMainWindow.sizePolicy().hasHeightForWidth())
        MplMainWindow.setSizePolicy(sizePolicy)
        MplMainWindow.setWindowTitle(QtGui.QApplication.translate("MplMainWindow", "Diffusion Simulator", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(MplMainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.mpl = MplWidget(self.centralwidget)
        self.mpl.setObjectName(_fromUtf8("mpl"))
        self.horizontalLayout.addWidget(self.mpl)
        self.frame = QtGui.QFrame(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.verticalLayout = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.frame_4 = QtGui.QFrame(self.frame)
        self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.frame_4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_7 = QtGui.QLabel(self.frame_4)
        self.label_7.setText(QtGui.QApplication.translate("MplMainWindow", "Physical parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_5.addWidget(self.label_7)
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_8 = QtGui.QLabel(self.frame_4)
        self.label_8.setText(QtGui.QApplication.translate("MplMainWindow", "Box size", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_8)
        self.lineEdit_L = QtGui.QLineEdit(self.frame_4)
        self.lineEdit_L.setText(QtGui.QApplication.translate("MplMainWindow", "1.", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_L.setObjectName(_fromUtf8("lineEdit_L"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_L)
        self.label_9 = QtGui.QLabel(self.frame_4)
        self.label_9.setText(QtGui.QApplication.translate("MplMainWindow", "Diffusion coefficient", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_9)
        self.lineEdit_D = QtGui.QLineEdit(self.frame_4)
        self.lineEdit_D.setText(QtGui.QApplication.translate("MplMainWindow", "1.", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_D.setObjectName(_fromUtf8("lineEdit_D"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_D)
        self.verticalLayout_5.addLayout(self.formLayout_2)
        self.verticalLayout.addWidget(self.frame_4)
        self.frame_3 = QtGui.QFrame(self.frame)
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.frame_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label_5 = QtGui.QLabel(self.frame_3)
        self.label_5.setText(QtGui.QApplication.translate("MplMainWindow", "Run parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_4.addWidget(self.label_5)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_2 = QtGui.QLabel(self.frame_3)
        self.label_2.setText(QtGui.QApplication.translate("MplMainWindow", "Simulation time", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.lineEdit_timemax = QtGui.QLineEdit(self.frame_3)
        self.lineEdit_timemax.setText(QtGui.QApplication.translate("MplMainWindow", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_timemax.setObjectName(_fromUtf8("lineEdit_timemax"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_timemax)
        self.label = QtGui.QLabel(self.frame_3)
        self.label.setText(QtGui.QApplication.translate("MplMainWindow", "nx", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label)
        self.label_3 = QtGui.QLabel(self.frame_3)
        self.label_3.setText(QtGui.QApplication.translate("MplMainWindow", "ny", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.lineEdit_nx = QtGui.QLineEdit(self.frame_3)
        self.lineEdit_nx.setText(QtGui.QApplication.translate("MplMainWindow", "50", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_nx.setObjectName(_fromUtf8("lineEdit_nx"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_nx)
        self.lineEdit_ny = QtGui.QLineEdit(self.frame_3)
        self.lineEdit_ny.setText(QtGui.QApplication.translate("MplMainWindow", "50", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_ny.setObjectName(_fromUtf8("lineEdit_ny"))
#.........这里部分代码省略.........
开发者ID:Bharath-J,项目名称:Transport-Phenomena,代码行数:103,代码来源:qtdesigner.py


注:本文中的mplwidget.MplWidget.setObjectName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。