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


Python PlotWidget.setGeometry方法代码示例

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


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

示例1: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(386, 376)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.graphicsView = PlotWidget(self.centralwidget)
        self.graphicsView.setGeometry(QtCore.QRect(10, 20, 361, 261))
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(280, 290, 95, 31))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 386, 27))
        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.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.pushButton.setText(_translate("MainWindow", "Salir", None))
开发者ID:Shortut,项目名称:PythonPlot,代码行数:30,代码来源:PythonPlot.py

示例2: Ui_Form

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(911, 696)
        self.graphicsView_time = PlotWidget(Form)
        self.graphicsView_time.setGeometry(QtCore.QRect(450, 10, 451, 301))
        self.graphicsView_time.setObjectName("graphicsView_time")
        self.pushButton_plot = QtGui.QPushButton(Form)
        self.pushButton_plot.setGeometry(QtCore.QRect(130, 400, 83, 24))
        self.pushButton_plot.setObjectName("pushButton_plot")
        self.pushButton_measure = QtGui.QPushButton(Form)
        self.pushButton_measure.setGeometry(QtCore.QRect(130, 440, 83, 24))
        self.pushButton_measure.setObjectName("pushButton_measure")
        self.graphicsView_freq = PlotWidget(Form)
        self.graphicsView_freq.setGeometry(QtCore.QRect(450, 320, 451, 301))
        self.graphicsView_freq.setObjectName("graphicsView_freq")
        self.pushButton_liveStart = QtGui.QPushButton(Form)
        self.pushButton_liveStart.setGeometry(QtCore.QRect(130, 540, 83, 24))
        self.pushButton_liveStart.setObjectName("pushButton_liveStart")
        self.pushButton_liveStop = QtGui.QPushButton(Form)
        self.pushButton_liveStop.setGeometry(QtCore.QRect(130, 580, 83, 24))
        self.pushButton_liveStop.setObjectName("pushButton_liveStop")

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_plot.setText(QtGui.QApplication.translate("Form", "Plot!", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_measure.setText(QtGui.QApplication.translate("Form", "Measure", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_liveStart.setText(QtGui.QApplication.translate("Form", "Live start", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_liveStop.setText(QtGui.QApplication.translate("Form", "Live stop", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:imanmirzaie,项目名称:qttests,代码行数:34,代码来源:test1.py

示例3: Ui_MonitForm

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MonitForm(object):
    def setupUi(self, MonitForm):
        MonitForm.setObjectName(_fromUtf8("MonitForm"))
        MonitForm.resize(699, 206)
        self.lblBpm = QtGui.QLabel(MonitForm)
        self.lblBpm.setGeometry(QtCore.QRect(630, 40, 66, 17))
        self.lblBpm.setObjectName(_fromUtf8("lblBpm"))
        self.lblSpo = QtGui.QLabel(MonitForm)
        self.lblSpo.setGeometry(QtCore.QRect(630, 70, 66, 17))
        self.lblSpo.setObjectName(_fromUtf8("lblSpo"))
        self.graphicsView = PlotWidget(MonitForm)
        self.graphicsView.setGeometry(QtCore.QRect(10, 10, 611, 192))
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))

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

    def retranslateUi(self, MonitForm):
        MonitForm.setWindowTitle(QtGui.QApplication.translate("MonitForm", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBpm.setText(QtGui.QApplication.translate("MonitForm", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSpo.setText(QtGui.QApplication.translate("MonitForm", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:nicolailinhares,项目名称:central_monitoramento,代码行数:23,代码来源:monitgui1.py

示例4: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(628, 479)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.graphicsView = PlotWidget(self.centralwidget)
        self.graphicsView.setGeometry(QtCore.QRect(50, 40, 551, 331))
        self.graphicsView.setObjectName("graphicsView")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 628, 26))
        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))
开发者ID:tatabox2000,项目名称:Data_science,代码行数:25,代码来源:movie.py

示例5: Ui_xSection

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_xSection(object):
    def setupUi(self, xSection):
        xSection.setObjectName(_fromUtf8("xSection"))
        xSection.resize(400, 300)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(xSection.sizePolicy().hasHeightForWidth())
        xSection.setSizePolicy(sizePolicy)
        xSection.setMinimumSize(QtCore.QSize(400, 300))
        xSection.setMaximumSize(QtCore.QSize(400, 300))
        self.closeButton = QtGui.QPushButton(xSection)
        self.closeButton.setGeometry(QtCore.QRect(160, 270, 95, 24))
        self.closeButton.setObjectName(_fromUtf8("closeButton"))
        self.graphicsView = PlotWidget(xSection)
        self.graphicsView.setGeometry(QtCore.QRect(15, 11, 371, 251))
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))

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

    def retranslateUi(self, xSection):
        xSection.setWindowTitle(_translate("xSection", "cross section", None))
        self.closeButton.setText(_translate("xSection", "&Close", None))
开发者ID:raacampbell,项目名称:lasagna,代码行数:26,代码来源:cross_section_plot_UI.py

示例6: Ui_HitFinding

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_HitFinding(object):
    def setupUi(self, HitFinding):
        HitFinding.setObjectName(_fromUtf8("HitFinding"))
        HitFinding.resize(622, 817)
        #HitFinding.setFrameShape(QtGui.QFrame.StyledPanel)
        #HitFinding.setFrameShadow(QtGui.QFrame.Raised)
        self.HitRateView = PlotWidget(HitFinding)
        self.HitRateView.setGeometry(QtCore.QRect(20, 20, 590, 400))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.HitRateView.sizePolicy().hasHeightForWidth())
        self.HitRateView.setSizePolicy(sizePolicy)
        self.HitRateView.setMinimumSize(QtCore.QSize(590, 400))
        self.HitRateView.setMaximumSize(QtCore.QSize(590, 400))
        self.HitRateView.setSizeIncrement(QtCore.QSize(1, 1))
        self.HitRateView.setObjectName(_fromUtf8("HitRateView"))
        self.groupBox_4 = QtGui.QGroupBox(HitFinding)
        self.groupBox_4.setGeometry(QtCore.QRect(20, 430, 581, 221))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.label_24 = QtGui.QLabel(self.groupBox_4)
        self.label_24.setGeometry(QtCore.QRect(444, 71, 17, 21))
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.label_25 = QtGui.QLabel(self.groupBox_4)
        self.label_25.setGeometry(QtCore.QRect(444, 40, 17, 21))
        self.label_25.setObjectName(_fromUtf8("label_25"))
        self.ROIX1 = QtGui.QLineEdit(self.groupBox_4)
        self.ROIX1.setGeometry(QtCore.QRect(359, 40, 75, 21))
        self.ROIX1.setObjectName(_fromUtf8("ROIX1"))
        self.label_26 = QtGui.QLabel(self.groupBox_4)
        self.label_26.setGeometry(QtCore.QRect(326, 71, 25, 21))
        self.label_26.setObjectName(_fromUtf8("label_26"))
        self.ROIX2 = QtGui.QLineEdit(self.groupBox_4)
        self.ROIX2.setGeometry(QtCore.QRect(359, 71, 75, 21))
        self.ROIX2.setObjectName(_fromUtf8("ROIX2"))
        self.ROIY2 = QtGui.QLineEdit(self.groupBox_4)
        self.ROIY2.setGeometry(QtCore.QRect(471, 71, 76, 21))
        self.ROIY2.setObjectName(_fromUtf8("ROIY2"))
        self.ROIY1 = QtGui.QLineEdit(self.groupBox_4)
        self.ROIY1.setGeometry(QtCore.QRect(471, 40, 76, 21))
        self.ROIY1.setObjectName(_fromUtf8("ROIY1"))
        self.label_27 = QtGui.QLabel(self.groupBox_4)
        self.label_27.setGeometry(QtCore.QRect(326, 40, 25, 21))
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.label_28 = QtGui.QLabel(self.groupBox_4)
        self.label_28.setGeometry(QtCore.QRect(290, 40, 26, 21))
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.UpdateROI = QtGui.QPushButton(self.groupBox_4)
        self.UpdateROI.setGeometry(QtCore.QRect(330, 100, 221, 32))
        self.UpdateROI.setObjectName(_fromUtf8("UpdateROI"))
        self.npix = QtGui.QLineEdit(self.groupBox_4)
        self.npix.setGeometry(QtCore.QRect(100, 70, 51, 21))
        self.npix.setObjectName(_fromUtf8("npix"))
        self.label_22 = QtGui.QLabel(self.groupBox_4)
        self.label_22.setGeometry(QtCore.QRect(30, 39, 61, 21))
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.thresh = QtGui.QLineEdit(self.groupBox_4)
        self.thresh.setGeometry(QtCore.QRect(99, 39, 51, 21))
        self.thresh.setObjectName(_fromUtf8("thresh"))
        self.label_21 = QtGui.QLabel(self.groupBox_4)
        self.label_21.setGeometry(QtCore.QRect(30, 70, 61, 21))
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.clearHitRate = QtGui.QPushButton(self.groupBox_4)
        self.clearHitRate.setGeometry(QtCore.QRect(180, 180, 221, 32))
        self.clearHitRate.setObjectName(_fromUtf8("clearHitRate"))
        self.label_23 = QtGui.QLabel(self.groupBox_4)
        self.label_23.setGeometry(QtCore.QRect(30, 100, 61, 21))
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.ncpus = QtGui.QLineEdit(self.groupBox_4)
        self.ncpus.setGeometry(QtCore.QRect(100, 100, 51, 21))
        self.ncpus.setObjectName(_fromUtf8("ncpus"))
        self.ShowROI = QtGui.QPushButton(self.groupBox_4)
        self.ShowROI.setGeometry(QtCore.QRect(330, 130, 221, 32))
        self.ShowROI.setObjectName(_fromUtf8("ShowROI"))
        self.HitLog = QtGui.QPlainTextEdit(HitFinding)
        self.HitLog.setGeometry(QtCore.QRect(20, 660, 581, 141))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        font.setPointSize(10)
        self.HitLog.setFont(font)
        self.HitLog.setObjectName(_fromUtf8("HitLog"))

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

    def retranslateUi(self, HitFinding):
        HitFinding.setWindowTitle(_translate("HitFinding", "Frame", None))
        self.groupBox_4.setTitle(_translate("HitFinding", "Hit Finding", None))
        self.label_24.setText(_translate("HitFinding", "Y2", None))
        self.label_25.setText(_translate("HitFinding", "Y1", None))
        self.ROIX1.setText(_translate("HitFinding", "0", None))
        self.label_26.setText(_translate("HitFinding", "X2", None))
        self.ROIX2.setText(_translate("HitFinding", "2167", None))
        self.ROIY2.setText(_translate("HitFinding", "2070", None))
        self.ROIY1.setText(_translate("HitFinding", "0", None))
        self.label_27.setText(_translate("HitFinding", "X1", None))
        self.label_28.setText(_translate("HitFinding", "ROI", None))
        self.UpdateROI.setText(_translate("HitFinding", "Update ROI", None))
        self.npix.setText(_translate("HitFinding", "10", None))
        self.label_22.setText(_translate("HitFinding", "Threshold", None))
#.........这里部分代码省略.........
开发者ID:coquellen,项目名称:NanoPeakCell,代码行数:103,代码来源:LiveHF.py

示例7: Ui_FreeIMUCal

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_FreeIMUCal(object):
    def setupUi(self, FreeIMUCal):
        FreeIMUCal.setObjectName(_fromUtf8("FreeIMUCal"))
        FreeIMUCal.resize(800, 680)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(FreeIMUCal.sizePolicy().hasHeightForWidth())
        FreeIMUCal.setSizePolicy(sizePolicy)
        FreeIMUCal.setMinimumSize(QtCore.QSize(800, 600))
        FreeIMUCal.setMaximumSize(QtCore.QSize(800, 680))
        FreeIMUCal.setDocumentMode(False)
        self.centralwidget = QtGui.QWidget(FreeIMUCal)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setGeometry(QtCore.QRect(10, 20, 791, 16))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(0, 30, 801, 631))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.uncalibratedTab = QtGui.QWidget()
        self.uncalibratedTab.setObjectName(_fromUtf8("uncalibratedTab"))
        self.gridLayoutWidget_4 = QtGui.QWidget(self.uncalibratedTab)
        self.gridLayoutWidget_4.setGeometry(QtCore.QRect(0, 10, 791, 588))
        self.gridLayoutWidget_4.setObjectName(_fromUtf8("gridLayoutWidget_4"))
        self.gridLayout_4 = QtGui.QGridLayout(self.gridLayoutWidget_4)
        self.gridLayout_4.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_2 = QtGui.QLabel(self.gridLayoutWidget_4)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_5.addWidget(self.label_2, 0, 1, 1, 1)
        self.accYZ = PlotWidget(self.gridLayoutWidget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.accYZ.sizePolicy().hasHeightForWidth())
        self.accYZ.setSizePolicy(sizePolicy)
        self.accYZ.setObjectName(_fromUtf8("accYZ"))
        self.gridLayout_5.addWidget(self.accYZ, 1, 0, 1, 1)
        self.accZX = PlotWidget(self.gridLayoutWidget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.accZX.sizePolicy().hasHeightForWidth())
        self.accZX.setSizePolicy(sizePolicy)
        self.accZX.setObjectName(_fromUtf8("accZX"))
        self.gridLayout_5.addWidget(self.accZX, 1, 1, 1, 1)
        self.accXY = PlotWidget(self.gridLayoutWidget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.accXY.sizePolicy().hasHeightForWidth())
        self.accXY.setSizePolicy(sizePolicy)
        self.accXY.setObjectName(_fromUtf8("accXY"))
        self.gridLayout_5.addWidget(self.accXY, 0, 0, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_5, 1, 0, 1, 1)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.magnXY = PlotWidget(self.gridLayoutWidget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.magnXY.sizePolicy().hasHeightForWidth())
        self.magnXY.setSizePolicy(sizePolicy)
        self.magnXY.setObjectName(_fromUtf8("magnXY"))
        self.gridLayout_3.addWidget(self.magnXY, 0, 0, 1, 1)
        self.magnYZ = PlotWidget(self.gridLayoutWidget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.magnYZ.sizePolicy().hasHeightForWidth())
        self.magnYZ.setSizePolicy(sizePolicy)
        self.magnYZ.setObjectName(_fromUtf8("magnYZ"))
        self.gridLayout_3.addWidget(self.magnYZ, 1, 0, 1, 1)
        self.magnZX = PlotWidget(self.gridLayoutWidget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.magnZX.sizePolicy().hasHeightForWidth())
        self.magnZX.setSizePolicy(sizePolicy)
        self.magnZX.setObjectName(_fromUtf8("magnZX"))
        self.gridLayout_3.addWidget(self.magnZX, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.gridLayoutWidget_4)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 0, 1, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 1, 2, 1, 1)
        self.magn3D = GLViewWidget(self.gridLayoutWidget_4)
#.........这里部分代码省略.........
开发者ID:openrobots-dev,项目名称:R2P_IMU_module,代码行数:103,代码来源:ui_freeimu_cal.py

示例8: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1670, 1030)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        
     
        #Plot widgets
        self.graph_enrichrate = PlotWidget(self.centralwidget, name='rate')
        self.graph_enrichrate.setGeometry(QtCore.QRect(1000, 340, 661, 631))
        self.graph_enrichrate.setObjectName(_fromUtf8("graph_enrichrate"))

        self.graph_rawdata = PlotWidget(self.centralwidget, name='raw')
        self.graph_rawdata.setGeometry(QtCore.QRect(10, 10, 981, 961))
        self.graph_rawdata.setObjectName(_fromUtf8("graph_rawdata"))

        self.graph_enrichrate.setXLink('raw')

        self.btn_lighton = QtGui.QPushButton(self.centralwidget)
        self.btn_lighton.setGeometry(QtCore.QRect(1043, 177, 85, 28))
        self.btn_lighton.setObjectName(_fromUtf8("btn_lighton"))
        self.btn_lightoff = QtGui.QPushButton(self.centralwidget)
        self.btn_lightoff.setGeometry(QtCore.QRect(1043, 212, 85, 28))
        self.btn_lightoff.setObjectName(_fromUtf8("btn_lightoff"))
        self.btn_bic = QtGui.QPushButton(self.centralwidget)
        self.btn_bic.setGeometry(QtCore.QRect(1043, 37, 85, 28))
        self.btn_bic.setObjectName(_fromUtf8("btn_bic"))
        self.btn_cells = QtGui.QPushButton(self.centralwidget)
        self.btn_cells.setGeometry(QtCore.QRect(1043, 72, 85, 28))
        self.btn_cells.setObjectName(_fromUtf8("btn_cells"))
        self.btn_az = QtGui.QPushButton(self.centralwidget)
        self.btn_az.setGeometry(QtCore.QRect(1043, 107, 85, 28))
        self.btn_az.setObjectName(_fromUtf8("btn_az"))
        self.btn_ez = QtGui.QPushButton(self.centralwidget)
        self.btn_ez.setGeometry(QtCore.QRect(1043, 142, 85, 28))
        self.btn_ez.setObjectName(_fromUtf8("btn_ez"))
        self.cells_vol = QtGui.QLineEdit(self.centralwidget)
        self.cells_vol.setGeometry(QtCore.QRect(1135, 75, 58, 22))
        self.cells_vol.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cells_vol.setObjectName(_fromUtf8("cells_vol"))
        self.ez_vol = QtGui.QLineEdit(self.centralwidget)
        self.ez_vol.setGeometry(QtCore.QRect(1135, 145, 58, 22))
        self.ez_vol.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ez_vol.setObjectName(_fromUtf8("ez_vol"))
        self.bic_vol = QtGui.QLineEdit(self.centralwidget)
        self.bic_vol.setGeometry(QtCore.QRect(1135, 40, 58, 22))
        self.bic_vol.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.bic_vol.setObjectName(_fromUtf8("bic_vol"))
        self.az_vol = QtGui.QLineEdit(self.centralwidget)
        self.az_vol.setGeometry(QtCore.QRect(1135, 110, 58, 22))
        self.az_vol.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.az_vol.setObjectName(_fromUtf8("az_vol"))
        self.bic_cc = QtGui.QLineEdit(self.centralwidget)
        self.bic_cc.setGeometry(QtCore.QRect(1221, 40, 58, 22))
        self.bic_cc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.bic_cc.setObjectName(_fromUtf8("bic_cc"))
        self.lab_bicvolunit = QtGui.QLabel(self.centralwidget)
        self.lab_bicvolunit.setGeometry(QtCore.QRect(1200, 40, 16, 16))
        self.lab_bicvolunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_bicvolunit.setObjectName(_fromUtf8("lab_bicvolunit"))
        self.lab_bicccunit = QtGui.QLabel(self.centralwidget)
        self.lab_bicccunit.setGeometry(QtCore.QRect(1286, 42, 16, 16))
        self.lab_bicccunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_bicccunit.setObjectName(_fromUtf8("lab_bicccunit"))
        self.lab_cellsvolunit = QtGui.QLabel(self.centralwidget)
        self.lab_cellsvolunit.setGeometry(QtCore.QRect(1200, 75, 16, 16))
        self.lab_cellsvolunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_cellsvolunit.setObjectName(_fromUtf8("lab_cellsvolunit"))
        self.lab_cellsccunit = QtGui.QLabel(self.centralwidget)
        self.lab_cellsccunit.setGeometry(QtCore.QRect(1286, 75, 36, 16))
        self.lab_cellsccunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_cellsccunit.setObjectName(_fromUtf8("lab_cellsccunit"))
        self.cells_cc = QtGui.QLineEdit(self.centralwidget)
        self.cells_cc.setGeometry(QtCore.QRect(1221, 75, 58, 22))
        self.cells_cc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.cells_cc.setObjectName(_fromUtf8("cells_cc"))
        self.lab_azvolunit = QtGui.QLabel(self.centralwidget)
        self.lab_azvolunit.setGeometry(QtCore.QRect(1200, 110, 16, 16))
        self.lab_azvolunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_azvolunit.setObjectName(_fromUtf8("lab_azvolunit"))
        self.lab_ezvolunit = QtGui.QLabel(self.centralwidget)
        self.lab_ezvolunit.setGeometry(QtCore.QRect(1200, 145, 16, 16))
        self.lab_ezvolunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_ezvolunit.setObjectName(_fromUtf8("lab_ezvolunit"))
        self.az_cc = QtGui.QLineEdit(self.centralwidget)
        self.az_cc.setGeometry(QtCore.QRect(1221, 110, 58, 22))
        self.az_cc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.az_cc.setObjectName(_fromUtf8("az_cc"))
        self.ez_cc = QtGui.QLineEdit(self.centralwidget)
        self.ez_cc.setGeometry(QtCore.QRect(1221, 145, 58, 22))
        self.ez_cc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.ez_cc.setObjectName(_fromUtf8("ez_cc"))
        self.lab_azccunit = QtGui.QLabel(self.centralwidget)
        self.lab_azccunit.setGeometry(QtCore.QRect(1286, 110, 21, 16))
        self.lab_azccunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lab_azccunit.setObjectName(_fromUtf8("lab_azccunit"))
        self.lab_ezccunit = QtGui.QLabel(self.centralwidget)
        self.lab_ezccunit.setGeometry(QtCore.QRect(1286, 145, 21, 16))
        self.lab_ezccunit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
#.........这里部分代码省略.........
开发者ID:vince8290,项目名称:dacq,代码行数:103,代码来源:main_ui.py

示例9: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]

#.........这里部分代码省略.........
"    );\n"
"}\n"
"\n"
"QCheckBox::indicator{\n"
"    color: #b1b1b1;\n"
"    background-color: #323232;\n"
"    border: 1px solid #b1b1b1;\n"
"    width: 9px;\n"
"    height: 9px;\n"
"}\n"
"\n"
"QRadioButton::indicator\n"
"{\n"
"    border-radius: 6px;\n"
"}\n"
"\n"
"QRadioButton::indicator:hover, QCheckBox::indicator:hover\n"
"{\n"
"    border: 1px solid #ffaa00;\n"
"}\n"
"\n"
"QCheckBox::indicator:checked\n"
"{\n"
"    image:url(:/images/checkbox.png);\n"
"}\n"
"\n"
"QCheckBox::indicator:disabled, QRadioButton::indicator:disabled\n"
"{\n"
"    border: 1px solid #444;\n"
"}"))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.graphicsView = PlotWidget(self.centralwidget)
        self.graphicsView.setGeometry(QtCore.QRect(380, 30, 691, 431))
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(20, 30, 341, 471))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.CountryBox = QtGui.QComboBox(self.verticalLayoutWidget)
        self.CountryBox.setObjectName(_fromUtf8("CountryBox"))
        self.verticalLayout.addWidget(self.CountryBox)
        self.listView = QtGui.QListView(self.verticalLayoutWidget)
        self.listView.setAutoFillBackground(False)
        self.listView.setObjectName(_fromUtf8("listView"))
        self.verticalLayout.addWidget(self.listView)
        self.Plot = QtGui.QPushButton(self.verticalLayoutWidget)
        self.Plot.setObjectName(_fromUtf8("Plot"))
        self.verticalLayout.addWidget(self.Plot)
        self.ScatterPlot = QtGui.QPushButton(self.verticalLayoutWidget)
        self.ScatterPlot.setObjectName(_fromUtf8("ScatterPlot"))
        self.verticalLayout.addWidget(self.ScatterPlot)
        self.Trendline = QtGui.QPushButton(self.verticalLayoutWidget)
        self.Trendline.setObjectName(_fromUtf8("Trendline"))
        self.verticalLayout.addWidget(self.Trendline)
        self.ClearPlot = QtGui.QPushButton(self.verticalLayoutWidget)
        self.ClearPlot.setObjectName(_fromUtf8("ClearPlot"))
        self.verticalLayout.addWidget(self.ClearPlot)
        self.textBrowser = QtGui.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(380, 480, 691, 371))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(177, 177, 177))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
