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

# Form implementation generated from reading ui file 'ui/options.ui'
#
# Created: Sat Aug 21 13:37:47 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_options(object):
    def setupUi(self, options):
        options.setObjectName("options")
        options.setWindowModality(QtCore.Qt.ApplicationModal)
        options.resize(497, 413)
        self.gridLayout_4 = QtGui.QGridLayout(options)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setContentsMargins(8, 4, 8, 4)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtGui.QLabel(options)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.global_cola_fontui_size = QtGui.QSpinBox(options)
        self.global_cola_fontui_size.setMinimum(8)
        self.global_cola_fontui_size.setProperty("value", 12)
        self.global_cola_fontui_size.setObjectName("global_cola_fontui_size")
        self.gridLayout.addWidget(self.global_cola_fontui_size, 0, 1, 1, 1)
        self.global_cola_fontui = QtGui.QFontComboBox(options)
        font = QtGui.QFont()
        font.setFamily("Helvetica")
        self.global_cola_fontui.setCurrentFont(font)
        self.global_cola_fontui.setObjectName("global_cola_fontui")
        self.gridLayout.addWidget(self.global_cola_fontui, 0, 2, 1, 2)
        self.label_3 = QtGui.QLabel(options)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.global_cola_fontdiff_size = QtGui.QSpinBox(options)
        self.global_cola_fontdiff_size.setMinimum(8)
        self.global_cola_fontdiff_size.setProperty("value", 12)
        self.global_cola_fontdiff_size.setObjectName("global_cola_fontdiff_size")
        self.gridLayout.addWidget(self.global_cola_fontdiff_size, 1, 1, 1, 1)
        self.global_cola_fontdiff = QtGui.QFontComboBox(options)
        self.global_cola_fontdiff.setFontFilters(QtGui.QFontComboBox.MonospacedFonts)
        font = QtGui.QFont()
        font.setFamily("Bitstream Vera Sans Mono")
        self.global_cola_fontdiff.setCurrentFont(font)
        self.global_cola_fontdiff.setObjectName("global_cola_fontdiff")
        self.gridLayout.addWidget(self.global_cola_fontdiff, 1, 2, 1, 2)
        self.label_14 = QtGui.QLabel(options)
        self.label_14.setObjectName("label_14")
        self.gridLayout.addWidget(self.label_14, 2, 0, 1, 1)
        self.global_cola_tabwidth = QtGui.QSpinBox(options)
        self.global_cola_tabwidth.setWrapping(True)
        self.global_cola_tabwidth.setMaximum(42)
        self.global_cola_tabwidth.setProperty("value", 8)
        self.global_cola_tabwidth.setObjectName("global_cola_tabwidth")
        self.gridLayout.addWidget(self.global_cola_tabwidth, 2, 1, 1, 1)
        self.label_13 = QtGui.QLabel(options)
        self.label_13.setObjectName("label_13")
        self.gridLayout.addWidget(self.label_13, 3, 0, 1, 1)
        self.global_gui_editor = QtGui.QLineEdit(options)
        self.global_gui_editor.setText("")
        self.global_gui_editor.setObjectName("global_gui_editor")
        self.gridLayout.addWidget(self.global_gui_editor, 3, 1, 1, 1)
        self.label_12 = QtGui.QLabel(options)
        self.label_12.setObjectName("label_12")
        self.gridLayout.addWidget(self.label_12, 3, 2, 1, 1)
        self.global_diff_tool = QtGui.QLineEdit(options)
        self.global_diff_tool.setText("")
        self.global_diff_tool.setObjectName("global_diff_tool")
        self.gridLayout.addWidget(self.global_diff_tool, 3, 3, 1, 1)
        self.label_11 = QtGui.QLabel(options)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 4, 0, 1, 1)
        self.global_gui_historybrowser = QtGui.QLineEdit(options)
        self.global_gui_historybrowser.setText("")
        self.global_gui_historybrowser.setObjectName("global_gui_historybrowser")
        self.gridLayout.addWidget(self.global_gui_historybrowser, 4, 1, 1, 1)
        self.label_15 = QtGui.QLabel(options)
        self.label_15.setObjectName("label_15")
        self.gridLayout.addWidget(self.label_15, 4, 2, 1, 1)
        self.global_merge_tool = QtGui.QLineEdit(options)
        self.global_merge_tool.setText("")
        self.global_merge_tool.setObjectName("global_merge_tool")
        self.gridLayout.addWidget(self.global_merge_tool, 4, 3, 1, 1)
        self.global_cola_savewindowsettings = QtGui.QCheckBox(options)
        self.global_cola_savewindowsettings.setObjectName("global_cola_savewindowsettings")
        self.gridLayout.addWidget(self.global_cola_savewindowsettings, 2, 2, 1, 1)
        self.global_merge_keepbackup = QtGui.QCheckBox(options)
        self.global_merge_keepbackup.setObjectName("global_merge_keepbackup")
        self.gridLayout.addWidget(self.global_merge_keepbackup, 2, 3, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.local_groupbox = QtGui.QGroupBox(options)
        self.local_groupbox.setObjectName("local_groupbox")
        self.gridLayout_2 = QtGui.QGridLayout(self.local_groupbox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_4 = QtGui.QLabel(self.local_groupbox)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.local_user_name = QtGui.QLineEdit(self.local_groupbox)
        self.local_user_name.setObjectName("local_user_name")
        self.gridLayout_2.addWidget(self.local_user_name, 0, 1, 1, 2)
        self.label_5 = QtGui.QLabel(self.local_groupbox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 1, 0, 1, 1)
        self.local_user_email = QtGui.QLineEdit(self.local_groupbox)
        self.local_user_email.setObjectName("local_user_email")
        self.gridLayout_2.addWidget(self.local_user_email, 1, 1, 1, 2)
        self.label_6 = QtGui.QLabel(self.local_groupbox)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 2, 0, 1, 2)
        self.local_merge_verbosity = QtGui.QSpinBox(self.local_groupbox)
        self.local_merge_verbosity.setMinimum(0)
        self.local_merge_verbosity.setMaximum(5)
        self.local_merge_verbosity.setProperty("value", 5)
        self.local_merge_verbosity.setObjectName("local_merge_verbosity")
        self.gridLayout_2.addWidget(self.local_merge_verbosity, 2, 2, 1, 1)
        self.label = QtGui.QLabel(self.local_groupbox)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 3, 0, 1, 2)
        self.local_gui_diffcontext = QtGui.QSpinBox(self.local_groupbox)
        self.local_gui_diffcontext.setMinimum(2)
        self.local_gui_diffcontext.setProperty("value", 5)
        self.local_gui_diffcontext.setObjectName("local_gui_diffcontext")
        self.gridLayout_2.addWidget(self.local_gui_diffcontext, 3, 2, 1, 1)
        self.local_merge_summary = QtGui.QCheckBox(self.local_groupbox)
        self.local_merge_summary.setObjectName("local_merge_summary")
        self.gridLayout_2.addWidget(self.local_merge_summary, 4, 0, 1, 2)
        self.local_merge_diffstat = QtGui.QCheckBox(self.local_groupbox)
        self.local_merge_diffstat.setObjectName("local_merge_diffstat")
        self.gridLayout_2.addWidget(self.local_merge_diffstat, 5, 0, 1, 2)
        self.horizontalLayout.addWidget(self.local_groupbox)
        self.globalGroupBox = QtGui.QGroupBox(options)
        self.globalGroupBox.setObjectName("globalGroupBox")
        self.gridLayout_3 = QtGui.QGridLayout(self.globalGroupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_7 = QtGui.QLabel(self.globalGroupBox)
        self.label_7.setObjectName("label_7")
        self.gridLayout_3.addWidget(self.label_7, 0, 0, 1, 1)
        self.global_user_name = QtGui.QLineEdit(self.globalGroupBox)
        self.global_user_name.setObjectName("global_user_name")
        self.gridLayout_3.addWidget(self.global_user_name, 0, 1, 1, 2)
        self.label_8 = QtGui.QLabel(self.globalGroupBox)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 1, 0, 1, 1)
        self.global_user_email = QtGui.QLineEdit(self.globalGroupBox)
        self.global_user_email.setObjectName("global_user_email")
        self.gridLayout_3.addWidget(self.global_user_email, 1, 1, 1, 2)
        self.label_10 = QtGui.QLabel(self.globalGroupBox)
        self.label_10.setObjectName("label_10")
        self.gridLayout_3.addWidget(self.label_10, 2, 0, 1, 2)
        self.global_merge_verbosity = QtGui.QSpinBox(self.globalGroupBox)
        self.global_merge_verbosity.setMinimum(0)
        self.global_merge_verbosity.setMaximum(5)
        self.global_merge_verbosity.setProperty("value", 5)
        self.global_merge_verbosity.setObjectName("global_merge_verbosity")
        self.gridLayout_3.addWidget(self.global_merge_verbosity, 2, 2, 1, 1)
        self.label_9 = QtGui.QLabel(self.globalGroupBox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 3, 0, 1, 2)
        self.global_gui_diffcontext = QtGui.QSpinBox(self.globalGroupBox)
        self.global_gui_diffcontext.setMinimum(2)
        self.global_gui_diffcontext.setProperty("value", 5)
        self.global_gui_diffcontext.setObjectName("global_gui_diffcontext")
        self.gridLayout_3.addWidget(self.global_gui_diffcontext, 3, 2, 1, 1)
        self.global_merge_summary = QtGui.QCheckBox(self.globalGroupBox)
        self.global_merge_summary.setObjectName("global_merge_summary")
        self.gridLayout_3.addWidget(self.global_merge_summary, 4, 0, 1, 2)
        self.global_merge_diffstat = QtGui.QCheckBox(self.globalGroupBox)
        self.global_merge_diffstat.setObjectName("global_merge_diffstat")
        self.gridLayout_3.addWidget(self.global_merge_diffstat, 5, 0, 1, 2)
        self.horizontalLayout.addWidget(self.globalGroupBox)
        self.gridLayout_4.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        spacerItem = QtGui.QSpacerItem(318, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem)
        self.save_button = QtGui.QPushButton(options)
        self.save_button.setDefault(True)
        self.save_button.setObjectName("save_button")
        self.horizontalLayout_9.addWidget(self.save_button)
        self.cancel_button = QtGui.QPushButton(options)
        self.cancel_button.setObjectName("cancel_button")
        self.horizontalLayout_9.addWidget(self.cancel_button)
        self.gridLayout_4.addLayout(self.horizontalLayout_9, 2, 0, 1, 1)

        self.retranslateUi(options)
        QtCore.QObject.connect(self.cancel_button, QtCore.SIGNAL("released()"), options.reject)
        QtCore.QMetaObject.connectSlotsByName(options)

    def retranslateUi(self, options):
        options.setWindowTitle(QtGui.QApplication.translate("options", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("options", "Main Font", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("options", "Diff/Console Font", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("options", "Tab Width", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("options", "Editor", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("options", "Diff Tool", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("options", "History Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(QtGui.QApplication.translate("options", "Merge Tool", None, QtGui.QApplication.UnicodeUTF8))
        self.global_cola_savewindowsettings.setText(QtGui.QApplication.translate("options", "Save GUI Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.global_merge_keepbackup.setText(QtGui.QApplication.translate("options", "Save *.orig Merge Backups", None, QtGui.QApplication.UnicodeUTF8))
        self.local_groupbox.setTitle(QtGui.QApplication.translate("options", "Local Repository", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("options", "User Name", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("options", "Email Address", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("options", "Merge Verbosity", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("options", "Number of Diff Context Lines", None, QtGui.QApplication.UnicodeUTF8))
        self.local_merge_summary.setText(QtGui.QApplication.translate("options", "Summarize Merge Commits", None, QtGui.QApplication.UnicodeUTF8))
        self.local_merge_diffstat.setText(QtGui.QApplication.translate("options", "Show Diffstat After Merge", None, QtGui.QApplication.UnicodeUTF8))
        self.globalGroupBox.setTitle(QtGui.QApplication.translate("options", "Global (All Repositories)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("options", "User Name", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("options", "Email Address", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("options", "Merge Verbosity", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("options", "Number of Diff Context Lines", None, QtGui.QApplication.UnicodeUTF8))
        self.global_merge_summary.setText(QtGui.QApplication.translate("options", "Summarize Merge Commits", None, QtGui.QApplication.UnicodeUTF8))
        self.global_merge_diffstat.setText(QtGui.QApplication.translate("options", "Show Diffstat After Merge", None, QtGui.QApplication.UnicodeUTF8))
        self.save_button.setText(QtGui.QApplication.translate("options", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel_button.setText(QtGui.QApplication.translate("options", "Cancel", None, QtGui.QApplication.UnicodeUTF8))


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

