X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=GUI%2Fmessage_window.py;fp=GUI%2Fmessage_window.py;h=6d9244979d40f587a94e86fcaa651d7e35ec869d;hb=d001770946053c4d60f9f9b9362f713287013079;hp=0000000000000000000000000000000000000000;hpb=3a76135cf3477fc8e8e0508ff8fd1026c21c6281;p=retroconv diff --git a/GUI/message_window.py b/GUI/message_window.py new file mode 100644 index 0000000..6d92449 --- /dev/null +++ b/GUI/message_window.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'message.ui' +# +# Created: Mon Feb 22 20:35:24 2010 +# by: PyQt4 UI code generator 4.6 +# +# WARNING! All changes made in this file will be lost! + +from PyQt4 import QtCore, QtGui + +class Ui_MessageWindow(QtGui.QMainWindow): + def __init__(self, parent): + QtGui.QMainWindow.__init__(self,parent) + self.setObjectName("Message View") + self.resize(800, 400) + self.centralwidget = QtGui.QWidget(self) + self.centralwidget.setObjectName("centralwidget") + self.sentMessageView = QtGui.QWidget(self.centralwidget) + self.sentMessageView.setGeometry(QtCore.QRect(0, 0, 800, 425)) + self.sentMessageView.setObjectName("sentMessageView") + self.verticalLayoutWidget_3 = QtGui.QWidget(self.sentMessageView) + self.verticalLayoutWidget_3.setGeometry(QtCore.QRect(0, 0, 800, 425)) + self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3") + self.verticalLayout_3 = QtGui.QVBoxLayout(self.verticalLayoutWidget_3) + self.verticalLayout_3.setSizeConstraint(QtGui.QLayout.SetMaximumSize) + self.verticalLayout_3.setObjectName("verticalLayout_3") + self.horizontalLayout_3 = QtGui.QHBoxLayout() + self.horizontalLayout_3.setObjectName("horizontalLayout_3") + self.frame = QtGui.QLabel(self.verticalLayoutWidget_3) + self.frame.setFrameShape(QtGui.QFrame.Box) + self.frame.setFrameShadow(QtGui.QFrame.Raised) + self.frame.setLineWidth(5) + self.frame.setMidLineWidth(0) + self.frame.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) + self.frame.setObjectName("frame") + self.horizontalLayout_3.addWidget(self.frame) + self.verticalLayout_4 = QtGui.QVBoxLayout() + self.verticalLayout_4.setContentsMargins(5, -1, 0, -1) + self.verticalLayout_4.setObjectName("verticalLayout_4") + self.msg_address = QtGui.QLabel(self.verticalLayoutWidget_3) + font = QtGui.QFont() + font.setPointSize(26) + self.msg_address.setFont(font) + self.msg_address.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) + self.msg_address.setObjectName("msg_address") + self.verticalLayout_4.addWidget(self.msg_address) + self.msg_date = QtGui.QLabel(self.verticalLayoutWidget_3) + self.msg_date.setFrameShape(QtGui.QFrame.StyledPanel) + self.msg_date.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) + self.msg_date.setObjectName("msg_date") + self.verticalLayout_4.addWidget(self.msg_date) + spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.verticalLayout_4.addItem(spacerItem) + self.horizontalLayout_3.addLayout(self.verticalLayout_4) + spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout_3.addItem(spacerItem1) + self.verticalLayout_3.addLayout(self.horizontalLayout_3) + self.line_3 = QtGui.QFrame(self.verticalLayoutWidget_3) + self.line_3.setFrameShadow(QtGui.QFrame.Plain) + self.line_3.setLineWidth(5) + self.line_3.setFrameShape(QtGui.QFrame.HLine) + self.line_3.setFrameShadow(QtGui.QFrame.Sunken) + self.line_3.setObjectName("line_3") + self.verticalLayout_3.addWidget(self.line_3) + self.msg_text = QtGui.QLabel(self.verticalLayoutWidget_3) + self.msg_text.setWordWrap(True) + self.msg_text.setObjectName("msg_text") + self.verticalLayout_3.addWidget(self.msg_text) + spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.verticalLayout_3.addItem(spacerItem2) + self.horizontalLayout_4 = QtGui.QHBoxLayout() + self.horizontalLayout_4.setObjectName("horizontalLayout_4") + self.msg_delete = QtGui.QPushButton(self.verticalLayoutWidget_3) + self.msg_delete.setObjectName("msg_delete") + self.horizontalLayout_4.addWidget(self.msg_delete) + self.msg_back = QtGui.QPushButton(self.verticalLayoutWidget_3) + self.msg_back.setObjectName("msg_back") + self.horizontalLayout_4.addWidget(self.msg_back) + self.verticalLayout_3.addLayout(self.horizontalLayout_4) + self.setCentralWidget(self.centralwidget) + self.menubar = QtGui.QMenuBar(self) + self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 25)) + self.menubar.setObjectName("menubar") + self.setMenuBar(self.menubar) + self.statusbar = QtGui.QStatusBar(self) + self.statusbar.setObjectName("statusbar") + self.setStatusBar(self.statusbar) + self.actionOption_1 = QtGui.QAction(self) + self.actionOption_1.setObjectName("actionOption_1") + self.actionOption_2 = QtGui.QAction(self) + self.actionOption_2.setObjectName("actionOption_2") + self.actionBlabla2 = QtGui.QAction(self) + self.actionBlabla2.setObjectName("actionBlabla2") + + self.retranslateUi() + QtCore.QMetaObject.connectSlotsByName(self) + + #self.setAttribute(QtCore.Qt.WA_Maemo5StackedWindow) + + def retranslateUi(self): + self.setWindowTitle(QtGui.QApplication.translate("self", "Retro Conversations", None, QtGui.QApplication.UnicodeUTF8)) + self.frame.setText(QtGui.QApplication.translate("self", "xxxxxx", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_address.setStyleSheet(QtGui.QApplication.translate("self", "color:rgb(106, 106, 106)", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_address.setText(QtGui.QApplication.translate("self", "TextLabel", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_date.setText(QtGui.QApplication.translate("self", "TextLabel", None, QtGui.QApplication.UnicodeUTF8)) + self.line_3.setStyleSheet(QtGui.QApplication.translate("self", "background:rgb(50, 50, 50);", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_text.setStyleSheet(QtGui.QApplication.translate("self", "margin-top:5px", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_text.setText(QtGui.QApplication.translate("self", "TextLabel", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_delete.setText(QtGui.QApplication.translate("self", "Delete", None, QtGui.QApplication.UnicodeUTF8)) + self.msg_back.setText(QtGui.QApplication.translate("self", "Back", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOption_1.setText(QtGui.QApplication.translate("self", "Option 1", None, QtGui.QApplication.UnicodeUTF8)) + self.actionOption_2.setText(QtGui.QApplication.translate("self", "Option 2", None, QtGui.QApplication.UnicodeUTF8)) + self.actionBlabla2.setText(QtGui.QApplication.translate("self", "blabla2", None, QtGui.QApplication.UnicodeUTF8)) +