开发者ID:thortom,项目名称:T-316-GAVI,代码行数:70,代码来源:window.py

示例10: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1053, 718)
        MainWindow.setMouseTracking(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("../../../../../usr/share/pixmaps/cubeview48.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setWindowOpacity(1.0)
        MainWindow.setToolTip("")
        MainWindow.setAutoFillBackground(False)
        MainWindow.setStyleSheet("")
        MainWindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        MainWindow.setTabShape(QtGui.QTabWidget.Rounded)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.init_button = QtGui.QPushButton(self.centralwidget)
        self.init_button.setGeometry(QtCore.QRect(830, 350, 211, 41))
        font = QtGui.QFont()
        font.setFamily("Serif")
        font.setItalic(True)
        self.init_button.setFont(font)
        self.init_button.setObjectName("init_button")
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(15, 9, 270, 21))
        font = QtGui.QFont()
        font.setFamily("URW Chancery L")
        font.setPointSize(12)
        font.setWeight(75)
        font.setItalic(True)
        font.setBold(True)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.fetch_data = QtGui.QCheckBox(self.centralwidget)
        self.fetch_data.setEnabled(True)
        self.fetch_data.setGeometry(QtCore.QRect(830, 320, 121, 27))
        self.fetch_data.setChecked(True)
        self.fetch_data.setObjectName("fetch_data")
        self.total_readings = QtGui.QLabel(self.centralwidget)
        self.total_readings.setGeometry(QtCore.QRect(990, 390, 51, 16))
        self.total_readings.setFrameShape(QtGui.QFrame.Box)
        self.total_readings.setFrameShadow(QtGui.QFrame.Sunken)
        self.total_readings.setText("")
        self.total_readings.setObjectName("total_readings")
        self.Save_data = QtGui.QPushButton(self.centralwidget)
        self.Save_data.setGeometry(QtCore.QRect(670, 0, 151, 27))
        self.Save_data.setObjectName("Save_data")
        self.dIdVgraph = PlotWidget(self.centralwidget)
        self.dIdVgraph.setGeometry(QtCore.QRect(10, 30, 811, 371))
        self.dIdVgraph.setObjectName("dIdVgraph")
        self.state_dc = QtGui.QPushButton(self.centralwidget)
        self.state_dc.setGeometry(QtCore.QRect(830, 220, 101, 31))
        font = QtGui.QFont()
        font.setFamily("Ubuntu")
        font.setPointSize(12)
        font.setWeight(75)
        font.setItalic(True)
        font.setBold(True)
        self.state_dc.setFont(font)
        self.state_dc.setStyleSheet("border-color: rgb(0, 0, 0);")
        self.state_dc.setObjectName("state_dc")
        self.nvpr = QtGui.QLabel(self.centralwidget)
        self.nvpr.setGeometry(QtCore.QRect(830, 290, 211, 21))
        self.nvpr.setAutoFillBackground(True)
        self.nvpr.setObjectName("nvpr")
        self.dIdVfit = QtGui.QLabel(self.centralwidget)
        self.dIdVfit.setGeometry(QtCore.QRect(490, 410, 281, 17))
        self.dIdVfit.setObjectName("dIdVfit")
        self.instrumenttools = QtGui.QToolBox(self.centralwidget)
        self.instrumenttools.setGeometry(QtCore.QRect(830, 0, 211, 221))
        self.instrumenttools.setFrameShape(QtGui.QFrame.StyledPanel)
        self.instrumenttools.setFrameShadow(QtGui.QFrame.Raised)
        self.instrumenttools.setLineWidth(2)
        self.instrumenttools.setMidLineWidth(1)
        self.instrumenttools.setObjectName("instrumenttools")
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 209, 157))
        self.page.setObjectName("page")
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setGeometry(QtCore.QRect(100, 80, 91, 30))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setWeight(75)
        font.setItalic(True)
        font.setBold(True)
        self.label_5.setFont(font)
        self.label_5.setObjectName("label_5")
        self.current_start = QtGui.QDoubleSpinBox(self.page)
        self.current_start.setGeometry(QtCore.QRect(0, 0, 101, 31))
        self.current_start.setWrapping(False)
        self.current_start.setButtonSymbols(QtGui.QAbstractSpinBox.PlusMinus)
        self.current_start.setAccelerated(True)
        self.current_start.setCorrectionMode(QtGui.QAbstractSpinBox.CorrectToNearestValue)
        self.current_start.setDecimals(3)
        self.current_start.setMinimum(-105.0)
        self.current_start.setMaximum(105.0)
        self.current_start.setSingleStep(0.001)
        self.current_start.setProperty("value", -40.0)
        self.current_start.setObjectName("current_start")
        self.num_points = QtGui.QDoubleSpinBox(self.page)
