1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
# -*- coding: utf-8 *
# Form implementation generated from reading ui file 'form1.ui'
#
# Created: mer. 11. janv. 04:27:20 2006
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
import sys
from qt import *
class Form1(QWidget):
def __init__(self,parent = None,name = None,fl = 0):
QWidget.__init__(self,parent,name,fl)
if not name:
self.setName("Form1")
self.pushButton1 = QPushButton(self,"pushButton1")
self.pushButton1.setGeometry(QRect(120,160,371,161))
self.languageChange()
self.resize(QSize(600,480).expandedTo(self.minimumSizeHint()))
self.clearWState(Qt.WState_Polished)
def languageChange(self):
self.setCaption(self.__tr("Form1"))
self.pushButton1.setText(self.__tr("pushButton1"))
def __tr(self,s,c = None):
return qApp.translate("Form1",s,c) |
Partager