ecran_chatPrive.py 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'chatPrive.ui'
  3. #
  4. # Created: Mon Jun 30 17:51:04 2014
  5. # by: PyQt4 UI code generator 4.10.4
  6. #
  7. # WARNING! All changes made in this file will be lost!
  8. from PyQt4 import QtCore, QtGui
  9. try:
  10. _fromUtf8 = QtCore.QString.fromUtf8
  11. except AttributeError:
  12. def _fromUtf8(s):
  13. return s
  14. try:
  15. _encoding = QtGui.QApplication.UnicodeUTF8
  16. def _translate(context, text, disambig):
  17. return QtGui.QApplication.translate(context, text, disambig, _encoding)
  18. except AttributeError:
  19. def _translate(context, text, disambig):
  20. return QtGui.QApplication.translate(context, text, disambig)
  21. class Ui_chatPrive(object):
  22. def setupUi(self, chatPrive):
  23. chatPrive.setObjectName(_fromUtf8("chatPrive"))
  24. chatPrive.resize(334, 395)
  25. self.lstChatPrive = QtGui.QListWidget(chatPrive)
  26. self.lstChatPrive.setGeometry(QtCore.QRect(20, 30, 291, 281))
  27. self.lstChatPrive.setObjectName(_fromUtf8("lstChatPrive"))
  28. self.inSaisieChatPrive = QtGui.QLineEdit(chatPrive)
  29. self.inSaisieChatPrive.setGeometry(QtCore.QRect(20, 320, 291, 20))
  30. self.inSaisieChatPrive.setObjectName(_fromUtf8("inSaisieChatPrive"))
  31. self.inDesChatPrive = QtGui.QLineEdit(chatPrive)
  32. self.inDesChatPrive.setGeometry(QtCore.QRect(170, 360, 141, 20))
  33. self.inDesChatPrive.setObjectName(_fromUtf8("inDesChatPrive"))
  34. self.label = QtGui.QLabel(chatPrive)
  35. self.label.setGeometry(QtCore.QRect(170, 340, 101, 20))
  36. self.label.setObjectName(_fromUtf8("label"))
  37. self.envoiFichierChatPrive = QtGui.QPushButton(chatPrive)
  38. self.envoiFichierChatPrive.setGeometry(QtCore.QRect(20, 350, 121, 31))
  39. self.envoiFichierChatPrive.setObjectName(_fromUtf8("envoiFichierChatPrive"))
  40. self.lblInterlocChatPrive = QtGui.QLabel(chatPrive)
  41. self.lblInterlocChatPrive.setGeometry(QtCore.QRect(20, 10, 291, 20))
  42. font = QtGui.QFont()
  43. font.setPointSize(10)
  44. font.setBold(True)
  45. font.setWeight(75)
  46. self.lblInterlocChatPrive.setFont(font)
  47. self.lblInterlocChatPrive.setObjectName(_fromUtf8("lblInterlocChatPrive"))
  48. self.retranslateUi(chatPrive)
  49. QtCore.QMetaObject.connectSlotsByName(chatPrive)
  50. def retranslateUi(self, chatPrive):
  51. chatPrive.setWindowTitle(_translate("chatPrive", "Chat privé", None))
  52. self.label.setText(_translate("chatPrive", "Jeter les dés : ", None))
  53. self.envoiFichierChatPrive.setText(_translate("chatPrive", "Envoyer un fichier", None))
  54. self.lblInterlocChatPrive.setText(_translate("chatPrive", "Interloc", None))
  55. if __name__ == "__main__":
  56. import sys
  57. app = QtGui.QApplication(sys.argv)
  58. chatPrive = QtGui.QWidget()
  59. ui = Ui_chatPrive()
  60. ui.setupUi(chatPrive)
  61. chatPrive.show()
  62. sys.exit(app.exec_())