qwad/Qwad.pyw
Christopher Roy Bratusek 82bf0b0cb3 ensure python2 is used
2012-08-21 20:17:32 +02:00

22 lines
690 B
Python

#!/usr/bin/env python2
#-*- coding: utf-8 -*-
import sys
from PyQt4.QtGui import QApplication
from PyQt4.QtCore import QTranslator, QString, QLocale
from GUI.VenPri import MWQwad
if __name__ == "__main__":
translator = QTranslator()
translator.load(QString("i18n/Qwad_%1").arg(QLocale.system().name()))
qttranslator = QTranslator()
qttranslator.load(QString("qt_%1").arg(QLocale.system().name()))
Vapp = QApplication(sys.argv)
Vapp.setOrganizationName("ssorgatem productions")
Vapp.setApplicationName("Qwad")
Vapp.installTranslator(translator)
Vapp.installTranslator(qttranslator)
VentanaP = MWQwad()
VentanaP.show()
sys.exit(Vapp.exec_())