# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'chatPrive.ui' # # Created: Mon Jun 30 17:51:04 2014 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): return s try: _encoding = QtGui.QApplication.UnicodeUTF8 def _translate(context, text, disambig): return QtGui.QApplication.translate(context, text, disambig, _encoding) except AttributeError: def _translate(context, text, disambig): return QtGui.QApplication.translate(context, text, disambig) class Ui_chatPrive(object): def setupUi(self, chatPrive): chatPrive.setObjectName(_fromUtf8("chatPrive")) chatPrive.resize(334, 395) self.lstChatPrive = QtGui.QListWidget(chatPrive) self.lstChatPrive.setGeometry(QtCore.QRect(20, 30, 291, 281)) self.lstChatPrive.setObjectName(_fromUtf8("lstChatPrive")) self.inSaisieChatPrive = QtGui.QLineEdit(chatPrive) self.inSaisieChatPrive.setGeometry(QtCore.QRect(20, 320, 291, 20)) self.inSaisieChatPrive.setObjectName(_fromUtf8("inSaisieChatPrive")) self.inDesChatPrive = QtGui.QLineEdit(chatPrive) self.inDesChatPrive.setGeometry(QtCore.QRect(170, 360, 141, 20)) self.inDesChatPrive.setObjectName(_fromUtf8("inDesChatPrive")) self.label = QtGui.QLabel(chatPrive) self.label.setGeometry(QtCore.QRect(170, 340, 101, 20)) self.label.setObjectName(_fromUtf8("label")) self.envoiFichierChatPrive = QtGui.QPushButton(chatPrive) self.envoiFichierChatPrive.setGeometry(QtCore.QRect(20, 350, 121, 31)) self.envoiFichierChatPrive.setObjectName(_fromUtf8("envoiFichierChatPrive")) self.lblInterlocChatPrive = QtGui.QLabel(chatPrive) self.lblInterlocChatPrive.setGeometry(QtCore.QRect(20, 10, 291, 20)) font = QtGui.QFont() font.setPointSize(10) font.setBold(True) font.setWeight(75) self.lblInterlocChatPrive.setFont(font) self.lblInterlocChatPrive.setObjectName(_fromUtf8("lblInterlocChatPrive")) self.retranslateUi(chatPrive) QtCore.QMetaObject.connectSlotsByName(chatPrive) def retranslateUi(self, chatPrive): chatPrive.setWindowTitle(_translate("chatPrive", "Chat privé", None)) self.label.setText(_translate("chatPrive", "Jeter les dés : ", None)) self.envoiFichierChatPrive.setText(_translate("chatPrive", "Envoyer un fichier", None)) self.lblInterlocChatPrive.setText(_translate("chatPrive", "Interloc", None)) if __name__ == "__main__": import sys app = QtGui.QApplication(sys.argv) chatPrive = QtGui.QWidget() ui = Ui_chatPrive() ui.setupUi(chatPrive) chatPrive.show() sys.exit(app.exec_())