| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- # -*- coding: utf-8 -*-
- # Form implementation generated from reading ui file 'panneauChapitre.ui'
- #
- # Created: Thu Oct 08 12:14:08 2015
- # 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_ch_panneau(object):
- def setupUi(self, ch_panneau):
- ch_panneau.setObjectName(_fromUtf8("ch_panneau"))
- ch_panneau.resize(386, 199)
- ch_panneau.setFrameShape(QtGui.QFrame.StyledPanel)
- ch_panneau.setFrameShadow(QtGui.QFrame.Raised)
- self.ch_presentation = DmTextEdit(ch_panneau)
- self.ch_presentation.setGeometry(QtCore.QRect(30, 90, 321, 71))
- palette = QtGui.QPalette()
- brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
- brush.setStyle(QtCore.Qt.SolidPattern)
- palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
- brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
- brush.setStyle(QtCore.Qt.SolidPattern)
- palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
- brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
- brush.setStyle(QtCore.Qt.SolidPattern)
- palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
- self.ch_presentation.setPalette(palette)
- self.ch_presentation.setObjectName(_fromUtf8("ch_presentation"))
- self.ch_num = DmLabel(ch_panneau)
- self.ch_num.setGeometry(QtCore.QRect(20, 10, 141, 21))
- font = QtGui.QFont()
- font.setPointSize(9)
- self.ch_num.setFont(font)
- self.ch_num.setObjectName(_fromUtf8("ch_num"))
- self.label_4 = QtGui.QLabel(ch_panneau)
- self.label_4.setGeometry(QtCore.QRect(30, 70, 91, 21))
- self.label_4.setObjectName(_fromUtf8("label_4"))
- self.ch_nom = DmLineEdit(ch_panneau)
- self.ch_nom.setGeometry(QtCore.QRect(70, 40, 281, 21))
- palette = QtGui.QPalette()
- brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
- brush.setStyle(QtCore.Qt.SolidPattern)
- palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
- brush = QtGui.QBrush(QtGui.QColor(249, 249, 249))
- brush.setStyle(QtCore.Qt.SolidPattern)
- palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
- brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
- brush.setStyle(QtCore.Qt.SolidPattern)
- palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
- self.ch_nom.setPalette(palette)
- self.ch_nom.setObjectName(_fromUtf8("ch_nom"))
- self.label_2 = QtGui.QLabel(ch_panneau)
- self.label_2.setGeometry(QtCore.QRect(30, 40, 41, 21))
- self.label_2.setObjectName(_fromUtf8("label_2"))
- self.retranslateUi(ch_panneau)
- QtCore.QMetaObject.connectSlotsByName(ch_panneau)
- def retranslateUi(self, ch_panneau):
- ch_panneau.setWindowTitle(_translate("ch_panneau", "Frame", None))
- self.ch_num.setText(_translate("ch_panneau", "Chapitre 1", None))
- self.label_4.setText(_translate("ch_panneau", "Présentation :", None))
- self.label_2.setText(_translate("ch_panneau", "Titre :", None))
- from dm import DmTextEdit, DmLineEdit, DmLabel
- if __name__ == "__main__":
- import sys
- app = QtGui.QApplication(sys.argv)
- ch_panneau = QtGui.QFrame()
- ui = Ui_ch_panneau()
- ui.setupUi(ch_panneau)
- ch_panneau.show()
- sys.exit(app.exec_())
|