#.........这里部分代码省略.........
开发者ID:jithinbp,项目名称:Python-gpib-PCAR,代码行数:103,代码来源:template.py

示例11: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(810, 711)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.label_CO = QtWidgets.QLabel(self.centralwidget)
        self.label_CO.setGeometry(QtCore.QRect(530, 450, 141, 20))
        self.label_CO.setObjectName("label_CO")
        self.peakTime = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.peakTime.setGeometry(QtCore.QRect(679, 520, 71, 24))
        self.peakTime.setMouseTracking(False)
        self.peakTime.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.peakTime.setObjectName("peakTime")
        self.label_tinterval = QtWidgets.QLabel(self.centralwidget)
        self.label_tinterval.setGeometry(QtCore.QRect(170, 590, 101, 20))
        self.label_tinterval.setObjectName("label_tinterval")
        self.label_baseline = QtWidgets.QLabel(self.centralwidget)
        self.label_baseline.setGeometry(QtCore.QRect(355, 590, 51, 20))
        self.label_baseline.setObjectName("label_baseline")
        self.label_sterror = QtWidgets.QLabel(self.centralwidget)
        self.label_sterror.setGeometry(QtCore.QRect(620, 480, 51, 21))
        self.label_sterror.setObjectName("label_sterror")
        self.label_HUConversion = QtWidgets.QLabel(self.centralwidget)
        self.label_HUConversion.setGeometry(QtCore.QRect(170, 630, 151, 16))
        self.label_HUConversion.setObjectName("label_HUConversion")
        self.label_bloodHU = QtWidgets.QLabel(self.centralwidget)
        self.label_bloodHU.setGeometry(QtCore.QRect(30, 20, 121, 20))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.label_bloodHU.setFont(font)
        self.label_bloodHU.setObjectName("label_bloodHU")
        self.CurveFitResults = QtWidgets.QGroupBox(self.centralwidget)
        self.CurveFitResults.setGeometry(QtCore.QRect(160, 430, 361, 141))
        self.CurveFitResults.setObjectName("CurveFitResults")
        self.label_rsquared = QtWidgets.QLabel(self.CurveFitResults)
        self.label_rsquared.setGeometry(QtCore.QRect(30, 80, 31, 16))
        self.label_rsquared.setObjectName("label_rsquared")
        self.alpha = QtWidgets.QPlainTextEdit(self.CurveFitResults)
        self.alpha.setGeometry(QtCore.QRect(20, 40, 101, 24))
        self.alpha.setMouseTracking(False)
        self.alpha.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.alpha.setObjectName("alpha")
        self.rsquared = QtWidgets.QPlainTextEdit(self.CurveFitResults)
        self.rsquared.setGeometry(QtCore.QRect(20, 100, 121, 24))
        self.rsquared.setMouseTracking(False)
        self.rsquared.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.rsquared.setObjectName("rsquared")
        self.beta = QtWidgets.QPlainTextEdit(self.CurveFitResults)
        self.beta.setGeometry(QtCore.QRect(130, 40, 101, 24))
        self.beta.setMouseTracking(False)
        self.beta.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.beta.setObjectName("beta")
        self.AUC = QtWidgets.QPlainTextEdit(self.CurveFitResults)
        self.AUC.setGeometry(QtCore.QRect(200, 100, 141, 24))
        self.AUC.setMouseTracking(False)
        self.AUC.setAcceptDrops(True)
        self.AUC.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.AUC.setObjectName("AUC")
        self.label_beta = QtWidgets.QLabel(self.CurveFitResults)
        self.label_beta.setGeometry(QtCore.QRect(140, 20, 31, 16))
        self.label_beta.setObjectName("label_beta")
        self.label_alpha = QtWidgets.QLabel(self.CurveFitResults)
        self.label_alpha.setGeometry(QtCore.QRect(30, 20, 41, 16))
        self.label_alpha.setObjectName("label_alpha")
        self.label_toffset = QtWidgets.QLabel(self.CurveFitResults)
        self.label_toffset.setGeometry(QtCore.QRect(250, 20, 31, 16))
        self.label_toffset.setObjectName("label_toffset")
        self.t0 = QtWidgets.QPlainTextEdit(self.CurveFitResults)
        self.t0.setGeometry(QtCore.QRect(240, 40, 101, 24))
        self.t0.setMouseTracking(False)
        self.t0.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.t0.setObjectName("t0")
        self.label_AUC = QtWidgets.QLabel(self.CurveFitResults)
        self.label_AUC.setGeometry(QtCore.QRect(210, 80, 31, 16))
        self.label_AUC.setObjectName("label_AUC")
        self.MTT = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.MTT.setGeometry(QtCore.QRect(679, 550, 71, 24))
        self.MTT.setMouseTracking(False)
        self.MTT.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.MTT.setObjectName("MTT")
        self.standardError = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.standardError.setGeometry(QtCore.QRect(680, 480, 71, 24))
        self.standardError.setMouseTracking(False)
        self.standardError.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.standardError.setObjectName("standardError")
        self.HUtoIodineConversion = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.HUtoIodineConversion.setGeometry(QtCore.QRect(330, 630, 111, 24))
        self.HUtoIodineConversion.setMouseTracking(False)
        self.HUtoIodineConversion.setObjectName("HUtoIodineConversion")
        self.baselineInput = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.baselineInput.setGeometry(QtCore.QRect(420, 590, 101, 24))
        self.baselineInput.setMouseTracking(False)
        self.baselineInput.setObjectName("baselineInput")
        self.HUvalues = QtWidgets.QTableWidget(self.centralwidget)
        self.HUvalues.setGeometry(QtCore.QRect(20, 40, 131, 611))
        self.HUvalues.setMouseTracking(True)
        self.HUvalues.setRowCount(20)
        self.HUvalues.setColumnCount(1)
        self.HUvalues.setObjectName("HUvalues")
