qt - QProgressBar on QStatusBar : how to remove the 2 little vertical lines on either side of the QprogressBar? -
i add qprogressbar following qlabel qstatusbar following code ,but qprogressbar lined 2 little vertical lines . wonder how remove 2 vertical lines ?
import sys pyqt4.qtgui import * pyqt4.qtcore import * class mainwindow(qmainwindow): def __init__(self, parent=none): super(mainwindow, self).__init__(parent) self.resize(800, 600) self.lb=qlabel('finding resource ') self.pb = qprogressbar() self.pb.setrange(0, 0) # self.pb.settextvisible(false) self.statusbar().addpermanentwidget(self.lb) self.statusbar().addpermanentwidget(self.pb, 1) if __name__ == "__main__": app = qapplication(sys.argv) ui = mainwindow() ui.show() sys.exit(app.exec_())