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

# Form implementation generated from reading ui file 'ui/createbranch.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_createbranch(object):
    def setupUi(self, createbranch):
        createbranch.setObjectName("createbranch")
        createbranch.resize(527, 304)
        self.vboxlayout = QtGui.QVBoxLayout(createbranch)
        self.vboxlayout.setSpacing(2)
        self.vboxlayout.setMargin(4)
        self.vboxlayout.setObjectName("vboxlayout")
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label = QtGui.QLabel(createbranch)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)
        self.local_branch = QtGui.QLineEdit(createbranch)
        self.local_branch.setObjectName("local_branch")
        self.hboxlayout.addWidget(self.local_branch)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.branch_groupbox = QtGui.QGroupBox(createbranch)
        self.branch_groupbox.setObjectName("branch_groupbox")
        self.vboxlayout1 = QtGui.QVBoxLayout(self.branch_groupbox)
        self.vboxlayout1.setSpacing(2)
        self.vboxlayout1.setMargin(4)
        self.vboxlayout1.setObjectName("vboxlayout1")
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setSpacing(4)
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.label_3 = QtGui.QLabel(self.branch_groupbox)
        self.label_3.setObjectName("label_3")
        self.hboxlayout1.addWidget(self.label_3)
        self.revision = QtGui.QLineEdit(self.branch_groupbox)
        self.revision.setObjectName("revision")
        self.hboxlayout1.addWidget(self.revision)
        self.vboxlayout1.addLayout(self.hboxlayout1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.local_radio = QtGui.QRadioButton(self.branch_groupbox)
        self.local_radio.setChecked(True)
        self.local_radio.setObjectName("local_radio")
        self.hboxlayout2.addWidget(self.local_radio)
        self.remote_radio = QtGui.QRadioButton(self.branch_groupbox)
        self.remote_radio.setObjectName("remote_radio")
        self.hboxlayout2.addWidget(self.remote_radio)
        self.tag_radio = QtGui.QRadioButton(self.branch_groupbox)
        self.tag_radio.setObjectName("tag_radio")
        self.hboxlayout2.addWidget(self.tag_radio)
        spacerItem = QtGui.QSpacerItem(201, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem)
        self.vboxlayout1.addLayout(self.hboxlayout2)
        self.branch_list = QtGui.QListWidget(self.branch_groupbox)
        self.branch_list.setObjectName("branch_list")
        self.vboxlayout1.addWidget(self.branch_list)
        self.vboxlayout.addWidget(self.branch_groupbox)
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setSpacing(2)
        self.hboxlayout3.setMargin(4)
        self.hboxlayout3.setObjectName("hboxlayout3")
        self.options_groupbox = QtGui.QGroupBox(createbranch)
        self.options_groupbox.setObjectName("options_groupbox")
        self.vboxlayout2 = QtGui.QVBoxLayout(self.options_groupbox)
        self.vboxlayout2.setSpacing(2)
        self.vboxlayout2.setMargin(4)
        self.vboxlayout2.setObjectName("vboxlayout2")
        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setObjectName("hboxlayout4")
        self.label_2 = QtGui.QLabel(self.options_groupbox)
        self.label_2.setObjectName("label_2")
        self.hboxlayout4.addWidget(self.label_2)
        self.no_update_radio = QtGui.QRadioButton(self.options_groupbox)
        self.no_update_radio.setObjectName("no_update_radio")
        self.hboxlayout4.addWidget(self.no_update_radio)
        self.ffwd_only_radio = QtGui.QRadioButton(self.options_groupbox)
        self.ffwd_only_radio.setChecked(True)
        self.ffwd_only_radio.setObjectName("ffwd_only_radio")
        self.hboxlayout4.addWidget(self.ffwd_only_radio)
        self.reset_radio = QtGui.QRadioButton(self.options_groupbox)
        self.reset_radio.setObjectName("reset_radio")
        self.hboxlayout4.addWidget(self.reset_radio)
        self.vboxlayout2.addLayout(self.hboxlayout4)
        self.hboxlayout5 = QtGui.QHBoxLayout()
        self.hboxlayout5.setObjectName("hboxlayout5")
        self.vboxlayout3 = QtGui.QVBoxLayout()
        self.vboxlayout3.setObjectName("vboxlayout3")
        self.fetch_checkbox = QtGui.QCheckBox(self.options_groupbox)
        self.fetch_checkbox.setChecked(True)
        self.fetch_checkbox.setObjectName("fetch_checkbox")
        self.vboxlayout3.addWidget(self.fetch_checkbox)
        self.checkout_checkbox = QtGui.QCheckBox(self.options_groupbox)
        self.checkout_checkbox.setChecked(True)
        self.checkout_checkbox.setObjectName("checkout_checkbox")
        self.vboxlayout3.addWidget(self.checkout_checkbox)
        self.hboxlayout5.addLayout(self.vboxlayout3)
        spacerItem1 = QtGui.QSpacerItem(328, 46, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout5.addItem(spacerItem1)
        self.vboxlayout2.addLayout(self.hboxlayout5)
        self.hboxlayout3.addWidget(self.options_groupbox)
        self.hboxlayout6 = QtGui.QHBoxLayout()
        self.hboxlayout6.setSpacing(2)
        self.hboxlayout6.setMargin(4)
        self.hboxlayout6.setObjectName("hboxlayout6")
        self.create_button = QtGui.QPushButton(createbranch)
        self.create_button.setDefault(True)
        self.create_button.setObjectName("create_button")
        self.hboxlayout6.addWidget(self.create_button)
        self.cancel_button = QtGui.QPushButton(createbranch)
        self.cancel_button.setObjectName("cancel_button")
        self.hboxlayout6.addWidget(self.cancel_button)
        self.hboxlayout3.addLayout(self.hboxlayout6)
        self.vboxlayout.addLayout(self.hboxlayout3)

        self.retranslateUi(createbranch)
        QtCore.QObject.connect(self.cancel_button, QtCore.SIGNAL("pressed()"), createbranch.reject)
        QtCore.QMetaObject.connectSlotsByName(createbranch)

    def retranslateUi(self, createbranch):
        createbranch.setWindowTitle(QtGui.QApplication.translate("createbranch", "Create Branch", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("createbranch", "Branch Name", None, QtGui.QApplication.UnicodeUTF8))
        self.branch_groupbox.setTitle(QtGui.QApplication.translate("createbranch", "Starting Revision", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("createbranch", "Revision Expression:", None, QtGui.QApplication.UnicodeUTF8))
        self.local_radio.setText(QtGui.QApplication.translate("createbranch", "Local Branch", None, QtGui.QApplication.UnicodeUTF8))
        self.remote_radio.setText(QtGui.QApplication.translate("createbranch", "Tracking Branch", None, QtGui.QApplication.UnicodeUTF8))
        self.tag_radio.setText(QtGui.QApplication.translate("createbranch", "Tag", None, QtGui.QApplication.UnicodeUTF8))
        self.options_groupbox.setTitle(QtGui.QApplication.translate("createbranch", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("createbranch", "Update Existing Branch:", None, QtGui.QApplication.UnicodeUTF8))
        self.no_update_radio.setText(QtGui.QApplication.translate("createbranch", "No", None, QtGui.QApplication.UnicodeUTF8))
        self.ffwd_only_radio.setText(QtGui.QApplication.translate("createbranch", "Fast Forward Only", None, QtGui.QApplication.UnicodeUTF8))
        self.reset_radio.setText(QtGui.QApplication.translate("createbranch", "Reset", None, QtGui.QApplication.UnicodeUTF8))
        self.fetch_checkbox.setText(QtGui.QApplication.translate("createbranch", "Fetch Tracking Branch", None, QtGui.QApplication.UnicodeUTF8))
        self.checkout_checkbox.setText(QtGui.QApplication.translate("createbranch", "Checkout After Creation", None, QtGui.QApplication.UnicodeUTF8))
        self.create_button.setText(QtGui.QApplication.translate("createbranch", "Create Branch", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel_button.setText(QtGui.QApplication.translate("createbranch", "Cancel", None, QtGui.QApplication.UnicodeUTF8))


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