#.........这里部分代码省略.........
开发者ID:ogdenk,项目名称:COCalculator,代码行数:103,代码来源:ui_COcalcMain.py

示例12: Ui_ResultForm

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_ResultForm(object):
    def setupUi(self, ResultForm):
        ResultForm.setObjectName(_fromUtf8("ResultForm"))
        ResultForm.resize(1100, 590)
        ResultForm.setMinimumSize(QtCore.QSize(1100, 590))
        ResultForm.setMaximumSize(QtCore.QSize(1100, 590))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("Herevea.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        ResultForm.setWindowIcon(icon)
        self.tbxDireccion = QtGui.QLineEdit(ResultForm)
        self.tbxDireccion.setGeometry(QtCore.QRect(100, 20, 461, 25))
        self.tbxDireccion.setReadOnly(True)
        self.tbxDireccion.setObjectName(_fromUtf8("tbxDireccion"))
        self.label_32 = QtGui.QLabel(ResultForm)
        self.label_32.setGeometry(QtCore.QRect(580, 23, 121, 20))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.label_32.setFont(font)
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.tbxRefCatastral = QtGui.QLineEdit(ResultForm)
        self.tbxRefCatastral.setGeometry(QtCore.QRect(710, 20, 211, 25))
        self.tbxRefCatastral.setReadOnly(True)
        self.tbxRefCatastral.setObjectName(_fromUtf8("tbxRefCatastral"))
        self.label_31 = QtGui.QLabel(ResultForm)
        self.label_31.setGeometry(QtCore.QRect(13, 20, 101, 20))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.label_31.setFont(font)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.tabWidget = QtGui.QTabWidget(ResultForm)
        self.tabWidget.setGeometry(QtCore.QRect(13, 70, 1071, 441))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.tabWidget.setFont(font)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.tabHERehTotal = QtGui.QTableWidget(self.tab)
        self.tabHERehTotal.setGeometry(QtCore.QRect(200, 30, 671, 71))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(8)
        self.tabHERehTotal.setFont(font)
        self.tabHERehTotal.setStyleSheet(_fromUtf8(""))
        self.tabHERehTotal.setFrameShape(QtGui.QFrame.NoFrame)
        self.tabHERehTotal.setAlternatingRowColors(True)
        self.tabHERehTotal.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.tabHERehTotal.setShowGrid(False)
        self.tabHERehTotal.setGridStyle(QtCore.Qt.NoPen)
        self.tabHERehTotal.setObjectName(_fromUtf8("tabHERehTotal"))
        self.tabHERehTotal.setColumnCount(2)
        self.tabHERehTotal.setRowCount(1)
        item = QtGui.QTableWidgetItem()
        self.tabHERehTotal.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.tabHERehTotal.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.tabHERehTotal.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignVCenter)
        self.tabHERehTotal.setItem(0, 0, item)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignVCenter)
        self.tabHERehTotal.setItem(0, 1, item)
        self.tabHERehTotal.horizontalHeader().setDefaultSectionSize(250)
        self.tabHERehTotal.horizontalHeader().setStretchLastSection(True)
        self.tabHERehTotal.verticalHeader().setDefaultSectionSize(40)
        self.tabHERehTotal.verticalHeader().setStretchLastSection(True)
        self.chartHEParcial = PlotWidget(self.tab)
        self.chartHEParcial.setGeometry(QtCore.QRect(20, 180, 501, 181))
        self.chartHEParcial.setObjectName(_fromUtf8("chartHEParcial"))
        self.pieChart = GraphicsView(self.tab)
        self.pieChart.setGeometry(QtCore.QRect(590, 180, 281, 201))
        self.pieChart.setObjectName(_fromUtf8("pieChart"))
        self.label = QtGui.QLabel(self.tab)
        self.label.setGeometry(QtCore.QRect(540, 140, 401, 20))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setGeometry(QtCore.QRect(170, 140, 331, 20))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayoutWidget = QtGui.QWidget(self.tab)
        self.formLayoutWidget.setGeometry(QtCore.QRect(859, 170, 237, 242))
        self.formLayoutWidget.setObjectName(_fromUtf8("formLayoutWidget"))
        self.formLayout = QtGui.QFormLayout(self.formLayoutWidget)
        self.formLayout.setMargin(0)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_3 = QtGui.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setPointSize(7)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.label_3)
        self.label_4 = QtGui.QLabel(self.formLayoutWidget)
        self.label_4.setMinimumSize(QtCore.QSize(20, 0))
