git.droids-corp.org
/
fpv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
beaf3b7
)
rename Ui_MainWindow in Ui_OSD
author
Olivier Matz
<zer0@droids-corp.org>
Sun, 7 Jun 2015 16:56:29 +0000
(18:56 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Sun, 7 Jun 2015 16:56:29 +0000
(18:56 +0200)
qtosd/qtosd.py
patch
|
blob
|
history
diff --git
a/qtosd/qtosd.py
b/qtosd/qtosd.py
index
35e4e75
..
2d4583b
100644
(file)
--- a/
qtosd/qtosd.py
+++ b/
qtosd/qtosd.py
@@
-662,9
+662,9
@@
class OSDWidget(QWidget):
"""set the left text"""
self.right_txt = txt
"""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):
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)
self.ui = qtosd_ui.Ui_MainWindow()
self.ui.setupUi(self)
@@
-724,7
+724,7
@@
if __name__ == "__main__":
args = parser.parse_args()
app = QApplication(sys.argv)
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_())
ui.show()
sys.exit(app.exec_())