2012-08-21 20:17:32 +02:00
|
|
|
#!/usr/bin/env python2
|
2012-08-21 19:28:14 +02:00
|
|
|
#-*- 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_())
|
|
|
|
|