本文整理汇总了Python中pyqtgraph.GraphicsLayoutWidget.raise_方法的典型用法代码示例。如果您正苦于以下问题:Python GraphicsLayoutWidget.raise_方法的具体用法?Python GraphicsLayoutWidget.raise_怎么用?Python GraphicsLayoutWidget.raise_使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyqtgraph.GraphicsLayoutWidget
的用法示例。
在下文中一共展示了GraphicsLayoutWidget.raise_方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Ui_MainWindow
# 需要导入模块: from pyqtgraph import GraphicsLayoutWidget [as 别名]
# 或者: from pyqtgraph.GraphicsLayoutWidget import raise_ [as 别名]
#.........这里部分代码省略.........
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.overlay_graphicsView_05.sizePolicy().hasHeightForWidth())
self.overlay_graphicsView_05.setSizePolicy(sizePolicy)
self.overlay_graphicsView_05.setMinimumSize(QtCore.QSize(192, 64))
self.overlay_graphicsView_05.setMaximumSize(QtCore.QSize(192, 64))
self.overlay_graphicsView_05.setFrameShape(QtWidgets.QFrame.NoFrame)
self.overlay_graphicsView_05.setAlignment(QtCore.Qt.AlignCenter)
self.overlay_graphicsView_05.setObjectName("overlay_graphicsView_05")
self.overlay_graphicsView_02 = GraphicsLayoutWidget(self.overlays_groupBox)
self.overlay_graphicsView_02.setGeometry(QtCore.QRect(220, 30, 192, 64))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.overlay_graphicsView_02.sizePolicy().hasHeightForWidth())
self.overlay_graphicsView_02.setSizePolicy(sizePolicy)
self.overlay_graphicsView_02.setMinimumSize(QtCore.QSize(192, 64))
self.overlay_graphicsView_02.setMaximumSize(QtCore.QSize(192, 64))
self.overlay_graphicsView_02.setFrameShape(QtWidgets.QFrame.NoFrame)
self.overlay_graphicsView_02.setAlignment(QtCore.Qt.AlignCenter)
self.overlay_graphicsView_02.setObjectName("overlay_graphicsView_02")
self.overlay_graphicsView_07 = GraphicsLayoutWidget(self.overlays_groupBox)
self.overlay_graphicsView_07.setGeometry(QtCore.QRect(10, 285, 192, 64))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.overlay_graphicsView_07.sizePolicy().hasHeightForWidth())
self.overlay_graphicsView_07.setSizePolicy(sizePolicy)
self.overlay_graphicsView_07.setMinimumSize(QtCore.QSize(192, 64))
self.overlay_graphicsView_07.setMaximumSize(QtCore.QSize(192, 64))
self.overlay_graphicsView_07.setFrameShape(QtWidgets.QFrame.NoFrame)
self.overlay_graphicsView_07.setAlignment(QtCore.Qt.AlignCenter)
self.overlay_graphicsView_07.setObjectName("overlay_graphicsView_07")
self.overlay_graphicsView_01.raise_()
self.overlay_radioButton_01.raise_()
self.overlay_radioButton_02.raise_()
self.overlay_radioButton_03.raise_()
self.overlay_radioButton_04.raise_()
self.corrout_radioButton.raise_()
self.overlay_radioButton_05.raise_()
self.overlay_radioButton_06.raise_()
self.overlay_radioButton_07.raise_()
self.overlay_radioButton_08.raise_()
self.overlay_graphicsView_04.raise_()
self.overlay_graphicsView_06.raise_()
self.overlay_graphicsView_03.raise_()
self.overlay_graphicsView_08.raise_()
self.overlay_graphicsView_05.raise_()
self.overlay_graphicsView_02.raise_()
self.overlay_graphicsView_07.raise_()
self.histogram_groupBox = QtWidgets.QGroupBox(self.centralwidget)
self.histogram_groupBox.setGeometry(QtCore.QRect(440, 315, 381, 201))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.histogram_groupBox.sizePolicy().hasHeightForWidth())
self.histogram_groupBox.setSizePolicy(sizePolicy)
self.histogram_groupBox.setMinimumSize(QtCore.QSize(100, 100))
self.histogram_groupBox.setMaximumSize(QtCore.QSize(500, 1000))
self.histogram_groupBox.setObjectName("histogram_groupBox")
self.histogram_graphicsView = GraphicsLayoutWidget(self.histogram_groupBox)
self.histogram_graphicsView.setGeometry(QtCore.QRect(10, 30, 361, 161))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.histogram_graphicsView.sizePolicy().hasHeightForWidth())