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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/UI/DiffDialog.ui'
#
# Created: Sat Feb  3 15:33:31 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_DiffDialog(object):
    def setupUi(self, DiffDialog):
        DiffDialog.setObjectName("DiffDialog")
        DiffDialog.resize(QtCore.QSize(QtCore.QRect(0,0,750,600).size()).expandedTo(DiffDialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(DiffDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.textLabel1 = QtGui.QLabel(DiffDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.hboxlayout.addWidget(self.textLabel1)

        self.file1Edit = QtGui.QLineEdit(DiffDialog)
        self.file1Edit.setObjectName("file1Edit")
        self.hboxlayout.addWidget(self.file1Edit)

        self.file1Button = QtGui.QPushButton(DiffDialog)
        self.file1Button.setObjectName("file1Button")
        self.hboxlayout.addWidget(self.file1Button)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.textLabel2 = QtGui.QLabel(DiffDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.hboxlayout1.addWidget(self.textLabel2)

        self.file2Edit = QtGui.QLineEdit(DiffDialog)
        self.file2Edit.setObjectName("file2Edit")
        self.hboxlayout1.addWidget(self.file2Edit)

        self.file2Button = QtGui.QPushButton(DiffDialog)
        self.file2Button.setObjectName("file2Button")
        self.hboxlayout1.addWidget(self.file2Button)
        self.vboxlayout.addLayout(self.hboxlayout1)

        self.diffFormatGroup = QtGui.QGroupBox(DiffDialog)
        self.diffFormatGroup.setObjectName("diffFormatGroup")

        self.hboxlayout2 = QtGui.QHBoxLayout(self.diffFormatGroup)
        self.hboxlayout2.setMargin(6)
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setObjectName("hboxlayout2")

        self.unifiedRadioButton = QtGui.QRadioButton(self.diffFormatGroup)
        self.unifiedRadioButton.setChecked(True)
        self.unifiedRadioButton.setObjectName("unifiedRadioButton")
        self.hboxlayout2.addWidget(self.unifiedRadioButton)

        self.contextRadioButton = QtGui.QRadioButton(self.diffFormatGroup)
        self.contextRadioButton.setObjectName("contextRadioButton")
        self.hboxlayout2.addWidget(self.contextRadioButton)

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem)
        self.vboxlayout.addWidget(self.diffFormatGroup)

        self.contents = QtGui.QTextEdit(DiffDialog)
        self.contents.setFocusPolicy(QtCore.Qt.NoFocus)
        self.contents.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.contents.setReadOnly(True)
        self.contents.setTabStopWidth(8)
        self.contents.setAcceptRichText(False)
        self.contents.setObjectName("contents")
        self.vboxlayout.addWidget(self.contents)

        self.buttonBox = QtGui.QDialogButtonBox(DiffDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)
        self.textLabel1.setBuddy(self.file1Edit)
        self.textLabel2.setBuddy(self.file1Edit)

        self.retranslateUi(DiffDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),DiffDialog.close)
        QtCore.QMetaObject.connectSlotsByName(DiffDialog)
        DiffDialog.setTabOrder(self.file1Edit,self.file1Button)
        DiffDialog.setTabOrder(self.file1Button,self.file2Edit)
        DiffDialog.setTabOrder(self.file2Edit,self.file2Button)
        DiffDialog.setTabOrder(self.file2Button,self.unifiedRadioButton)
        DiffDialog.setTabOrder(self.unifiedRadioButton,self.contextRadioButton)

    def retranslateUi(self, DiffDialog):
        DiffDialog.setWindowTitle(QtGui.QApplication.translate("DiffDialog", "File Differences", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("DiffDialog", "File &1:", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Edit.setToolTip(QtGui.QApplication.translate("DiffDialog", "Enter the name of the first file", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Button.setToolTip(QtGui.QApplication.translate("DiffDialog", "Press to select the file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Button.setText(QtGui.QApplication.translate("DiffDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("DiffDialog", "File &2:", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Edit.setToolTip(QtGui.QApplication.translate("DiffDialog", "Enter the name of the second file", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Button.setToolTip(QtGui.QApplication.translate("DiffDialog", "Press to select the file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Button.setText(QtGui.QApplication.translate("DiffDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.unifiedRadioButton.setToolTip(QtGui.QApplication.translate("DiffDialog", "Select to generate a unified diff", None, QtGui.QApplication.UnicodeUTF8))
        self.unifiedRadioButton.setText(QtGui.QApplication.translate("DiffDialog", "&Unified Diff", None, QtGui.QApplication.UnicodeUTF8))
        self.unifiedRadioButton.setShortcut(QtGui.QApplication.translate("DiffDialog", "Alt+U", None, QtGui.QApplication.UnicodeUTF8))
        self.contextRadioButton.setToolTip(QtGui.QApplication.translate("DiffDialog", "Select to generate a context diff", None, QtGui.QApplication.UnicodeUTF8))
        self.contextRadioButton.setText(QtGui.QApplication.translate("DiffDialog", "Co&ntext Diff", None, QtGui.QApplication.UnicodeUTF8))
        self.contextRadioButton.setShortcut(QtGui.QApplication.translate("DiffDialog", "Alt+N", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    DiffDialog = QtGui.QWidget()
    ui = Ui_DiffDialog()
    ui.setupUi(DiffDialog)
    DiffDialog.show()
    sys.exit(app.exec_())
