本文整理汇总了Python中pyqtgraph.GraphicsLayoutWidget类的典型用法代码示例。如果您正苦于以下问题:Python GraphicsLayoutWidget类的具体用法?Python GraphicsLayoutWidget怎么用?Python GraphicsLayoutWidget使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了GraphicsLayoutWidget类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: setupUi
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 600)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(670, 140, 75, 23))
self.pushButton.setObjectName("pushButton")
self.pyqtgraph1 = GraphicsLayoutWidget(self.centralwidget)
self.pyqtgraph1.setGeometry(QtCore.QRect(10, 10, 601, 201))
self.pyqtgraph1.setObjectName("pyqtgraph1")
self.pyqtgraph2 = GraphicsLayoutWidget(self.centralwidget)
self.pyqtgraph2.setGeometry(QtCore.QRect(10, 220, 381, 351))
self.pyqtgraph2.setObjectName("pyqtgraph2")
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_2.setGeometry(QtCore.QRect(430, 380, 75, 23))
self.pushButton_2.setObjectName("pushButton_2")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 23))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
开发者ID:kiorry,项目名称:PYQT,代码行数:28,代码来源:Ui_pyqtgraph_pyqt.py
示例2: Ui_Form
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName(_fromUtf8("Form"))
Form.resize(648, 335)
self.horizontalLayout = QtGui.QHBoxLayout(Form)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.tabWidget = QtGui.QTabWidget(Form)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.verticalLayout = QtGui.QVBoxLayout(self.tab)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.pg_layout = GraphicsLayoutWidget(self.tab)
self.pg_layout.setObjectName(_fromUtf8("pg_layout"))
self.verticalLayout.addWidget(self.pg_layout)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.horizontalLayout.addWidget(self.tabWidget)
self.pg_layout2 = GraphicsLayoutWidget(Form)
self.pg_layout2.setObjectName(_fromUtf8("pg_layout2"))
self.horizontalLayout.addWidget(self.pg_layout2)
self.retranslateUi(Form)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
Form.setWindowTitle(_translate("Form", "Form", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Form", "Tab 1", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Form", "Tab 2", None))
开发者ID:kif,项目名称:Py2DeX,代码行数:32,代码来源:widgetUI.py
示例3: setupUi
def setupUi(self, Form):
Form.setObjectName(_fromUtf8("Form"))
Form.resize(648, 335)
self.horizontalLayout = QtGui.QHBoxLayout(Form)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.tabWidget = QtGui.QTabWidget(Form)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.verticalLayout = QtGui.QVBoxLayout(self.tab)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.pg_layout = GraphicsLayoutWidget(self.tab)
self.pg_layout.setObjectName(_fromUtf8("pg_layout"))
self.verticalLayout.addWidget(self.pg_layout)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.horizontalLayout.addWidget(self.tabWidget)
self.pg_layout2 = GraphicsLayoutWidget(Form)
self.pg_layout2.setObjectName(_fromUtf8("pg_layout2"))
self.horizontalLayout.addWidget(self.pg_layout2)
self.retranslateUi(Form)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(Form)
开发者ID:kif,项目名称:Py2DeX,代码行数:26,代码来源:widgetUI.py
示例4: Ui_plotdialog
class Ui_plotdialog(object):
def setupUi(self, plotdialog):
plotdialog.setObjectName(_fromUtf8("plotdialog"))
plotdialog.resize(854, 610)
self.graphicsView = GraphicsLayoutWidget(plotdialog)
self.graphicsView.setGeometry(QtCore.QRect(30, 10, 811, 481))
self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
self.hslider = QtGui.QSlider(plotdialog)
self.hslider.setGeometry(QtCore.QRect(20, 510, 431, 29))
self.hslider.setMaximum(100)
self.hslider.setOrientation(QtCore.Qt.Horizontal)
self.hslider.setTickPosition(QtGui.QSlider.TicksBothSides)
self.hslider.setObjectName(_fromUtf8("hslider"))
self.comboBox = QtGui.QComboBox(plotdialog)
self.comboBox.setGeometry(QtCore.QRect(30, 550, 141, 31))
self.comboBox.setObjectName(_fromUtf8("comboBox"))
self.showbtn = QtGui.QToolButton(plotdialog)
self.showbtn.setGeometry(QtCore.QRect(240, 550, 151, 31))
self.showbtn.setObjectName(_fromUtf8("showbtn"))
self.retranslateUi(plotdialog)
QtCore.QMetaObject.connectSlotsByName(plotdialog)
def retranslateUi(self, plotdialog):
plotdialog.setWindowTitle(QtGui.QApplication.translate("plotdialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.showbtn.setText(QtGui.QApplication.translate("plotdialog", "Show/Hide PF", None, QtGui.QApplication.UnicodeUTF8))
开发者ID:siddhartha047,项目名称:FDEA,代码行数:26,代码来源:plots.py
示例5: Ui_ROI
class Ui_ROI(object):
def setupUi(self, ROI):
ROI.setObjectName(_fromUtf8("ROI"))
ROI.resize(625, 300)
self.horizontalLayout = QtGui.QHBoxLayout(ROI)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.graphicsView = GraphicsLayoutWidget(ROI)
self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
self.horizontalLayout.addWidget(self.graphicsView)
self.retranslateUi(ROI)
QtCore.QMetaObject.connectSlotsByName(ROI)
def retranslateUi(self, ROI):
ROI.setWindowTitle(_translate("ROI", "Form", None))
开发者ID:tschoonj,项目名称:NanoPeakCell,代码行数:15,代码来源:npg_ROI_ui.py
示例6: setupUi
def setupUi(self, Form):
Form.setObjectName(_fromUtf8("Form"))
Form.resize(648, 335)
Form.setStyleSheet(_fromUtf8("#Form {\n"
" background-color: rgb(0,0,0)\n"
"}\n"
"\n"
"QLabel{\n"
" color: white\n"
"}"))
self.verticalLayout = QtGui.QVBoxLayout(Form)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.pg_layout = GraphicsLayoutWidget(Form)
self.pg_layout.setObjectName(_fromUtf8("pg_layout"))
self.horizontalLayout.addWidget(self.pg_layout)
self.verticalLayout.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.bench_btn = QtGui.QPushButton(Form)
self.bench_btn.setObjectName(_fromUtf8("bench_btn"))
self.horizontalLayout_2.addWidget(self.bench_btn)
self.pos_lbl = QtGui.QLabel(Form)
self.pos_lbl.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
self.pos_lbl.setObjectName(_fromUtf8("pos_lbl"))
self.horizontalLayout_2.addWidget(self.pos_lbl)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
开发者ID:kif,项目名称:Py2DeX,代码行数:31,代码来源:PyQtGraphTest_UI.py
示例7: setupUi
def setupUi(self, ROI):
ROI.setObjectName(_fromUtf8("ROI"))
ROI.resize(625, 300)
self.horizontalLayout = QtGui.QHBoxLayout(ROI)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.graphicsView = GraphicsLayoutWidget(ROI)
self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
self.horizontalLayout.addWidget(self.graphicsView)
self.retranslateUi(ROI)
QtCore.QMetaObject.connectSlotsByName(ROI)
开发者ID:tschoonj,项目名称:NanoPeakCell,代码行数:11,代码来源:npg_ROI_ui.py
示例8: setupUi
def setupUi(self, MainWindow):
"""This function is converted from the .ui file from the designer"""
MainWindow.setObjectName(_fromUtf8("Scope Window"))
MainWindow.resize(1200, 600)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
# Graphics layout
self.horizontalLayout = QtGui.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.graphicsLayout = QtGui.QHBoxLayout()
self.graphicsLayout.setObjectName(_fromUtf8("graphicsLayout"))
self.graphicsView = GraphicsLayoutWidget(self.centralwidget)
self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
self.graphicsLayout.addWidget(self.graphicsView)
self.horizontalLayout.addLayout(self.graphicsLayout)
# Side panel layout: initialize as a list view
self.sideDockPanel = QtGui.QDockWidget("Settings", self)
self.sideDockPanel.setAllowedAreas(QtCore.Qt.LeftDockWidgetArea | QtCore.Qt.RightDockWidgetArea)
self.sideDockPanel.setObjectName(_fromUtf8("sideDockPanel"))
self.sideDockPanel.hide()
# self.sidePanelLayout = QtGui.QHBoxLayout()
# self.sidePanelLayout.setObjectName(_fromUtf8("sidePanelLayout"))
self.listView = QtGui.QListView(self.centralwidget)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.listView.sizePolicy().hasHeightForWidth())
self.listView.setSizePolicy(sizePolicy)
self.listView.setObjectName(_fromUtf8("listView"))
self.sideDockPanel.setWidget(self.listView)
self.addDockWidget(QtCore.Qt.RightDockWidgetArea, self.sideDockPanel)
# self.sidePanelLayout.addWidget(self.listView)
# self.horizontalLayout.addLayout(self.sidePanelLayout)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1225, 26))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.setMenuBarItems()
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)
开发者ID:yunpoyue,项目名称:Python,代码行数:49,代码来源:Scope.py
示例9: setupUi
def setupUi(self, plotdialog):
plotdialog.setObjectName(_fromUtf8("plotdialog"))
plotdialog.resize(854, 610)
self.graphicsView = GraphicsLayoutWidget(plotdialog)
self.graphicsView.setGeometry(QtCore.QRect(30, 10, 811, 481))
self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
self.hslider = QtGui.QSlider(plotdialog)
self.hslider.setGeometry(QtCore.QRect(20, 510, 431, 29))
self.hslider.setMaximum(100)
self.hslider.setOrientation(QtCore.Qt.Horizontal)
self.hslider.setTickPosition(QtGui.QSlider.TicksBothSides)
self.hslider.setObjectName(_fromUtf8("hslider"))
self.comboBox = QtGui.QComboBox(plotdialog)
self.comboBox.setGeometry(QtCore.QRect(30, 550, 141, 31))
self.comboBox.setObjectName(_fromUtf8("comboBox"))
self.retranslateUi(plotdialog)
QtCore.QMetaObject.connectSlotsByName(plotdialog)
开发者ID:toggled,项目名称:pythonutilities,代码行数:18,代码来源:plots+(copy).py
示例10: setupUi
def setupUi(self, QSpectrumAnalyzerMainWindow):
QSpectrumAnalyzerMainWindow.setObjectName(_fromUtf8("QSpectrumAnalyzerMainWindow"))
QSpectrumAnalyzerMainWindow.resize(1200, 810)
self.centralwidget = QtGui.QWidget(QSpectrumAnalyzerMainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.plotSplitter = QtGui.QSplitter(self.centralwidget)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.plotSplitter.sizePolicy().hasHeightForWidth())
self.plotSplitter.setSizePolicy(sizePolicy)
self.plotSplitter.setOrientation(QtCore.Qt.Vertical)
self.plotSplitter.setObjectName(_fromUtf8("plotSplitter"))
self.mainPlotLayout = GraphicsLayoutWidget(self.plotSplitter)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mainPlotLayout.sizePolicy().hasHeightForWidth())
self.mainPlotLayout.setSizePolicy(sizePolicy)
self.mainPlotLayout.setObjectName(_fromUtf8("mainPlotLayout"))
self.waterfallPlotLayout = GraphicsLayoutWidget(self.plotSplitter)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.waterfallPlotLayout.sizePolicy().hasHeightForWidth())
self.waterfallPlotLayout.setSizePolicy(sizePolicy)
self.waterfallPlotLayout.setObjectName(_fromUtf8("waterfallPlotLayout"))
self.horizontalLayout.addWidget(self.plotSplitter)
QSpectrumAnalyzerMainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(QSpectrumAnalyzerMainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1200, 30))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menu_File = QtGui.QMenu(self.menubar)
self.menu_File.setObjectName(_fromUtf8("menu_File"))
self.menu_Help = QtGui.QMenu(self.menubar)
self.menu_Help.setObjectName(_fromUtf8("menu_Help"))
QSpectrumAnalyzerMainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(QSpectrumAnalyzerMainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
QSpectrumAnalyzerMainWindow.setStatusBar(self.statusbar)
self.controlsDockWidget = QtGui.QDockWidget(QSpectrumAnalyzerMainWindow)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.controlsDockWidget.sizePolicy().hasHeightForWidth())
self.controlsDockWidget.setSizePolicy(sizePolicy)
self.controlsDockWidget.setMinimumSize(QtCore.QSize(190, 10))
self.controlsDockWidget.setFeatures(QtGui.QDockWidget.DockWidgetFloatable|QtGui.QDockWidget.DockWidgetMovable)
self.controlsDockWidget.setObjectName(_fromUtf8("controlsDockWidget"))
self.controlsDockWidgetContents = QtGui.QWidget()
self.controlsDockWidgetContents.setObjectName(_fromUtf8("controlsDockWidgetContents"))
self.gridLayout_2 = QtGui.QGridLayout(self.controlsDockWidgetContents)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.startButton = QtGui.QPushButton(self.controlsDockWidgetContents)
self.startButton.setObjectName(_fromUtf8("startButton"))
self.gridLayout_2.addWidget(self.startButton, 0, 0, 1, 1)
self.stopButton = QtGui.QPushButton(self.controlsDockWidgetContents)
self.stopButton.setObjectName(_fromUtf8("stopButton"))
self.gridLayout_2.addWidget(self.stopButton, 0, 1, 1, 1)
self.singleShotButton = QtGui.QPushButton(self.controlsDockWidgetContents)
self.singleShotButton.setObjectName(_fromUtf8("singleShotButton"))
self.gridLayout_2.addWidget(self.singleShotButton, 1, 0, 1, 2)
spacerItem = QtGui.QSpacerItem(20, 561, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem, 2, 0, 1, 1)
self.controlsDockWidget.setWidget(self.controlsDockWidgetContents)
QSpectrumAnalyzerMainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.controlsDockWidget)
self.frequencyDockWidget = QtGui.QDockWidget(QSpectrumAnalyzerMainWindow)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frequencyDockWidget.sizePolicy().hasHeightForWidth())
self.frequencyDockWidget.setSizePolicy(sizePolicy)
self.frequencyDockWidget.setMinimumSize(QtCore.QSize(225, 10))
self.frequencyDockWidget.setFeatures(QtGui.QDockWidget.DockWidgetFloatable|QtGui.QDockWidget.DockWidgetMovable)
self.frequencyDockWidget.setObjectName(_fromUtf8("frequencyDockWidget"))
self.frequencyDockWidgetContents = QtGui.QWidget()
self.frequencyDockWidgetContents.setObjectName(_fromUtf8("frequencyDockWidgetContents"))
self.formLayout = QtGui.QFormLayout(self.frequencyDockWidgetContents)
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label_2 = QtGui.QLabel(self.frequencyDockWidgetContents)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
self.startFreqSpinBox = QtGui.QDoubleSpinBox(self.frequencyDockWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.startFreqSpinBox.sizePolicy().hasHeightForWidth())
self.startFreqSpinBox.setSizePolicy(sizePolicy)
self.startFreqSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.startFreqSpinBox.setDecimals(3)
self.startFreqSpinBox.setMinimum(24.0)
self.startFreqSpinBox.setMaximum(1766.0)
self.startFreqSpinBox.setProperty("value", 87.0)
self.startFreqSpinBox.setObjectName(_fromUtf8("startFreqSpinBox"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.startFreqSpinBox)
self.label_3 = QtGui.QLabel(self.frequencyDockWidgetContents)
self.label_3.setObjectName(_fromUtf8("label_3"))
#.........这里部分代码省略.........
开发者ID:iamckn-sdr,项目名称:qspectrumanalyzer,代码行数:101,代码来源:ui_qspectrumanalyzer.py
示例11: setupUi
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(877, 839)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.gridLayout = QtGui.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.tabWidget = QtGui.QTabWidget(self.centralwidget)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.gridLayout_3 = QtGui.QGridLayout(self.tab)
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
self.graphicsView = GraphicsLayoutWidget(self.tab)
self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
self.gridLayout_3.addWidget(self.graphicsView, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.gridLayout_8 = QtGui.QGridLayout(self.tab_2)
self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
self.graphicsView_2 = GraphicsLayoutWidget(self.tab_2)
self.graphicsView_2.setObjectName(_fromUtf8("graphicsView_2"))
self.gridLayout_8.addWidget(self.graphicsView_2, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.tab_3 = QtGui.QWidget()
self.tab_3.setObjectName(_fromUtf8("tab_3"))
self.gridLayout_9 = QtGui.QGridLayout(self.tab_3)
self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
self.graphicsView_3 = GraphicsLayoutWidget(self.tab_3)
self.graphicsView_3.setObjectName(_fromUtf8("graphicsView_3"))
self.gridLayout_9.addWidget(self.graphicsView_3, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 877, 19))
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.dockWidget = QtGui.QDockWidget(MainWindow)
self.dockWidget.setObjectName(_fromUtf8("dockWidget"))
self.dockWidgetContents = QtGui.QWidget()
self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
self.gridLayout_4 = QtGui.QGridLayout(self.dockWidgetContents)
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_4.addItem(spacerItem, 3, 0, 1, 1)
self.groupBox_2 = QtGui.QGroupBox(self.dockWidgetContents)
self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.gridLayout_6 = QtGui.QGridLayout()
self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
self.fileLineEdit1_3 = QtGui.QLineEdit(self.groupBox_2)
self.fileLineEdit1_3.setReadOnly(True)
self.fileLineEdit1_3.setObjectName(_fromUtf8("fileLineEdit1_3"))
self.gridLayout_6.addWidget(self.fileLineEdit1_3, 0, 2, 1, 1)
self.fileLabel1_3 = QtGui.QLabel(self.groupBox_2)
self.fileLabel1_3.setObjectName(_fromUtf8("fileLabel1_3"))
self.gridLayout_6.addWidget(self.fileLabel1_3, 0, 0, 1, 1)
self.eeg_channel_combo_box = QtGui.QComboBox(self.groupBox_2)
self.eeg_channel_combo_box.setObjectName(_fromUtf8("eeg_channel_combo_box"))
self.gridLayout_6.addWidget(self.eeg_channel_combo_box, 1, 2, 1, 1)
self.label_3 = QtGui.QLabel(self.groupBox_2)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.gridLayout_6.addWidget(self.label_3, 1, 0, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout_6, 0, 0, 1, 1)
self.gridLayout_4.addWidget(self.groupBox_2, 0, 0, 1, 1)
self.groupBox_3 = QtGui.QGroupBox(self.dockWidgetContents)
self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_3)
self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
self.gridLayout_7 = QtGui.QGridLayout()
self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
self.label_5 = QtGui.QLabel(self.groupBox_3)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.gridLayout_7.addWidget(self.label_5, 2, 0, 1, 1)
self.label_6 = QtGui.QLabel(self.groupBox_3)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.gridLayout_7.addWidget(self.label_6, 1, 0, 1, 1)
self.fileLineEdit1_4 = QtGui.QLineEdit(self.groupBox_3)
self.fileLineEdit1_4.setReadOnly(True)
self.fileLineEdit1_4.setObjectName(_fromUtf8("fileLineEdit1_4"))
self.gridLayout_7.addWidget(self.fileLineEdit1_4, 0, 2, 1, 1)
self.fileLabel1_4 = QtGui.QLabel(self.groupBox_3)
self.fileLabel1_4.setObjectName(_fromUtf8("fileLabel1_4"))
self.gridLayout_7.addWidget(self.fileLabel1_4, 0, 0, 1, 1)
self.epoch_tmin_spinbox = QtGui.QDoubleSpinBox(self.groupBox_3)
self.epoch_tmin_spinbox.setMinimum(-1.0)
self.epoch_tmin_spinbox.setMaximum(1.0)
self.epoch_tmin_spinbox.setSingleStep(0.01)
self.epoch_tmin_spinbox.setProperty("value", -0.2)
self.epoch_tmin_spinbox.setObjectName(_fromUtf8("epoch_tmin_spinbox"))
self.gridLayout_7.addWidget(self.epoch_tmin_spinbox, 2, 2, 1, 1)
self.label_7 = QtGui.QLabel(self.groupBox_3)
#.........这里部分代码省略.........
开发者ID:chrismullins,项目名称:EEGViewer,代码行数:101,代码来源:EEGViewerGUI.py
示例12: setupUi
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.setEnabled(True)
MainWindow.resize(1201, 818)
MainWindow.setMinimumSize(QtCore.QSize(1024, 700))
self.centralwidget = QtGui.QWidget(MainWindow)
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.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.select_file_button = QtGui.QPushButton(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(9)
self.select_file_button.setFont(font)
self.select_file_button.setObjectName(_fromUtf8("select_file_button"))
self.horizontalLayout.addWidget(self.select_file_button)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.verticalLayout.addLayout(self.horizontalLayout)
self.central_tab = QtGui.QTabWidget(self.centralwidget)
self.central_tab.setObjectName(_fromUtf8("central_tab"))
self.waveform_tab = QtGui.QWidget()
self.waveform_tab.setObjectName(_fromUtf8("waveform_tab"))
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.waveform_tab)
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.verticalLayout_3 = QtGui.QVBoxLayout()
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.group_by_network_check_box = QtGui.QCheckBox(self.waveform_tab)
self.group_by_network_check_box.setChecked(True)
self.group_by_network_check_box.setObjectName(_fromUtf8("group_by_network_check_box"))
self.verticalLayout_3.addWidget(self.group_by_network_check_box)
self.station_view = StationTreeWidget(self.waveform_tab)
self.station_view.setAnimated(False)
self.station_view.setHeaderHidden(True)
self.station_view.setObjectName(_fromUtf8("station_view"))
self.station_view.headerItem().setText(0, _fromUtf8("1"))
self.verticalLayout_3.addWidget(self.station_view)
self.web_view = QtWebKit.QWebView(self.waveform_tab)
self.web_view.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
self.web_view.setObjectName(_fromUtf8("web_view"))
self.verticalLayout_3.addWidget(self.web_view)
self.verticalLayout_3.setStretch(0, 1)
self.verticalLayout_3.setStretch(1, 10)
self.verticalLayout_3.setStretch(2, 4)
self.horizontalLayout_3.addLayout(self.verticalLayout_3)
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.reset_view_push_button = QtGui.QPushButton(self.waveform_tab)
self.reset_view_push_button.setEnabled(False)
self.reset_view_push_button.setObjectName(_fromUtf8("reset_view_push_button"))
self.horizontalLayout_2.addWidget(self.reset_view_push_button)
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem1)
self.detrend_and_demean_check_box = QtGui.QCheckBox(self.waveform_tab)
self.detrend_and_demean_check_box.setObjectName(_fromUtf8("detrend_and_demean_check_box"))
self.horizontalLayout_2.addWidget(self.detrend_and_demean_check_box)
self.normalize_check_box = QtGui.QCheckBox(self.waveform_tab)
self.normalize_check_box.setObjectName(_fromUtf8("normalize_check_box"))
self.horizontalLayout_2.addWidget(self.normalize_check_box)
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem2)
self.references_push_button = QtGui.QPushButton(self.waveform_tab)
self.references_push_button.setObjectName(_fromUtf8("references_push_button"))
self.horizontalLayout_2.addWidget(self.references_push_button)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
self.graph = GraphicsLayoutWidget(self.waveform_tab)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.graph.sizePolicy().hasHeightForWidth())
self.graph.setSizePolicy(sizePolicy)
self.graph.setMouseTracking(False)
self.graph.setToolTip(_fromUtf8(""))
self.graph.setObjectName(_fromUtf8("graph"))
self.verticalLayout_2.addWidget(self.graph)
self.horizontalLayout_3.addLayout(self.verticalLayout_2)
self.horizontalLayout_3.setStretch(0, 3)
self.horizontalLayout_3.setStretch(1, 10)
self.central_tab.addTab(self.waveform_tab, _fromUtf8("Waveforms"))
self.auxiliary_data_tab = QtGui.QWidget()
self.auxiliary_data_tab.setObjectName(_fromUtf8("auxiliary_data_tab"))
self.horizontalLayout_11 = QtGui.QHBoxLayout(self.auxiliary_data_tab)
self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
self.auxiliary_data_tree_view = QtGui.QTreeWidget(self.auxiliary_data_tab)
self.auxiliary_data_tree_view.setObjectName(_fromUtf8("auxiliary_data_tree_view"))
self.auxiliary_data_tree_view.headerItem().setText(0, _fromUtf8("1"))
self.auxiliary_data_tree_view.header().setVisible(False)
self.horizontalLayout_11.addWidget(self.auxiliary_data_tree_view)
self.verticalLayout_4 = QtGui.QVBoxLayout()
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
self.auxiliary_data_stacked_widget = QtGui.QStackedWidget(self.auxiliary_data_tab)
self.auxiliary_data_stacked_widget.setObjectName(_fromUtf8("auxiliary_data_stacked_widget"))
#.........这里部分代码省略.........
开发者ID:SeismicData,项目名称:asdf_sextant,代码行数:101,代码来源:asdf_sextant_window.py
示例13: setupUi
def setupUi(self, SignalWidget):
SignalWidget.setObjectName("SignalWidget")
SignalWidget.resize(650, 511)
self.gridLayout = QtWidgets.QGridLayout(SignalWidget)
self.gridLayout.setObjectName("gridLayout")
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.plotWidget = GraphicsLayoutWidget(SignalWidget)
self.plotWidget.setObjectName("plotWidget")
self.horizontalLayout_2.addWidget(self.plotWidget)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.hMinusButton = QtWidgets.QPushButton(SignalWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.hMinusButton.sizePolicy().hasHeightForWidth())
self.hMinusButton.setSizePolicy(sizePolicy)
self.hMinusButton.setMinimumSize(QtCore.QSize(30, 30))
self.hMinusButton.setMaximumSize(QtCore.QSize(30, 30))
self.hMinusButton.setFlat(False)
self.hMinusButton.setObjectName("hMinusButton")
self.horizontalLayout.addWidget(self.hMinusButton)
self.hPlusButton = QtWidgets.QPushButton(SignalWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.hPlusButton.sizePolicy().hasHeightForWidth())
self.hPlusButton.setSizePolicy(sizePolicy)
self.hPlusButton.setMinimumSize(QtCore.QSize(30, 30))
self.hPlusButton.setMaximumSize(QtCore.QSize(30, 30))
self.hPlusButton.setObjectName("hPlusButton")
self.horizontalLayout.addWidget(self.hPlusButton)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
self.groupBox = QtWidgets.QGroupBox(SignalWidget)
self.groupBox.setMinimumSize(QtCore.QSize(250, 0))
self.groupBox.setObjectName("groupBox")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.probeButton = QtWidgets.QRadioButton(self.groupBox)
self.probeButton.setChecked(True)
self.probeButton.setObjectName("probeButton")
self.buttonGroup = QtWidgets.QButtonGroup(SignalWidget)
self.buttonGroup.setObjectName("buttonGroup")
self.buttonGroup.addButton(self.probeButton)
self.verticalLayout_3.addWidget(self.probeButton)
self.signalButton = QtWidgets.QRadioButton(self.groupBox)
self.signalButton.setObjectName("signalButton")
self.buttonGroup.addButton(self.signalButton)
self.verticalLayout_3.addWidget(self.signalButton)
spacerItem = QtWidgets.QSpacerItem(20, 400, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_3.addItem(spacerItem)
self.gridLayout.addWidget(self.groupBox, 0, 1, 1, 1)
self.retranslateUi(SignalWidget)
QtCore.QMetaObject.connectSlotsByName(SignalWidget)
开发者ID:ixjlyons,项目名称:pygesture,代码行数:61,代码来源:signal_widget_template.py
示例14: setupUi
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1118, 728)
MainWindow.setMinimumSize(QtCore.QSize(256, 256))
MainWindow.setMaximumSize(QtCore.QSize(1118, 16777215))
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.histogram_groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
self.histogram_groupBox_2.setGeometry(QtCore.QRect(440, 520, 671, 171))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.histogram_groupBox_2.sizePolicy().hasHeightForWidth())
self.histogram_groupBox_2.setSizePolicy(sizePolicy)
self.histogram_groupBox_2.setMinimumSize(QtCore.QSize(100, 100))
self.histogram_groupBox_2.setMaximumSize(QtCore.QSize(700, 283))
self.histogram_groupBox_2.setObjectName("histogram_groupBox_2")
self.logOutput = QtWidgets.QTextEdit(self.histogram_groupBox_2)
self.logOutput.setGeometry(QtCore.QRect(10, 30, 651, 131))
font = QtGui.QFont()
font.setFamily("Courier")
self.logOutput.setFont(font)
self.logOutput.setObjectName("logOutput")
self.imageData_groupBox = QtWidgets.QGroupBox(self.centralwidget)
self.imageData_groupBox.setGeometry(QtCore.QRect(10, 0, 1100, 312))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.imageData_groupBox.sizePolicy().hasHeightForWidth())
self.imageData_groupBox.setSizePolicy(sizePolicy)
self.imageData_groupBox.setMinimumSize(QtCore.QSize(1100, 100))
self.imageData_groupBox.setMaximumSize(QtCore.QSize(1100, 312))
self.imageData_groupBox.setObjectName("imageData_groupBox")
self.label = QtWidgets.QLabel(self.imageData_groupBox)
self.label.setGeometry(QtCore.QRect(10, 520, 521, 16))
self.label.setWordWrap(True)
self.label.setObjectName("label")
self.layoutWidget = QtWidgets.QWidget(self.imageData_groupBox)
self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 1091, 291))
self.layoutWidget.setObjectName("layoutWidget")
self.largeimage_horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
self.largeimage_horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetMinAndMaxSize)
self.largeimage_horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.largeimage_horizontalLayout.setObjectName("largeimage_horizontalLayout")
self.main_graphicsView = GraphicsLayoutWidget(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.main_graphicsView.sizePolicy().hasHeightForWidth())
self.main_graphicsView.setSizePolicy(sizePolicy)
self.main_graphicsView.setMinimumSize(QtCore.QSize(778, 256))
self.main_graphicsView.setMaximumSize(QtCore.QSize(778, 256))
self.main_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
self.main_graphicsView.setFrameShape(QtWidgets.QFrame.NoFrame)
self.main_graphicsView.setAlignment(QtCore.Qt.AlignCenter)
self.main_graphicsView.setObjectName("main_graphicsView")
self.largeimage_horizontalLayout.addWidget(self.main_graphicsView)
self.graphicsView_colorbar = GraphicsView(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.graphicsView_colorbar.sizePolicy().hasHeightForWidth())
self.graphicsView_colorbar.setSizePolicy(sizePolicy)
self.graphicsView_colorbar.setMinimumSize(QtCore.QSize(30, 128))
self.graphicsView_colorbar.setMaximumSize(QtCore.QSize(25, 256))
self.graphicsView_colorbar.setSizeIncrement(QtCore.QSize(1, 1))
self.graphicsView_colorbar.setObjectName("graphicsView_colorbar")
self.largeimage_horizontalLayout.addWidget(self.graphicsView_colorbar)
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
self.verticalLayout_3.setContentsMargins(-1, 5, -1, 5)
self.verticalLayout_3.setSpacing(0)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.dispmax_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
self.dispmax_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.dispmax_doubleSpinBox.setDecimals(3)
self.dispmax_doubleSpinBox.setObjectName("dispmax_doubleSpinBox")
self.verticalLayout_3.addWidget(self.dispmax_doubleSpinBox)
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_3.addItem(spacerItem)
self.resetDispLimits_Button = QtWidgets.QPushButton(self.layoutWidget)
self.resetDispLimits_Button.setObjectName("resetDispLimits_Button")
self.verticalLayout_3.addWidget(self.resetDispLimits_Button)
self.resetDispSmart_Button = QtWidgets.QPushButton(self.layoutWidget)
self.resetDispSmart_Button.setObjectName("resetDispSmart_Button")
self.verticalLayout_3.addWidget(self.resetDispSmart_Button)
self.saveDisp_Button = QtWidgets.QPushButton(self.layoutWidget)
self.saveDisp_Button.setObjectName("saveDisp_Button")
self.verticalLayout_3.addWidget(self.saveDisp_Button)
self.setMask_Button = QtWidgets.QPushButton(self.layoutWidget)
self.setMask_Button.setObjectName("setMask_Button")
self.verticalLayout_3.addWidget(self.setMask_Button)
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_3.addItem(spacerItem1)
self.dispmin_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
self.dispmin_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.dispmin_doubleSpinBox.setDecimals(3)
self.dispmin_doubleSpinBox.setObjectName("dispmin_doubleSpinBox")
self.verticalLayout_3.addWidget(self.dispmin_doubleSpinBox)
self.largeimage_horizontalLayout.addLayout(self.verticalLayout_3)
#.........这里部分代码省略.........
开发者ID:bbfrederick,项目名称:rapidtide,代码行数:101,代码来源:tidepoolTemplate_qt5.py
-
Python入门教程 Python 是一种解释型、面向对象、动态数据类型的高级程序设计语言。 P
阅读:13810|2022-01-22
-
Python wikiutil.getFrontPage函数代码示例
阅读:10201|2022-05-24
-
Python 简介 Python 是一个高层次的结合了解释性、编译性、互动性和面向对象的脚本
阅读:4091|2022-01-22
-
Python tests.group函数代码示例
阅读:4044|2022-05-27
-
Python util.check_if_user_has_permission函数代码示例
阅读:3845|2022-05-27
-
Python 练习实例98 Python 100例题目:从键盘输入一个字符串,将小写字母全部转换成大
阅读:3515|2022-01-22
-
Python 环境搭建 本章节我们将向大家介绍如何在本地搭建 Python 开发环境。 Py
阅读:3031|2022-01-22
-
Python output.darkgreen函数代码示例
阅读:2655|2022-05-25
-
Python 基础语法 Python 语言与 Perl,C 和 Java 等语言有许多相似之处。但是,也
阅读:2650|2022-01-22
-
Python 中文编码前面章节中我们已经学会了如何用 Python 输出 Hello, World!,英文没
阅读:2302|2022-01-22
|
请发表评论