#.........这里部分代码省略.........
开发者ID:rubenmarrufo,项目名称:herevea,代码行数:103,代码来源:Ui_ResultForm.py

示例13: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1256, 691)
        MainWindow.setMouseTracking(False)
        MainWindow.setAcceptDrops(True)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("../../../../../usr/share/pixmaps/cubeview48.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setWindowOpacity(1.0)
        MainWindow.setToolTip("")
        MainWindow.setAutoFillBackground(False)
        MainWindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        MainWindow.setTabShape(QtGui.QTabWidget.Rounded)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.graph = PlotWidget(self.centralwidget)
        self.graph.setGeometry(QtCore.QRect(0, 10, 881, 471))
        self.graph.setObjectName("graph")
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(1110, 670, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(7)
        font.setWeight(75)
        font.setItalic(True)
        font.setBold(True)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.editedgraph = PlotWidget(self.centralwidget)
        self.editedgraph.setGeometry(QtCore.QRect(0, 490, 571, 201))
        self.editedgraph.setObjectName("editedgraph")
        self.files = QtGui.QComboBox(self.centralwidget)
        self.files.setGeometry(QtCore.QRect(890, 0, 371, 27))
        self.files.setObjectName("files")
        self.label_3 = QtGui.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(618, 480, 41, 21))
        self.label_3.setObjectName("label_3")
        self.dIdVval = QtGui.QLabel(self.centralwidget)
        self.dIdVval.setGeometry(QtCore.QRect(668, 480, 151, 16))
        self.dIdVval.setText("")
        self.dIdVval.setObjectName("dIdVval")
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(618, 510, 41, 21))
        self.label_4.setObjectName("label_4")
        self.dVdIval = QtGui.QLabel(self.centralwidget)
        self.dVdIval.setGeometry(QtCore.QRect(668, 510, 151, 16))
        self.dVdIval.setText("")
        self.dVdIval.setObjectName("dVdIval")
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(790, 510, 98, 27))
        self.pushButton.setObjectName("pushButton")
        self.graph2 = PlotWidget(self.centralwidget)
        self.graph2.setGeometry(QtCore.QRect(680, 560, 201, 131))
        self.graph2.setObjectName("graph2")
        self.pushButton_2 = QtGui.QPushButton(self.centralwidget)
        self.pushButton_2.setGeometry(QtCore.QRect(680, 536, 201, 21))
        self.pushButton_2.setObjectName("pushButton_2")
        self.thumbs = QtGui.QListWidget(self.centralwidget)
        self.thumbs.setGeometry(QtCore.QRect(890, 30, 361, 631))
        self.thumbs.setAcceptDrops(True)
        self.thumbs.setDragEnabled(True)
        self.thumbs.setDragDropMode(QtGui.QAbstractItemView.NoDragDrop)
        self.thumbs.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.thumbs.setIconSize(QtCore.QSize(150, 300))
        self.thumbs.setFlow(QtGui.QListView.TopToBottom)
        self.thumbs.setResizeMode(QtGui.QListView.Adjust)
        self.thumbs.setViewMode(QtGui.QListView.ListMode)
        self.thumbs.setObjectName("thumbs")
        self.pushButton_3 = QtGui.QPushButton(self.centralwidget)
        self.pushButton_3.setGeometry(QtCore.QRect(890, 666, 211, 21))
        self.pushButton_3.setObjectName("pushButton_3")
        self.filename = QtGui.QLineEdit(self.centralwidget)
        self.filename.setGeometry(QtCore.QRect(790, 480, 101, 27))
        self.filename.setObjectName("filename")
        MainWindow.setCentralWidget(self.centralwidget)
        self.actionSave_as = QtGui.QAction(MainWindow)
        self.actionSave_as.setObjectName("actionSave_as")

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL("clicked()"), MainWindow.saveplot)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL("clicked()"), MainWindow.generate_thumbnails)
        QtCore.QObject.connect(self.files, QtCore.SIGNAL("currentIndexChanged(QString)"), MainWindow.loadfile)
        QtCore.QObject.connect(self.pushButton_3, QtCore.SIGNAL("clicked()"), MainWindow.plot_selection)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "graph editing", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Author: Jithin B.P.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", " G =", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("MainWindow", " R =", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("MainWindow", "saveplot", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_2.setText(QtGui.QApplication.translate("MainWindow", "regenerate thumbnails", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_3.setText(QtGui.QApplication.translate("MainWindow", "Plot selection", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_as.setText(QtGui.QApplication.translate("MainWindow", "Save as", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:jithinbp,项目名称:Python-gpib-PCAR,代码行数:96,代码来源:template.py

