# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created: Thu Mar 4 13:22:17 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_MainWindow(QtGui.QMainWindow): def __init__(self): QtGui.QMainWindow.__init__(self) self.setObjectName("self") self.resize(800, 400) self.centralwidget = QtGui.QWidget(self) self.centralwidget.setObjectName("centralwidget") self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget) self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 801, 371)) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget) self.verticalLayout.setObjectName("verticalLayout") self.inbox_button = QtGui.QPushButton(self.verticalLayoutWidget) self.inbox_button.setObjectName("inbox_button") self.verticalLayout.addWidget(self.inbox_button) self.sent_button = QtGui.QPushButton(self.verticalLayoutWidget) self.sent_button.setObjectName("sent_button") self.verticalLayout.addWidget(self.sent_button) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(self) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 25)) self.menubar.setObjectName("menubar") #self.menuImport = QtGui.QMenu(self.menubar) #self.menuImport.setObjectName("menuImport") self.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(self) self.statusbar.setObjectName("statusbar") self.setStatusBar(self.statusbar) self.actionImport = QtGui.QAction(self) self.actionImport.setVisible(True) self.actionImport.setObjectName("actionImport") self.actionImport_Sent = QtGui.QAction(self) self.actionImport_Sent.setObjectName("actionImport_Sent") self.menubar.addAction(self.actionImport) self.menubar.addAction(self.actionImport_Sent) #self.menubar.addAction(self.menuImport.menuAction()) self.retranslateUi() QtCore.QMetaObject.connectSlotsByName(self) def retranslateUi(self): self.setWindowTitle(QtGui.QApplication.translate("self", "self", None, QtGui.QApplication.UnicodeUTF8)) self.inbox_button.setText(QtGui.QApplication.translate("self", "Inbox", None, QtGui.QApplication.UnicodeUTF8)) self.sent_button.setText(QtGui.QApplication.translate("self", "Sent", None, QtGui.QApplication.UnicodeUTF8)) self.menuImport.setTitle(QtGui.QApplication.translate("self", "Import", None, QtGui.QApplication.UnicodeUTF8)) self.actionImport.setText(QtGui.QApplication.translate("self", "Import Inbox", None, QtGui.QApplication.UnicodeUTF8)) self.actionImport_Sent.setText(QtGui.QApplication.translate("self", "Import Sent", None, QtGui.QApplication.UnicodeUTF8))