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

# Form implementation generated from reading ui file 'ui/main.ui'
#
# Created: Sat Aug 21 13:37:53 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_main(object):
    def setupUi(self, main):
        main.setObjectName("main")
        main.resize(684, 357)
        main.setDockOptions(QtGui.QMainWindow.AllowNestedDocks|QtGui.QMainWindow.AllowTabbedDocks|QtGui.QMainWindow.AnimatedDocks|QtGui.QMainWindow.ForceTabbedDocks)
        self.centralwidget = QtGui.QWidget(main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setContentsMargins(0, 0, 6, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.splitter = QtGui.QSplitter(self.centralwidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setHandleWidth(5)
        self.splitter.setObjectName("splitter")
        self.tabwidget = QtGui.QTabWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabwidget.sizePolicy().hasHeightForWidth())
        self.tabwidget.setSizePolicy(sizePolicy)
        self.tabwidget.setObjectName("tabwidget")
        self.diffwidget = QtGui.QWidget()
        self.diffwidget.setObjectName("diffwidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.diffwidget)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setContentsMargins(4, 2, 4, 4)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.display_text = QtGui.QTextEdit(self.diffwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.display_text.sizePolicy().hasHeightForWidth())
        self.display_text.setSizePolicy(sizePolicy)
        self.display_text.setMinimumSize(QtCore.QSize(1, 1))
        self.display_text.setTabChangesFocus(True)
        self.display_text.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.display_text.setReadOnly(True)
        self.display_text.setAcceptRichText(False)
        self.display_text.setCursorWidth(2)
        self.display_text.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.display_text.setObjectName("display_text")
        self.verticalLayout_2.addWidget(self.display_text)
        self.tabwidget.addTab(self.diffwidget, "")
        self.commitwidget = QtGui.QWidget()
        self.commitwidget.setObjectName("commitwidget")
        self.horizontalLayout = QtGui.QHBoxLayout(self.commitwidget)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setContentsMargins(4, 2, 4, 4)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.widget_4 = QtGui.QWidget(self.commitwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget_4.sizePolicy().hasHeightForWidth())
        self.widget_4.setSizePolicy(sizePolicy)
        self.widget_4.setMinimumSize(QtCore.QSize(0, 10))
        self.widget_4.setObjectName("widget_4")
        self.vboxlayout = QtGui.QVBoxLayout(self.widget_4)
        self.vboxlayout.setSpacing(3)
        self.vboxlayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.vboxlayout.setMargin(0)
        self.vboxlayout.setObjectName("vboxlayout")
        self.rescan_button = QtGui.QPushButton(self.widget_4)
        self.rescan_button.setObjectName("rescan_button")
        self.vboxlayout.addWidget(self.rescan_button)
        self.stage_button = QtGui.QPushButton(self.widget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stage_button.sizePolicy().hasHeightForWidth())
        self.stage_button.setSizePolicy(sizePolicy)
        self.stage_button.setMinimumSize(QtCore.QSize(0, 22))
        self.stage_button.setFlat(False)
        self.stage_button.setObjectName("stage_button")
        self.vboxlayout.addWidget(self.stage_button)
        self.signoff_button = QtGui.QPushButton(self.widget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.signoff_button.sizePolicy().hasHeightForWidth())
        self.signoff_button.setSizePolicy(sizePolicy)
        self.signoff_button.setMinimumSize(QtCore.QSize(0, 22))
        self.signoff_button.setObjectName("signoff_button")
        self.vboxlayout.addWidget(self.signoff_button)
        self.commit_button = QtGui.QPushButton(self.widget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.commit_button.sizePolicy().hasHeightForWidth())
        self.commit_button.setSizePolicy(sizePolicy)
        self.commit_button.setMinimumSize(QtCore.QSize(0, 22))
        self.commit_button.setObjectName("commit_button")
        self.vboxlayout.addWidget(self.commit_button)
        self.fetch_button = QtGui.QPushButton(self.widget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fetch_button.sizePolicy().hasHeightForWidth())
        self.fetch_button.setSizePolicy(sizePolicy)
        self.fetch_button.setMinimumSize(QtCore.QSize(0, 22))
        self.fetch_button.setObjectName("fetch_button")
        self.vboxlayout.addWidget(self.fetch_button)
        self.push_button = QtGui.QPushButton(self.widget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.push_button.sizePolicy().hasHeightForWidth())
        self.push_button.setSizePolicy(sizePolicy)
        self.push_button.setMinimumSize(QtCore.QSize(0, 22))
        self.push_button.setObjectName("push_button")
        self.vboxlayout.addWidget(self.push_button)
        self.pull_button = QtGui.QPushButton(self.widget_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pull_button.sizePolicy().hasHeightForWidth())
        self.pull_button.setSizePolicy(sizePolicy)
        self.pull_button.setMinimumSize(QtCore.QSize(0, 22))
        self.pull_button.setObjectName("pull_button")
        self.vboxlayout.addWidget(self.pull_button)
        self.stash_button = QtGui.QPushButton(self.widget_4)
        self.stash_button.setObjectName("stash_button")
        self.vboxlayout.addWidget(self.stash_button)
        self.alt_button = QtGui.QPushButton(self.widget_4)
        self.alt_button.setText("")
        self.alt_button.setObjectName("alt_button")
        self.vboxlayout.addWidget(self.alt_button)
        spacerItem = QtGui.QSpacerItem(1, 4, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
        self.vboxlayout.addItem(spacerItem)
        self.column_label = QtGui.QLabel(self.widget_4)
        self.column_label.setText("")
        self.column_label.setAlignment(QtCore.Qt.AlignCenter)
        self.column_label.setObjectName("column_label")
        self.vboxlayout.addWidget(self.column_label)
        self.horizontalLayout.addWidget(self.widget_4)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.commitmsg = QtGui.QTextEdit(self.commitwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.commitmsg.sizePolicy().hasHeightForWidth())
        self.commitmsg.setSizePolicy(sizePolicy)
        self.commitmsg.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.commitmsg.setAcceptRichText(False)
        self.commitmsg.setObjectName("commitmsg")
        self.verticalLayout.addWidget(self.commitmsg)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSpacing(0)
        self.hboxlayout.setContentsMargins(0, -1, -1, -1)
        self.hboxlayout.setObjectName("hboxlayout")
        spacerItem1 = QtGui.QSpacerItem(1, 1, QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.new_commit_radio = QtGui.QRadioButton(self.commitwidget)
        self.new_commit_radio.setObjectName("new_commit_radio")
        self.hboxlayout.addWidget(self.new_commit_radio)
        self.amend_radio = QtGui.QRadioButton(self.commitwidget)
        self.amend_radio.setObjectName("amend_radio")
        self.hboxlayout.addWidget(self.amend_radio)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.tabwidget.addTab(self.commitwidget, "")
        self.status_tree = QtGui.QTreeWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.status_tree.sizePolicy().hasHeightForWidth())
        self.status_tree.setSizePolicy(sizePolicy)
        self.status_tree.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.status_tree.setAnimated(True)
        self.status_tree.setObjectName("status_tree")
        item_0 = QtGui.QTreeWidgetItem(self.status_tree)
        item_0 = QtGui.QTreeWidgetItem(self.status_tree)
        item_0 = QtGui.QTreeWidgetItem(self.status_tree)
        item_0 = QtGui.QTreeWidgetItem(self.status_tree)
        self.horizontalLayout_2.addWidget(self.splitter)
        main.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(main)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 684, 29))
        self.menubar.setObjectName("menubar")
        self.commit_menu = QtGui.QMenu(self.menubar)
        self.commit_menu.setObjectName("commit_menu")
        self.menuShow = QtGui.QMenu(self.commit_menu)
        self.menuShow.setObjectName("menuShow")
        self.menuPrepare = QtGui.QMenu(self.commit_menu)
        self.menuPrepare.setObjectName("menuPrepare")
        self.menuAdvanced_2 = QtGui.QMenu(self.commit_menu)
        self.menuAdvanced_2.setObjectName("menuAdvanced_2")
        self.edit_menu = QtGui.QMenu(self.menubar)
        self.edit_menu.setObjectName("edit_menu")
        self.search_menu = QtGui.QMenu(self.menubar)
        self.search_menu.setObjectName("search_menu")
        self.menuMore = QtGui.QMenu(self.search_menu)
        self.menuMore.setObjectName("menuMore")
        self.branch_menu = QtGui.QMenu(self.menubar)
        self.branch_menu.setObjectName("branch_menu")
        self.menuView = QtGui.QMenu(self.branch_menu)
        self.menuView.setObjectName("menuView")
        self.menuAdvanced = QtGui.QMenu(self.branch_menu)
        self.menuAdvanced.setObjectName("menuAdvanced")
        self.file_menu = QtGui.QMenu(self.menubar)
        self.file_menu.setObjectName("file_menu")
        self.merge_menu = QtGui.QMenu(self.menubar)
        self.merge_menu.setObjectName("merge_menu")
        self.help_menu = QtGui.QMenu(self.menubar)
        self.help_menu.setObjectName("help_menu")
        self.diff_menu = QtGui.QMenu(self.menubar)
        self.diff_menu.setObjectName("diff_menu")
        main.setMenuBar(self.menubar)
        self.menu_unstage_selected = QtGui.QAction(main)
        self.menu_unstage_selected.setObjectName("menu_unstage_selected")
        self.menu_show_diffstat = QtGui.QAction(main)
        self.menu_show_diffstat.setObjectName("menu_show_diffstat")
        self.menu_show_index = QtGui.QAction(main)
        self.menu_show_index.setObjectName("menu_show_index")
        self.menu_stage_modified = QtGui.QAction(main)
        self.menu_stage_modified.setObjectName("menu_stage_modified")
        self.menu_stage_untracked = QtGui.QAction(main)
        self.menu_stage_untracked.setObjectName("menu_stage_untracked")
        self.menu_stage_selected = QtGui.QAction(main)
        self.menu_stage_selected.setObjectName("menu_stage_selected")
        self.menu_export_patches = QtGui.QAction(main)
        self.menu_export_patches.setObjectName("menu_export_patches")
        self.menu_cut = QtGui.QAction(main)
        self.menu_cut.setObjectName("menu_cut")
        self.menu_copy = QtGui.QAction(main)
        self.menu_copy.setObjectName("menu_copy")
        self.menu_paste = QtGui.QAction(main)
        self.menu_paste.setObjectName("menu_paste")
        self.menu_select_all = QtGui.QAction(main)
        self.menu_select_all.setObjectName("menu_select_all")
        self.menu_options = QtGui.QAction(main)
        self.menu_options.setObjectName("menu_options")
        self.menu_delete = QtGui.QAction(main)
        self.menu_delete.setObjectName("menu_delete")
        self.menu_undo = QtGui.QAction(main)
        self.menu_undo.setObjectName("menu_undo")
        self.menu_redo = QtGui.QAction(main)
        self.menu_redo.setObjectName("menu_redo")
        self.menu_rescan = QtGui.QAction(main)
        self.menu_rescan.setObjectName("menu_rescan")
        self.menu_get_prev_commitmsg = QtGui.QAction(main)
        self.menu_get_prev_commitmsg.setObjectName("menu_get_prev_commitmsg")
        self.menu_cherry_pick = QtGui.QAction(main)
        self.menu_cherry_pick.setObjectName("menu_cherry_pick")
        self.menu_unstage_all = QtGui.QAction(main)
        self.menu_unstage_all.setObjectName("menu_unstage_all")
        self.menu_quit = QtGui.QAction(main)
        self.menu_quit.setObjectName("menu_quit")
        self.menu_load_commitmsg = QtGui.QAction(main)
        self.menu_load_commitmsg.setObjectName("menu_load_commitmsg")
        self.menu_create_branch = QtGui.QAction(main)
        self.menu_create_branch.setObjectName("menu_create_branch")
        self.menu_checkout_branch = QtGui.QAction(main)
        self.menu_checkout_branch.setObjectName("menu_checkout_branch")
        self.menu_rebase_branch = QtGui.QAction(main)
        self.menu_rebase_branch.setObjectName("menu_rebase_branch")
        self.menu_delete_branch = QtGui.QAction(main)
        self.menu_delete_branch.setObjectName("menu_delete_branch")
        self.menu_search_revision = QtGui.QAction(main)
        self.menu_search_revision.setObjectName("menu_search_revision")
        self.menu_search_path = QtGui.QAction(main)
        self.menu_search_path.setObjectName("menu_search_path")
        self.menu_search_revision_range = QtGui.QAction(main)
        self.menu_search_revision_range.setObjectName("menu_search_revision_range")
        self.menu_search_date_range = QtGui.QAction(main)
        self.menu_search_date_range.setObjectName("menu_search_date_range")
        self.menu_search_message = QtGui.QAction(main)
        self.menu_search_message.setObjectName("menu_search_message")
        self.menu_search_diff = QtGui.QAction(main)
        self.menu_search_diff.setObjectName("menu_search_diff")
        self.menu_search_author = QtGui.QAction(main)
        self.menu_search_author.setObjectName("menu_search_author")
        self.menu_search_committer = QtGui.QAction(main)
        self.menu_search_committer.setObjectName("menu_search_committer")
        self.menu_manage_bookmarks = QtGui.QAction(main)
        self.menu_manage_bookmarks.setObjectName("menu_manage_bookmarks")
        self.menu_save_bookmark = QtGui.QAction(main)
        self.menu_save_bookmark.setObjectName("menu_save_bookmark")
        self.menu_search_grep = QtGui.QAction(main)
        self.menu_search_grep.setObjectName("menu_search_grep")
        self.menu_merge_local = QtGui.QAction(main)
        self.menu_merge_local.setObjectName("menu_merge_local")
        self.menu_merge_abort = QtGui.QAction(main)
        self.menu_merge_abort.setObjectName("menu_merge_abort")
        self.menu_open_repo = QtGui.QAction(main)
        self.menu_open_repo.setObjectName("menu_open_repo")
        self.menu_stash = QtGui.QAction(main)
        self.menu_stash.setObjectName("menu_stash")
        self.menu_diff_branch = QtGui.QAction(main)
        self.menu_diff_branch.setObjectName("menu_diff_branch")
        self.menu_branch_compare = QtGui.QAction(main)
        self.menu_branch_compare.setObjectName("menu_branch_compare")
        self.menu_clone_repo = QtGui.QAction(main)
        self.menu_clone_repo.setObjectName("menu_clone_repo")
        self.menu_help_docs = QtGui.QAction(main)
        self.menu_help_docs.setObjectName("menu_help_docs")
        self.menu_commit_compare = QtGui.QAction(main)
        self.menu_commit_compare.setObjectName("menu_commit_compare")
        self.menu_visualize_current = QtGui.QAction(main)
        self.menu_visualize_current.setObjectName("menu_visualize_current")
        self.menu_visualize_all = QtGui.QAction(main)
        self.menu_visualize_all.setObjectName("menu_visualize_all")
        self.menu_browse_commits = QtGui.QAction(main)
        self.menu_browse_commits.setObjectName("menu_browse_commits")
        self.menu_browse_branch = QtGui.QAction(main)
        self.menu_browse_branch.setObjectName("menu_browse_branch")
        self.menu_browse_other_branch = QtGui.QAction(main)
        self.menu_browse_other_branch.setObjectName("menu_browse_other_branch")
        self.menu_load_commitmsg_template = QtGui.QAction(main)
        self.menu_load_commitmsg_template.setObjectName("menu_load_commitmsg_template")
        self.menu_commit_compare_file = QtGui.QAction(main)
        self.menu_commit_compare_file.setObjectName("menu_commit_compare_file")
        self.menu_view_log = QtGui.QAction(main)
        self.menu_view_log.setObjectName("menu_view_log")
        self.menu_help_about = QtGui.QAction(main)
        self.menu_help_about.setObjectName("menu_help_about")
        self.menu_branch_diff = QtGui.QAction(main)
        self.menu_branch_diff.setObjectName("menu_branch_diff")
        self.menu_branch_review = QtGui.QAction(main)
        self.menu_branch_review.setObjectName("menu_branch_review")
        self.menu_diff_expression = QtGui.QAction(main)
        self.menu_diff_expression.setObjectName("menu_diff_expression")
        self.menuShow.addAction(self.menu_browse_commits)
        self.menuShow.addAction(self.menu_show_index)
        self.menuShow.addAction(self.menu_show_diffstat)
        self.menuPrepare.addAction(self.menu_stage_modified)
        self.menuPrepare.addAction(self.menu_stage_untracked)
        self.menuPrepare.addAction(self.menu_stage_selected)
        self.menuPrepare.addSeparator()
        self.menuPrepare.addAction(self.menu_unstage_all)
        self.menuPrepare.addAction(self.menu_unstage_selected)
        self.menuAdvanced_2.addAction(self.menu_cherry_pick)
        self.commit_menu.addAction(self.menuShow.menuAction())
        self.commit_menu.addAction(self.menuPrepare.menuAction())
        self.commit_menu.addSeparator()
        self.commit_menu.addAction(self.menu_stash)
        self.commit_menu.addAction(self.menu_export_patches)
        self.commit_menu.addSeparator()
        self.commit_menu.addAction(self.menuAdvanced_2.menuAction())
        self.edit_menu.addAction(self.menu_undo)
        self.edit_menu.addAction(self.menu_redo)
        self.edit_menu.addSeparator()
        self.edit_menu.addAction(self.menu_cut)
        self.edit_menu.addAction(self.menu_copy)
        self.edit_menu.addAction(self.menu_paste)
        self.edit_menu.addAction(self.menu_delete)
        self.edit_menu.addSeparator()
        self.edit_menu.addAction(self.menu_select_all)
        self.edit_menu.addSeparator()
        self.edit_menu.addAction(self.menu_options)
        self.menuMore.addAction(self.menu_search_author)
        self.menuMore.addAction(self.menu_search_path)
        self.menuMore.addAction(self.menu_search_message)
        self.menuMore.addSeparator()
        self.menuMore.addAction(self.menu_search_revision_range)
        self.menuMore.addAction(self.menu_search_revision)
        self.menuMore.addSeparator()
        self.menuMore.addAction(self.menu_search_diff)
        self.search_menu.addAction(self.menu_search_date_range)
        self.search_menu.addAction(self.menu_search_grep)
        self.search_menu.addAction(self.menuMore.menuAction())
        self.menuView.addAction(self.menu_browse_branch)
        self.menuView.addAction(self.menu_browse_other_branch)
        self.menuView.addSeparator()
        self.menuView.addAction(self.menu_visualize_current)
        self.menuView.addAction(self.menu_visualize_all)
        self.menuAdvanced.addAction(self.menu_diff_branch)
        self.branch_menu.addAction(self.menu_branch_review)
        self.branch_menu.addSeparator()
        self.branch_menu.addAction(self.menu_create_branch)
        self.branch_menu.addAction(self.menu_checkout_branch)
        self.branch_menu.addAction(self.menu_rebase_branch)
        self.branch_menu.addAction(self.menu_delete_branch)
        self.branch_menu.addSeparator()
        self.branch_menu.addAction(self.menuView.menuAction())
        self.branch_menu.addAction(self.menuAdvanced.menuAction())
        self.file_menu.addAction(self.menu_open_repo)
        self.file_menu.addAction(self.menu_clone_repo)
        self.file_menu.addSeparator()
        self.file_menu.addAction(self.menu_rescan)
        self.file_menu.addAction(self.menu_view_log)
        self.file_menu.addSeparator()
        self.file_menu.addAction(self.menu_manage_bookmarks)
        self.file_menu.addAction(self.menu_save_bookmark)
        self.file_menu.addSeparator()
        self.file_menu.addAction(self.menu_load_commitmsg)
        self.file_menu.addAction(self.menu_get_prev_commitmsg)
        self.file_menu.addAction(self.menu_load_commitmsg_template)
        self.file_menu.addSeparator()
        self.file_menu.addAction(self.menu_quit)
        self.merge_menu.addAction(self.menu_merge_local)
        self.merge_menu.addAction(self.menu_merge_abort)
        self.help_menu.addAction(self.menu_help_docs)
        self.help_menu.addAction(self.menu_help_about)
        self.diff_menu.addAction(self.menu_branch_diff)
        self.diff_menu.addAction(self.menu_diff_expression)
        self.diff_menu.addSeparator()
        self.diff_menu.addAction(self.menu_branch_compare)
        self.diff_menu.addAction(self.menu_commit_compare)
        self.diff_menu.addAction(self.menu_commit_compare_file)
        self.menubar.addAction(self.file_menu.menuAction())
        self.menubar.addAction(self.edit_menu.menuAction())
        self.menubar.addAction(self.search_menu.menuAction())
        self.menubar.addAction(self.commit_menu.menuAction())
        self.menubar.addAction(self.branch_menu.menuAction())
        self.menubar.addAction(self.merge_menu.menuAction())
        self.menubar.addAction(self.diff_menu.menuAction())
        self.menubar.addAction(self.help_menu.menuAction())

        self.retranslateUi(main)
        self.tabwidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(main)

    def retranslateUi(self, main):
        self.tabwidget.setTabText(self.tabwidget.indexOf(self.diffwidget), QtGui.QApplication.translate("main", "Diff View", None, QtGui.QApplication.UnicodeUTF8))
        self.rescan_button.setText(QtGui.QApplication.translate("main", "Rescan", None, QtGui.QApplication.UnicodeUTF8))
        self.stage_button.setText(QtGui.QApplication.translate("main", "Stage Changed", None, QtGui.QApplication.UnicodeUTF8))
        self.signoff_button.setText(QtGui.QApplication.translate("main", "Sign Off", None, QtGui.QApplication.UnicodeUTF8))
        self.commit_button.setText(QtGui.QApplication.translate("main", "Commit@@verb", None, QtGui.QApplication.UnicodeUTF8))
        self.fetch_button.setText(QtGui.QApplication.translate("main", "Fetch", None, QtGui.QApplication.UnicodeUTF8))
        self.push_button.setText(QtGui.QApplication.translate("main", "Push", None, QtGui.QApplication.UnicodeUTF8))
        self.pull_button.setText(QtGui.QApplication.translate("main", "Pull", None, QtGui.QApplication.UnicodeUTF8))
        self.stash_button.setText(QtGui.QApplication.translate("main", "Stash", None, QtGui.QApplication.UnicodeUTF8))
        self.new_commit_radio.setText(QtGui.QApplication.translate("main", "New Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.amend_radio.setText(QtGui.QApplication.translate("main", "Amend Last Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.tabwidget.setTabText(self.tabwidget.indexOf(self.commitwidget), QtGui.QApplication.translate("main", "Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.status_tree.headerItem().setText(0, QtGui.QApplication.translate("main", "Repository Status", None, QtGui.QApplication.UnicodeUTF8))
        self.status_tree.topLevelItem(0).setText(0, QtGui.QApplication.translate("main", "Staged", None, QtGui.QApplication.UnicodeUTF8))
        self.status_tree.topLevelItem(1).setText(0, QtGui.QApplication.translate("main", "Modified", None, QtGui.QApplication.UnicodeUTF8))
        self.status_tree.topLevelItem(2).setText(0, QtGui.QApplication.translate("main", "Unmerged", None, QtGui.QApplication.UnicodeUTF8))
        self.status_tree.topLevelItem(3).setText(0, QtGui.QApplication.translate("main", "Untracked", None, QtGui.QApplication.UnicodeUTF8))
        self.commit_menu.setTitle(QtGui.QApplication.translate("main", "Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.menuShow.setTitle(QtGui.QApplication.translate("main", "View", None, QtGui.QApplication.UnicodeUTF8))
        self.menuPrepare.setTitle(QtGui.QApplication.translate("main", "Prepare", None, QtGui.QApplication.UnicodeUTF8))
        self.menuAdvanced_2.setTitle(QtGui.QApplication.translate("main", "Advanced", None, QtGui.QApplication.UnicodeUTF8))
        self.edit_menu.setTitle(QtGui.QApplication.translate("main", "Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.search_menu.setTitle(QtGui.QApplication.translate("main", "Search", None, QtGui.QApplication.UnicodeUTF8))
        self.menuMore.setTitle(QtGui.QApplication.translate("main", "More...", None, QtGui.QApplication.UnicodeUTF8))
        self.branch_menu.setTitle(QtGui.QApplication.translate("main", "Branch", None, QtGui.QApplication.UnicodeUTF8))
        self.menuView.setTitle(QtGui.QApplication.translate("main", "View", None, QtGui.QApplication.UnicodeUTF8))
        self.menuAdvanced.setTitle(QtGui.QApplication.translate("main", "Advanced", None, QtGui.QApplication.UnicodeUTF8))
        self.file_menu.setTitle(QtGui.QApplication.translate("main", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.merge_menu.setTitle(QtGui.QApplication.translate("main", "Merge", None, QtGui.QApplication.UnicodeUTF8))
        self.help_menu.setTitle(QtGui.QApplication.translate("main", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.diff_menu.setTitle(QtGui.QApplication.translate("main", "Diff", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_unstage_selected.setText(QtGui.QApplication.translate("main", "Unstage From Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_show_diffstat.setText(QtGui.QApplication.translate("main", "Diffstat", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_show_diffstat.setShortcut(QtGui.QApplication.translate("main", "Ctrl+D", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_show_index.setText(QtGui.QApplication.translate("main", "Index", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stage_modified.setText(QtGui.QApplication.translate("main", "Stage Changed Files To Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stage_modified.setShortcut(QtGui.QApplication.translate("main", "Alt+A", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stage_untracked.setText(QtGui.QApplication.translate("main", "Stage All Untracked", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stage_untracked.setShortcut(QtGui.QApplication.translate("main", "Alt+U", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stage_selected.setText(QtGui.QApplication.translate("main", "Stage Selected", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stage_selected.setShortcut(QtGui.QApplication.translate("main", "Alt+T", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_export_patches.setText(QtGui.QApplication.translate("main", "Export Patches...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_export_patches.setShortcut(QtGui.QApplication.translate("main", "Ctrl+E", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_cut.setText(QtGui.QApplication.translate("main", "Cut", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_cut.setShortcut(QtGui.QApplication.translate("main", "Ctrl+X", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_copy.setText(QtGui.QApplication.translate("main", "Copy", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_copy.setShortcut(QtGui.QApplication.translate("main", "Ctrl+C", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_paste.setText(QtGui.QApplication.translate("main", "Paste", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_paste.setShortcut(QtGui.QApplication.translate("main", "Ctrl+V", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_select_all.setText(QtGui.QApplication.translate("main", "Select All", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_select_all.setShortcut(QtGui.QApplication.translate("main", "Ctrl+A", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_options.setText(QtGui.QApplication.translate("main", "Options...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_options.setShortcut(QtGui.QApplication.translate("main", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_delete.setText(QtGui.QApplication.translate("main", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_delete.setShortcut(QtGui.QApplication.translate("main", "Del", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_undo.setText(QtGui.QApplication.translate("main", "Undo", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_undo.setShortcut(QtGui.QApplication.translate("main", "Ctrl+Z", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_redo.setText(QtGui.QApplication.translate("main", "Redo", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_redo.setShortcut(QtGui.QApplication.translate("main", "Ctrl+Shift+Z", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_rescan.setText(QtGui.QApplication.translate("main", "Rescan", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_rescan.setShortcut(QtGui.QApplication.translate("main", "Ctrl+R", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_get_prev_commitmsg.setText(QtGui.QApplication.translate("main", "Get Latest Commit Message", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_cherry_pick.setText(QtGui.QApplication.translate("main", "Cherry-Pick...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_cherry_pick.setShortcut(QtGui.QApplication.translate("main", "Ctrl+P", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_unstage_all.setText(QtGui.QApplication.translate("main", "Unstage All", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_quit.setText(QtGui.QApplication.translate("main", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_quit.setShortcut(QtGui.QApplication.translate("main", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_load_commitmsg.setText(QtGui.QApplication.translate("main", "Load Commit Message...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_create_branch.setText(QtGui.QApplication.translate("main", "Create...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_create_branch.setShortcut(QtGui.QApplication.translate("main", "Ctrl+B", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_checkout_branch.setText(QtGui.QApplication.translate("main", "Checkout...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_checkout_branch.setShortcut(QtGui.QApplication.translate("main", "Alt+B", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_rebase_branch.setText(QtGui.QApplication.translate("main", "Rebase...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_delete_branch.setText(QtGui.QApplication.translate("main", "Delete...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_revision.setText(QtGui.QApplication.translate("main", "Revision ID...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_path.setText(QtGui.QApplication.translate("main", "Commits Touching Path(s)...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_revision_range.setText(QtGui.QApplication.translate("main", "Revision Range...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_date_range.setText(QtGui.QApplication.translate("main", "Latest Commits...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_message.setText(QtGui.QApplication.translate("main", "Commit Messages...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_diff.setText(QtGui.QApplication.translate("main", "Content Introduced in Commit...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_author.setText(QtGui.QApplication.translate("main", "Commits By Author...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_committer.setText(QtGui.QApplication.translate("main", "Commits By Committer...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_manage_bookmarks.setText(QtGui.QApplication.translate("main", "Bookmarks...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_save_bookmark.setText(QtGui.QApplication.translate("main", "Bookmark Current...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_search_grep.setText(QtGui.QApplication.translate("main", "Grep", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_merge_local.setText(QtGui.QApplication.translate("main", "Local Merge...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_merge_abort.setText(QtGui.QApplication.translate("main", "Abort Merge...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_open_repo.setText(QtGui.QApplication.translate("main", "Open...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stash.setText(QtGui.QApplication.translate("main", "Stash...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_stash.setShortcut(QtGui.QApplication.translate("main", "Alt+Shift+S", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_diff_branch.setText(QtGui.QApplication.translate("main", "Apply Changes From...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_branch_compare.setText(QtGui.QApplication.translate("main", "Branches...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_clone_repo.setText(QtGui.QApplication.translate("main", "Clone...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_help_docs.setText(QtGui.QApplication.translate("main", "Documentation", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_help_docs.setShortcut(QtGui.QApplication.translate("main", "F1", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_commit_compare.setText(QtGui.QApplication.translate("main", "Commits...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_visualize_current.setText(QtGui.QApplication.translate("main", "Visualize Current Branch...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_visualize_all.setText(QtGui.QApplication.translate("main", "Visualize All Branches...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_browse_commits.setText(QtGui.QApplication.translate("main", "Commits...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_browse_branch.setText(QtGui.QApplication.translate("main", "Browse Current Branch...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_browse_other_branch.setText(QtGui.QApplication.translate("main", "Browse Other Branch...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_load_commitmsg_template.setText(QtGui.QApplication.translate("main", "Get Commit Message Template", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_commit_compare_file.setText(QtGui.QApplication.translate("main", "Commits Touching File...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_view_log.setText(QtGui.QApplication.translate("main", "VIew Log", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_help_about.setText(QtGui.QApplication.translate("main", "About", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_branch_diff.setText(QtGui.QApplication.translate("main", "SHA-1...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_branch_review.setText(QtGui.QApplication.translate("main", "Review...", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_diff_expression.setText(QtGui.QApplication.translate("main", "Expression...", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    main = QtGui.QMainWindow()
    ui = Ui_main()
    ui.setupUi(main)
    main.show()
    sys.exit(app.exec_())