示例14: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(897, 613)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.Temp_view2 = PlotWidget(self.centralwidget)
        self.Temp_view2.setGeometry(QtCore.QRect(450, 10, 431, 181))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Temp_view2.sizePolicy().hasHeightForWidth())
        self.Temp_view2.setSizePolicy(sizePolicy)
        self.Temp_view2.setObjectName(_fromUtf8("Temp_view2"))
        self.Temp_view3 = PlotWidget(self.centralwidget)
        self.Temp_view3.setGeometry(QtCore.QRect(10, 200, 431, 181))
        self.Temp_view3.setObjectName(_fromUtf8("Temp_view3"))
        self.Temp_view1 = PlotWidget(self.centralwidget)
        self.Temp_view1.setGeometry(QtCore.QRect(10, 10, 431, 181))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Temp_view1.sizePolicy().hasHeightForWidth())
        self.Temp_view1.setSizePolicy(sizePolicy)
        self.Temp_view1.setObjectName(_fromUtf8("Temp_view1"))
        self.Temp_view5 = PlotWidget(self.centralwidget)
        self.Temp_view5.setGeometry(QtCore.QRect(450, 200, 431, 181))
        self.Temp_view5.setObjectName(_fromUtf8("Temp_view5"))
        self.Temp_view4 = PlotWidget(self.centralwidget)
        self.Temp_view4.setGeometry(QtCore.QRect(10, 390, 871, 181))
        self.Temp_view4.setObjectName(_fromUtf8("Temp_view4"))
        self.T2_field = QtGui.QDoubleSpinBox(self.centralwidget)
        self.T2_field.setGeometry(QtCore.QRect(650, 20, 221, 31))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(20)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(self.T2_field.sizePolicy().hasHeightForWidth())
        self.T2_field.setSizePolicy(sizePolicy)
        self.T2_field.setSizeIncrement(QtCore.QSize(0, 0))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.T2_field.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(23)
        self.T2_field.setFont(font)
        self.T2_field.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.T2_field.setAutoFillBackground(False)
        self.T2_field.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.T2_field.setFrame(False)
        self.T2_field.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.T2_field.setReadOnly(True)
        self.T2_field.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.T2_field.setDecimals(2)
        self.T2_field.setMaximum(1000.0)
        self.T2_field.setProperty("value", 0.0)
        self.T2_field.setObjectName(_fromUtf8("T2_field"))
        self.T3_field = QtGui.QDoubleSpinBox(self.centralwidget)
        self.T3_field.setGeometry(QtCore.QRect(210, 210, 221, 31))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(20)
