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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/UI/CompareDialog.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_CompareDialog(object):
    def setupUi(self, CompareDialog):
        CompareDialog.setObjectName("CompareDialog")
        CompareDialog.resize(QtCore.QSize(QtCore.QRect(0,0,950,600).size()).expandedTo(CompareDialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(CompareDialog)
        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(CompareDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.hboxlayout.addWidget(self.textLabel1)

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

        self.file1Button = QtGui.QPushButton(CompareDialog)
        self.file1Button.setObjectName("file1Button")
        self.hboxlayout.addWidget(self.file1Button)

        self.textLabel2 = QtGui.QLabel(CompareDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.hboxlayout.addWidget(self.textLabel2)

        self.file2Edit = QtGui.QLineEdit(CompareDialog)
        self.file2Edit.setObjectName("file2Edit")
        self.hboxlayout.addWidget(self.file2Edit)

        self.file2Button = QtGui.QPushButton(CompareDialog)
        self.file2Button.setObjectName("file2Button")
        self.hboxlayout.addWidget(self.file2Button)
        self.vboxlayout.addLayout(self.hboxlayout)

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

        self.contents_1 = QtGui.QTextEdit(CompareDialog)
        self.contents_1.setFocusPolicy(QtCore.Qt.NoFocus)
        self.contents_1.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.contents_1.setReadOnly(True)
        self.contents_1.setTabStopWidth(8)
        self.contents_1.setAcceptRichText(False)
        self.contents_1.setObjectName("contents_1")
        self.hboxlayout1.addWidget(self.contents_1)

        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setMargin(0)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        spacerItem = QtGui.QSpacerItem(20,101,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem)

        self.firstButton = QtGui.QToolButton(CompareDialog)
        self.firstButton.setEnabled(False)
        self.firstButton.setObjectName("firstButton")
        self.vboxlayout1.addWidget(self.firstButton)

        self.upButton = QtGui.QToolButton(CompareDialog)
        self.upButton.setEnabled(False)
        self.upButton.setObjectName("upButton")
        self.vboxlayout1.addWidget(self.upButton)

        self.downButton = QtGui.QToolButton(CompareDialog)
        self.downButton.setEnabled(False)
        self.downButton.setObjectName("downButton")
        self.vboxlayout1.addWidget(self.downButton)

        self.lastButton = QtGui.QToolButton(CompareDialog)
        self.lastButton.setEnabled(False)
        self.lastButton.setObjectName("lastButton")
        self.vboxlayout1.addWidget(self.lastButton)

        spacerItem1 = QtGui.QSpacerItem(20,101,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem1)
        self.hboxlayout1.addLayout(self.vboxlayout1)

        self.contents_2 = QtGui.QTextEdit(CompareDialog)
        self.contents_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.contents_2.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.contents_2.setReadOnly(True)
        self.contents_2.setTabStopWidth(8)
        self.contents_2.setAcceptRichText(False)
        self.contents_2.setObjectName("contents_2")
        self.hboxlayout1.addWidget(self.contents_2)
        self.vboxlayout.addLayout(self.hboxlayout1)

        self.synchronizeCheckBox = QtGui.QCheckBox(CompareDialog)
        self.synchronizeCheckBox.setChecked(True)
        self.synchronizeCheckBox.setObjectName("synchronizeCheckBox")
        self.vboxlayout.addWidget(self.synchronizeCheckBox)

        self.buttonBox = QtGui.QDialogButtonBox(CompareDialog)
        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(CompareDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),CompareDialog.close)
        QtCore.QMetaObject.connectSlotsByName(CompareDialog)
        CompareDialog.setTabOrder(self.file1Edit,self.file1Button)
        CompareDialog.setTabOrder(self.file1Button,self.file2Edit)
        CompareDialog.setTabOrder(self.file2Edit,self.file2Button)
        CompareDialog.setTabOrder(self.file2Button,self.synchronizeCheckBox)
        CompareDialog.setTabOrder(self.synchronizeCheckBox,self.firstButton)
        CompareDialog.setTabOrder(self.firstButton,self.upButton)
        CompareDialog.setTabOrder(self.upButton,self.downButton)
        CompareDialog.setTabOrder(self.downButton,self.lastButton)

    def retranslateUi(self, CompareDialog):
        CompareDialog.setWindowTitle(QtGui.QApplication.translate("CompareDialog", "File Comparison", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("CompareDialog", "File &1:", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Edit.setToolTip(QtGui.QApplication.translate("CompareDialog", "Enter the name of the first file", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Button.setToolTip(QtGui.QApplication.translate("CompareDialog", "Press to select the file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.file1Button.setText(QtGui.QApplication.translate("CompareDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("CompareDialog", "File &2:", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Edit.setToolTip(QtGui.QApplication.translate("CompareDialog", "Enter the name of the second file", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Button.setToolTip(QtGui.QApplication.translate("CompareDialog", "Press to select the file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.file2Button.setText(QtGui.QApplication.translate("CompareDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.firstButton.setToolTip(QtGui.QApplication.translate("CompareDialog", "Press to move to the first difference", None, QtGui.QApplication.UnicodeUTF8))
        self.upButton.setToolTip(QtGui.QApplication.translate("CompareDialog", "Press to move to the previous difference", None, QtGui.QApplication.UnicodeUTF8))
        self.downButton.setToolTip(QtGui.QApplication.translate("CompareDialog", "Press to move to the next difference", None, QtGui.QApplication.UnicodeUTF8))
        self.lastButton.setToolTip(QtGui.QApplication.translate("CompareDialog", "Press to move to the last difference", None, QtGui.QApplication.UnicodeUTF8))
        self.synchronizeCheckBox.setToolTip(QtGui.QApplication.translate("CompareDialog", "Select, if the scrollbars should be synchronized", None, QtGui.QApplication.UnicodeUTF8))
        self.synchronizeCheckBox.setText(QtGui.QApplication.translate("CompareDialog", "&Synchronize scrollbars", None, QtGui.QApplication.UnicodeUTF8))
        self.synchronizeCheckBox.setShortcut(QtGui.QApplication.translate("CompareDialog", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))



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