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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_3/eric4/QScintilla/ShellHistoryDialog.ui'
#
# Created: Mon Oct  6 15:31:25 2008
#      by: PyQt4 UI code generator 4.4.4-snapshot-20080928
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ShellHistoryDialog(object):
    def setupUi(self, ShellHistoryDialog):
        ShellHistoryDialog.setObjectName("ShellHistoryDialog")
        ShellHistoryDialog.resize(540, 506)
        ShellHistoryDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ShellHistoryDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.historyList = QtGui.QListWidget(ShellHistoryDialog)
        font = QtGui.QFont()
        font.setFamily("Monospace")
        self.historyList.setFont(font)
        self.historyList.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.historyList.setAlternatingRowColors(True)
        self.historyList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.historyList.setWordWrap(True)
        self.historyList.setObjectName("historyList")
        self.gridLayout.addWidget(self.historyList, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.deleteButton = QtGui.QPushButton(ShellHistoryDialog)
        self.deleteButton.setEnabled(False)
        self.deleteButton.setObjectName("deleteButton")
        self.verticalLayout.addWidget(self.deleteButton)
        self.copyButton = QtGui.QPushButton(ShellHistoryDialog)
        self.copyButton.setEnabled(False)
        self.copyButton.setObjectName("copyButton")
        self.verticalLayout.addWidget(self.copyButton)
        self.executeButton = QtGui.QPushButton(ShellHistoryDialog)
        self.executeButton.setEnabled(False)
        self.executeButton.setObjectName("executeButton")
        self.verticalLayout.addWidget(self.executeButton)
        self.reloadButton = QtGui.QPushButton(ShellHistoryDialog)
        self.reloadButton.setObjectName("reloadButton")
        self.verticalLayout.addWidget(self.reloadButton)
        spacerItem = QtGui.QSpacerItem(72, 208, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ShellHistoryDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2)

        self.retranslateUi(ShellHistoryDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), ShellHistoryDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), ShellHistoryDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ShellHistoryDialog)
        ShellHistoryDialog.setTabOrder(self.historyList, self.deleteButton)
        ShellHistoryDialog.setTabOrder(self.deleteButton, self.copyButton)
        ShellHistoryDialog.setTabOrder(self.copyButton, self.executeButton)
        ShellHistoryDialog.setTabOrder(self.executeButton, self.reloadButton)
        ShellHistoryDialog.setTabOrder(self.reloadButton, self.buttonBox)

    def retranslateUi(self, ShellHistoryDialog):
        ShellHistoryDialog.setWindowTitle(QtGui.QApplication.translate("ShellHistoryDialog", "Shell History", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setToolTip(QtGui.QApplication.translate("ShellHistoryDialog", "Delete the selected entries", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("ShellHistoryDialog", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.copyButton.setToolTip(QtGui.QApplication.translate("ShellHistoryDialog", "Copy the selected entries to the current editor", None, QtGui.QApplication.UnicodeUTF8))
        self.copyButton.setText(QtGui.QApplication.translate("ShellHistoryDialog", "C&opy", None, QtGui.QApplication.UnicodeUTF8))
        self.executeButton.setToolTip(QtGui.QApplication.translate("ShellHistoryDialog", "Execute the selected entries", None, QtGui.QApplication.UnicodeUTF8))
        self.executeButton.setText(QtGui.QApplication.translate("ShellHistoryDialog", "&Execute", None, QtGui.QApplication.UnicodeUTF8))
        self.reloadButton.setToolTip(QtGui.QApplication.translate("ShellHistoryDialog", "Reload the history", None, QtGui.QApplication.UnicodeUTF8))
        self.reloadButton.setText(QtGui.QApplication.translate("ShellHistoryDialog", "&Reload", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    ShellHistoryDialog = QtGui.QDialog()
    ui = Ui_ShellHistoryDialog()
    ui.setupUi(ShellHistoryDialog)
    ShellHistoryDialog.show()
    sys.exit(app.exec_())