#.........这里部分代码省略.........
开发者ID:qkitgroup,项目名称:tip,代码行数:103,代码来源:tip_gui_cover.py

示例15: Ui_MainWindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(975, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 191, 561))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.treeWidget = QtGui.QTreeWidget(self.verticalLayoutWidget)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.verticalLayout.addWidget(self.treeWidget)
        self.mainGraphicsView = QtGui.QGraphicsView(self.centralwidget)
        self.mainGraphicsView.setGeometry(QtCore.QRect(190, 0, 611, 551))
        self.mainGraphicsView.setObjectName(_fromUtf8("mainGraphicsView"))
        self.verticalLayoutWidget_2 = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(220, 60, 281, 281))
        self.verticalLayoutWidget_2.setObjectName(_fromUtf8("verticalLayoutWidget_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(530, 40, 211, 221))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayoutWidget_3 = QtGui.QWidget(self.groupBox)
        self.verticalLayoutWidget_3.setGeometry(QtCore.QRect(10, 10, 183, 196))
        self.verticalLayoutWidget_3.setObjectName(_fromUtf8("verticalLayoutWidget_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.verticalLayoutWidget_3)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.minButton = QtGui.QRadioButton(self.verticalLayoutWidget_3)
        self.minButton.setChecked(True)
        self.minButton.setObjectName(_fromUtf8("minButton"))
        self.verticalLayout_3.addWidget(self.minButton)
        self.maxButton = QtGui.QRadioButton(self.verticalLayoutWidget_3)
        self.maxButton.setObjectName(_fromUtf8("maxButton"))
        self.verticalLayout_3.addWidget(self.maxButton)
        self.avgButton = QtGui.QRadioButton(self.verticalLayoutWidget_3)
        self.avgButton.setObjectName(_fromUtf8("avgButton"))
        self.verticalLayout_3.addWidget(self.avgButton)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.timeLabel = QtGui.QLabel(self.verticalLayoutWidget_3)
        self.timeLabel.setObjectName(_fromUtf8("timeLabel"))
        self.horizontalLayout.addWidget(self.timeLabel)
        self.timeLineEdit = QtGui.QLineEdit(self.verticalLayoutWidget_3)
        self.timeLineEdit.setObjectName(_fromUtf8("timeLineEdit"))
        self.horizontalLayout.addWidget(self.timeLineEdit)
        self.minutesLabel = QtGui.QLabel(self.verticalLayoutWidget_3)
        self.minutesLabel.setObjectName(_fromUtf8("minutesLabel"))
        self.horizontalLayout.addWidget(self.minutesLabel)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.functionButton = QtGui.QPushButton(self.verticalLayoutWidget_3)
        self.functionButton.setObjectName(_fromUtf8("functionButton"))
        self.verticalLayout_3.addWidget(self.functionButton)
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(190, 0, 741, 481))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.dataTab = QtGui.QWidget()
        self.dataTab.setObjectName(_fromUtf8("dataTab"))
        self.verticalLayoutWidget_4 = QtGui.QWidget(self.dataTab)
        self.verticalLayoutWidget_4.setGeometry(QtCore.QRect(29, 20, 191, 271))
        self.verticalLayoutWidget_4.setObjectName(_fromUtf8("verticalLayoutWidget_4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.verticalLayoutWidget_4)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.attributeName = QtGui.QLabel(self.verticalLayoutWidget_4)
        self.attributeName.setObjectName(_fromUtf8("attributeName"))
        self.horizontalLayout_4.addWidget(self.attributeName)
        self.attributeValue = QtGui.QLabel(self.verticalLayoutWidget_4)
        self.attributeValue.setText(_fromUtf8(""))
        self.attributeValue.setObjectName(_fromUtf8("attributeValue"))
        self.horizontalLayout_4.addWidget(self.attributeValue)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.listWidget = QtGui.QListWidget(self.dataTab)
        self.listWidget.setGeometry(QtCore.QRect(30, 10, 201, 291))
        self.listWidget.setObjectName(_fromUtf8("listWidget"))
        self.listWidget_2 = QtGui.QListWidget(self.dataTab)
        self.listWidget_2.setGeometry(QtCore.QRect(230, 10, 211, 291))
        self.listWidget_2.setObjectName(_fromUtf8("listWidget_2"))
        self.tabWidget.addTab(self.dataTab, _fromUtf8(""))
        self.summaryTab = QtGui.QWidget()
        self.summaryTab.setObjectName(_fromUtf8("summaryTab"))
        self.verticalLayoutWidget_5 = QtGui.QWidget(self.summaryTab)
        self.verticalLayoutWidget_5.setGeometry(QtCore.QRect(30, 40, 481, 151))
        self.verticalLayoutWidget_5.setObjectName(_fromUtf8("verticalLayoutWidget_5"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.verticalLayoutWidget_5)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.summaryLabel = QtGui.QLabel(self.verticalLayoutWidget_5)
        self.summaryLabel.setText(_fromUtf8(""))
        self.summaryLabel.setObjectName(_fromUtf8("summaryLabel"))
        self.horizontalLayout_5.addWidget(self.summaryLabel)
#.........这里部分代码省略.........
开发者ID:casyazmon,项目名称:mars_city,代码行数:103,代码来源:habitat.py


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