# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main_window.ui'
#
# Created by: PyQt4 UI code generator 4.11.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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(608, 609)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.backendBox = QtGui.QComboBox(self.centralwidget)
        self.backendBox.setEditable(False)
        self.backendBox.setObjectName(_fromUtf8("backendBox"))
        self.horizontalLayout_2.addWidget(self.backendBox)
        self.idEdit = QtGui.QLineEdit(self.centralwidget)
        self.idEdit.setObjectName(_fromUtf8("idEdit"))
        self.horizontalLayout_2.addWidget(self.idEdit)
        self.loadButton = QtGui.QPushButton(self.centralwidget)
        self.loadButton.setObjectName(_fromUtf8("loadButton"))
        self.horizontalLayout_2.addWidget(self.loadButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.contentEdit = QtGui.QPlainTextEdit(self.tab)
        self.contentEdit.setReadOnly(True)
        self.contentEdit.setObjectName(_fromUtf8("contentEdit"))
        self.verticalLayout_2.addWidget(self.contentEdit)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab_2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.previewEdit = QtGui.QTextEdit(self.tab_2)
        self.previewEdit.setReadOnly(True)
        self.previewEdit.setObjectName(_fromUtf8("previewEdit"))
        self.verticalLayout_3.addWidget(self.previewEdit)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.historyTable = QtGui.QTableWidget(self.tab_3)
        self.historyTable.setObjectName(_fromUtf8("historyTable"))
        self.historyTable.setColumnCount(4)
        self.historyTable.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.historyTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.historyTable.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.historyTable.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.historyTable.setHorizontalHeaderItem(3, item)
        self.verticalLayout_4.addWidget(self.historyTable)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.nbRevisionsLabel = QtGui.QLabel(self.tab_3)
        self.nbRevisionsLabel.setObjectName(_fromUtf8("nbRevisionsLabel"))
        self.horizontalLayout.addWidget(self.nbRevisionsLabel)
        self.nbRevBox = QtGui.QSpinBox(self.tab_3)
        self.nbRevBox.setProperty("value", 10)
        self.nbRevBox.setObjectName(_fromUtf8("nbRevBox"))
        self.horizontalLayout.addWidget(self.nbRevBox)
        self.loadHistoryButton = QtGui.QPushButton(self.tab_3)
        self.loadHistoryButton.setObjectName(_fromUtf8("loadHistoryButton"))
        self.horizontalLayout.addWidget(self.loadHistoryButton)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.descriptionEdit = QtGui.QLineEdit(self.centralwidget)
        self.descriptionEdit.setText(_fromUtf8(""))
        self.descriptionEdit.setObjectName(_fromUtf8("descriptionEdit"))
        self.horizontalLayout_3.addWidget(self.descriptionEdit)
        self.minorBox = QtGui.QCheckBox(self.centralwidget)
        self.minorBox.setObjectName(_fromUtf8("minorBox"))
        self.horizontalLayout_3.addWidget(self.minorBox)
        self.saveButton = QtGui.QPushButton(self.centralwidget)
        self.saveButton.setEnabled(False)
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.horizontalLayout_3.addWidget(self.saveButton)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 608, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        self.actionBackends = QtGui.QAction(MainWindow)
        self.actionBackends.setObjectName(_fromUtf8("actionBackends"))
        self.menuFile.addAction(self.actionBackends)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExit)
        self.menubar.addAction(self.menuFile.menuAction())
        self.toolBar.addAction(self.actionBackends)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "QWebcontentedit", None))
        self.loadButton.setText(_translate("MainWindow", "Load", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Edit", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Preview", None))
        item = self.historyTable.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "New Column", None))
        item = self.historyTable.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Time", None))
        item = self.historyTable.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "Author", None))
        item = self.historyTable.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "Summary", None))
        self.nbRevisionsLabel.setText(_translate("MainWindow", "Number of revisions", None))
        self.loadHistoryButton.setText(_translate("MainWindow", "Reload", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "History", None))
        self.minorBox.setText(_translate("MainWindow", "Minor edit", None))
        self.saveButton.setText(_translate("MainWindow", "No changes", None))
        self.menuFile.setTitle(_translate("MainWindow", "File", None))
        self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
        self.actionExit.setText(_translate("MainWindow", "Exit", None))
        self.actionBackends.setText(_translate("MainWindow", "Backends", None))

