當前位置: 首頁>>代碼示例>>Python>>正文


Python GraphicsLayoutWidget.raise_方法代碼示例

本文整理匯總了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())
開發者ID:bbfrederick,項目名稱:rapidtide,代碼行數:70,代碼來源:tidepoolTemplate_qt5.py


注:本文中的pyqtgraph.GraphicsLayoutWidget.raise_方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。