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


Python PlotWidget.setStatusTip方法代码示例

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


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

示例1: Ui_facewindow

# 需要导入模块: from pyqtgraph import PlotWidget [as 别名]
# 或者: from pyqtgraph.PlotWidget import setStatusTip [as 别名]
class Ui_facewindow(object):
    def setupUi(self, facewindow):
        facewindow.setObjectName(_fromUtf8("facewindow"))
        facewindow.resize(1241, 749)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("../smfsmanager/D_mica.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        facewindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(facewindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grafo = PlotWidget(self.centralwidget)
        self.grafo.setToolTip(_fromUtf8(""))
        self.grafo.setStatusTip(_fromUtf8(""))
        self.grafo.setWhatsThis(_fromUtf8(""))
        self.grafo.setObjectName(_fromUtf8("grafo"))
        self.gridLayout.addWidget(self.grafo, 0, 0, 1, 2)
        self.slide1 = QtGui.QScrollBar(self.centralwidget)
        self.slide1.setEnabled(True)
        self.slide1.setMinimum(1)
        self.slide1.setMaximum(1)
        self.slide1.setTracking(False)
        self.slide1.setOrientation(QtCore.Qt.Vertical)
        self.slide1.setObjectName(_fromUtf8("slide1"))
        self.gridLayout.addWidget(self.slide1, 0, 2, 1, 1)
        self.griglia = QtGui.QGraphicsView(self.centralwidget)
        self.griglia.setEnabled(True)
        self.griglia.setObjectName(_fromUtf8("griglia"))
        self.gridLayout.addWidget(self.griglia, 0, 3, 1, 1)
        self.slide2 = QtGui.QDial(self.centralwidget)
        self.slide2.setEnabled(True)
        self.slide2.setMinimum(1)
        self.slide2.setMaximum(1)
        self.slide2.setTracking(True)
        self.slide2.setObjectName(_fromUtf8("slide2"))
        self.gridLayout.addWidget(self.slide2, 1, 3, 1, 1)
        self.logTxt = QtGui.QTextEdit(self.centralwidget)
        self.logTxt.setEnabled(True)
        self.logTxt.setObjectName(_fromUtf8("logTxt"))
        self.gridLayout.addWidget(self.logTxt, 2, 0, 1, 2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.chgStatBtn = QtGui.QPushButton(self.centralwidget)
        self.chgStatBtn.setEnabled(False)
        self.chgStatBtn.setObjectName(_fromUtf8("chgStatBtn"))
        self.verticalLayout.addWidget(self.chgStatBtn)
        self.removeBtn = QtGui.QPushButton(self.centralwidget)
        self.removeBtn.setEnabled(False)
        self.removeBtn.setObjectName(_fromUtf8("removeBtn"))
        self.verticalLayout.addWidget(self.removeBtn)
        self.removeBOBtn = QtGui.QPushButton(self.centralwidget)
        self.removeBOBtn.setEnabled(False)
        self.removeBOBtn.setObjectName(_fromUtf8("removeBOBtn"))
        self.verticalLayout.addWidget(self.removeBOBtn)
        self.gridLayout.addLayout(self.verticalLayout, 2, 3, 1, 1)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.line_6 = QtGui.QFrame(self.centralwidget)
        self.line_6.setLineWidth(6)
        self.line_6.setFrameShape(QtGui.QFrame.VLine)
        self.line_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_6.setObjectName(_fromUtf8("line_6"))
        self.gridLayout_3.addWidget(self.line_6, 0, 15, 3, 1)
        self.nmVNumDbl = QtGui.QDoubleSpinBox(self.centralwidget)
        self.nmVNumDbl.setEnabled(False)
        self.nmVNumDbl.setMaximum(1000.0)
        self.nmVNumDbl.setObjectName(_fromUtf8("nmVNumDbl"))
        self.gridLayout_3.addWidget(self.nmVNumDbl, 1, 7, 1, 1)
        self.line_3 = QtGui.QFrame(self.centralwidget)
        self.line_3.setLineWidth(6)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.gridLayout_3.addWidget(self.line_3, 0, 5, 3, 1)
        self.kNumDbl = QtGui.QDoubleSpinBox(self.centralwidget)
        self.kNumDbl.setEnabled(False)
        self.kNumDbl.setMaximum(1000.0)
        self.kNumDbl.setObjectName(_fromUtf8("kNumDbl"))
        self.gridLayout_3.addWidget(self.kNumDbl, 0, 7, 1, 1)
        self.speedNumDbl = QtGui.QDoubleSpinBox(self.centralwidget)
        self.speedNumDbl.setEnabled(False)
        self.speedNumDbl.setMaximum(1000.0)
        self.speedNumDbl.setObjectName(_fromUtf8("speedNumDbl"))
        self.gridLayout_3.addWidget(self.speedNumDbl, 2, 7, 1, 1)
        self.bAddDir = QtGui.QPushButton(self.centralwidget)
        self.bAddDir.setObjectName(_fromUtf8("bAddDir"))
        self.gridLayout_3.addWidget(self.bAddDir, 0, 0, 1, 1)
        self.bAddFiles = QtGui.QPushButton(self.centralwidget)
        self.bAddFiles.setObjectName(_fromUtf8("bAddFiles"))
        self.gridLayout_3.addWidget(self.bAddFiles, 1, 0, 1, 1)
        self.convr9Btn = QtGui.QPushButton(self.centralwidget)
        self.convr9Btn.setObjectName(_fromUtf8("convr9Btn"))
        self.gridLayout_3.addWidget(self.convr9Btn, 2, 0, 1, 1)
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 0, 6, 1, 1)
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(self.centralwidget)
#.........这里部分代码省略.........
开发者ID:elandini,项目名称:SiMPlE,代码行数:103,代码来源:Ui_qtView.py


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