mirror of
https://gitlab.com/Nanolx/qwad.git
synced 2024-11-01 00:25:06 +01:00
22 lines
690 B
Python
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_())
|
|
|