Created
November 9, 2011 00:23
-
-
Save anonymous/1349846 to your computer and use it in GitHub Desktop.
Übersetzung
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import os, sys | |
from PyQt4 import QtCore, QtGui | |
from rightorwrong import Ui_Dialog as askdlg | |
class MyDialog(QtGui.QDialog, askdlg): | |
def __init__(self): | |
QtGui.QDialog.__init__(self) | |
self.setupUi(self) | |
self.setWindowTitle(self.tr(u'Kontrolliere deine Antwort')) | |
if __name__ == "__main__": | |
app = QtGui.QApplication(sys.argv) | |
dlg=MyDialog() | |
dlg.show() | |
sys.exit(app.exec_()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SOURCES = beispiel.py \ | |
TRANSLATIONS = ./translation/de_DE.ts \ | |
CODECFORTR = UTF-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment