"""set the left text"""
self.right_txt = txt
-class Ui_MainWindow(QMainWindow):
+class Ui_OSD(QMainWindow):
def __init__(self, parent = None, roundWidget = False, filename = None):
- super(Ui_MainWindow, self).__init__(parent)
+ super(Ui_OSD, self).__init__(parent)
self.ui = qtosd_ui.Ui_MainWindow()
self.ui.setupUi(self)
args = parser.parse_args()
app = QApplication(sys.argv)
- ui = Ui_MainWindow(filename = args.filename, roundWidget = args.round)
+ ui = Ui_OSD(filename = args.filename, roundWidget = args.round)
ui.show()
sys.exit(app.exec_())