/usr/share/pyshared/qctlib/ui_preferences.py is in qct 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'qctlib/preferences.ui'
#
# Created: Mon Aug 22 21:38:23 2011
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_prefDialog(object):
def setupUi(self, prefDialog):
prefDialog.setObjectName(_fromUtf8("prefDialog"))
prefDialog.resize(366, 211)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(prefDialog.sizePolicy().hasHeightForWidth())
prefDialog.setSizePolicy(sizePolicy)
prefDialog.setModal(True)
self.vboxlayout = QtGui.QVBoxLayout(prefDialog)
self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
self.tabWidget = QtGui.QTabWidget(prefDialog)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.gridlayout = QtGui.QGridLayout(self.tab)
self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
self.label_2 = QtGui.QLabel(self.tab)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridlayout.addWidget(self.label_2, 0, 0, 1, 1)
self.label_3 = QtGui.QLabel(self.tab)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.gridlayout.addWidget(self.label_3, 0, 1, 1, 1)
self.editToolEdit = QtGui.QLineEdit(self.tab)
self.editToolEdit.setObjectName(_fromUtf8("editToolEdit"))
self.gridlayout.addWidget(self.editToolEdit, 1, 0, 1, 1)
self.mergeToolEdit = QtGui.QLineEdit(self.tab)
self.mergeToolEdit.setObjectName(_fromUtf8("mergeToolEdit"))
self.gridlayout.addWidget(self.mergeToolEdit, 1, 1, 1, 1)
self.label = QtGui.QLabel(self.tab)
self.label.setObjectName(_fromUtf8("label"))
self.gridlayout.addWidget(self.label, 2, 0, 1, 1)
self.label_4 = QtGui.QLabel(self.tab)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.gridlayout.addWidget(self.label_4, 2, 1, 1, 1)
self.diffToolEdit = QtGui.QLineEdit(self.tab)
self.diffToolEdit.setObjectName(_fromUtf8("diffToolEdit"))
self.gridlayout.addWidget(self.diffToolEdit, 3, 0, 1, 1)
self.histToolEdit = QtGui.QLineEdit(self.tab)
self.histToolEdit.setObjectName(_fromUtf8("histToolEdit"))
self.gridlayout.addWidget(self.histToolEdit, 3, 1, 1, 1)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.hboxlayout = QtGui.QHBoxLayout(self.tab_2)
self.hboxlayout.setSpacing(6)
self.hboxlayout.setMargin(9)
self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
self.signoffTextEdit = QtGui.QTextEdit(self.tab_2)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.signoffTextEdit.sizePolicy().hasHeightForWidth())
self.signoffTextEdit.setSizePolicy(sizePolicy)
self.signoffTextEdit.setObjectName(_fromUtf8("signoffTextEdit"))
self.hboxlayout.addWidget(self.signoffTextEdit)
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.tab_3 = QtGui.QWidget()
self.tab_3.setObjectName(_fromUtf8("tab_3"))
self.vboxlayout1 = QtGui.QVBoxLayout(self.tab_3)
self.vboxlayout1.setSpacing(6)
self.vboxlayout1.setMargin(9)
self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
self.wrapListCheckBox = QtGui.QCheckBox(self.tab_3)
self.wrapListCheckBox.setObjectName(_fromUtf8("wrapListCheckBox"))
self.vboxlayout1.addWidget(self.wrapListCheckBox)
self.ignoredButton = QtGui.QCheckBox(self.tab_3)
self.ignoredButton.setObjectName(_fromUtf8("ignoredButton"))
self.vboxlayout1.addWidget(self.ignoredButton)
spacerItem = QtGui.QSpacerItem(101, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.vboxlayout1.addItem(spacerItem)
self.hboxlayout1 = QtGui.QHBoxLayout()
self.hboxlayout1.setSpacing(6)
self.hboxlayout1.setMargin(0)
self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout1.addItem(spacerItem1)
self.aboutPushButton = QtGui.QPushButton(self.tab_3)
self.aboutPushButton.setObjectName(_fromUtf8("aboutPushButton"))
self.hboxlayout1.addWidget(self.aboutPushButton)
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout1.addItem(spacerItem2)
self.vboxlayout1.addLayout(self.hboxlayout1)
self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
self.vboxlayout.addWidget(self.tabWidget)
self.buttonBox = QtGui.QDialogButtonBox(prefDialog)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.vboxlayout.addWidget(self.buttonBox)
self.label_2.setBuddy(self.editToolEdit)
self.label_3.setBuddy(self.mergeToolEdit)
self.label.setBuddy(self.diffToolEdit)
self.label_4.setBuddy(self.histToolEdit)
self.retranslateUi(prefDialog)
self.tabWidget.setCurrentIndex(0)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), prefDialog.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), prefDialog.reject)
QtCore.QMetaObject.connectSlotsByName(prefDialog)
prefDialog.setTabOrder(self.diffToolEdit, self.editToolEdit)
prefDialog.setTabOrder(self.editToolEdit, self.mergeToolEdit)
prefDialog.setTabOrder(self.mergeToolEdit, self.tabWidget)
prefDialog.setTabOrder(self.tabWidget, self.signoffTextEdit)
prefDialog.setTabOrder(self.signoffTextEdit, self.wrapListCheckBox)
prefDialog.setTabOrder(self.wrapListCheckBox, self.ignoredButton)
prefDialog.setTabOrder(self.ignoredButton, self.aboutPushButton)
def retranslateUi(self, prefDialog):
prefDialog.setWindowTitle(QtGui.QApplication.translate("prefDialog", "Qct Preferences", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Supply the name of an external editor, it will be offered as an option in the context menu of appropriate files.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("prefDialog", "Editor:", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Specify a two-way merge program that can be used to select changes in your working files for commit. Kompare, meld, and kdiff3 are good examples on Linux.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("prefDialog", "Two-Way Merge:", None, QtGui.QApplication.UnicodeUTF8))
self.editToolEdit.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">External editor</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.mergeToolEdit.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Merge tool used for change selection. If you leave this field blank, qct will use a built in change selection feature.</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Example command line: mymergetool \"%m\" \"%o\"</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">%m will be substituted with the modified file from your working copy.</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">%o will be substituted with the original unmodified file name (and also the merge output file).</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.label.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("prefDialog", "Diff Viewer", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("prefDialog", "History Viewer", None, QtGui.QApplication.UnicodeUTF8))
self.diffToolEdit.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Specify a diff browser command line which is supported by your revision control tool. It will be passed the name of the file you wish to browse, so the VCS must supply the actual diffs. For example: </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">hg vdiff</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.diffToolEdit.setWhatsThis(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Specify a command line that Qct can call to retrieve visual diffs from your revision control tool. Qct will pass the list of selected files to this command line.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.histToolEdit.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Enter the command line to launch your revision control tools\'s history browser. For example:</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">hg view</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.histToolEdit.setWhatsThis(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Specify a command line that Qct can call to spawn a graphical history browser for your repository.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("prefDialog", "Externals", None, QtGui.QApplication.UnicodeUTF8))
self.signoffTextEdit.setWhatsThis(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The message you enter here will be appended to every log message you commit with Qct. The Mercurial back-end has a separate facility to configure a sign-off message on a per-repository basis. Please consult the INSTALL file for details.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("prefDialog", "Sign Off", None, QtGui.QApplication.UnicodeUTF8))
self.wrapListCheckBox.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Flow file names from left to right with wrapping</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.wrapListCheckBox.setWhatsThis(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">This toggles the layout of the file list. If checked, the files will flow from left to right with wrapping at the right edge and scrolling at the bottom edge. If unchecked, the files will be in a single row from top to bottom.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.wrapListCheckBox.setText(QtGui.QApplication.translate("prefDialog", "Wrap List", None, QtGui.QApplication.UnicodeUTF8))
self.ignoredButton.setToolTip(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Show files normally ignored by revision control</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.ignoredButton.setWhatsThis(QtGui.QApplication.translate("prefDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">This button toggles display of unrevisioned files which are typically ignored by your revision control system (via ignore masks). If you commit one of these files it will be automatically added to revision control.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.ignoredButton.setText(QtGui.QApplication.translate("prefDialog", "Show Ignored", None, QtGui.QApplication.UnicodeUTF8))
self.aboutPushButton.setText(QtGui.QApplication.translate("prefDialog", "About...", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("prefDialog", "File List", None, QtGui.QApplication.UnicodeUTF8))
|