pmonitor.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:PH5 作者: PIC-IRIS 项目源码 文件源码
def __init__ (self, title, mmax=100) :
        super (FamilyProgress, self).__init__ ()

        self.setWindowTitle (title)
        self.setFixedHeight (48)
        self.pbar = QtGui.QProgressBar ()
        self.pbar.setRange (0, mmax - 1)

        self.btn = QtGui.QPushButton ("Starting", self)

        pbarvbox = QtGui.QVBoxLayout()
        pbarvbox.addStretch (False)
        pbarvbox.addWidget (self.pbar)
        buttonvbox = QtGui.QVBoxLayout ()
        buttonvbox.addStretch (True)
        buttonvbox.addWidget (self.btn)
        hbox = QtGui.QHBoxLayout ()
        hbox.addLayout(pbarvbox, stretch=False)
        hbox.addLayout(buttonvbox)

        self.setLayout (hbox)
        self.pbar.setStyleSheet(START_STYLE)        
        #self.show()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号