class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(425, 120) self.verticalLayout = QtGui.QVBoxLayout(Form) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label_2 = QtGui.QLabel(Form) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout.addWidget(self.label_2) self.triggerRegexLineEdit = KLineEdit(Form) self.triggerRegexLineEdit.setUrlDropsEnabled(False) self.triggerRegexLineEdit.setProperty("showClearButton", True) self.triggerRegexLineEdit.setObjectName( _fromUtf8("triggerRegexLineEdit")) self.horizontalLayout.addWidget(self.triggerRegexLineEdit) self.verticalLayout.addLayout(self.horizontalLayout) self.recursiveCheckBox = QtGui.QCheckBox(Form) self.recursiveCheckBox.setObjectName(_fromUtf8("recursiveCheckBox")) self.verticalLayout.addWidget(self.recursiveCheckBox) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.detectButton = QtGui.QPushButton(Form) self.detectButton.setObjectName(_fromUtf8("detectButton")) self.horizontalLayout_2.addWidget(self.detectButton) self.verticalLayout.addLayout(self.horizontalLayout_2) self.kseparator = KSeparator(Form) self.kseparator.setObjectName(_fromUtf8("kseparator")) self.verticalLayout.addWidget(self.kseparator) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(kdecore.i18n(_fromUtf8("Form"))) self.label_2.setText( kdecore.i18n(_fromUtf8("Regular expression to match:"))) self.triggerRegexLineEdit.setToolTip( kdecore.i18n(_fromUtf8("Window title"))) self.triggerRegexLineEdit.setWhatsThis( kdecore.i18n( _fromUtf8( "Enter a regular expression that matches the title of windows in which you want this item to trigger." ))) self.recursiveCheckBox.setText( kdecore.i18n( _fromUtf8("Apply recursively to subfolders and items"))) self.detectButton.setText( kdecore.i18n(_fromUtf8("Detect Window Properties")))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(425, 120) self.verticalLayout = QtGui.QVBoxLayout(Form) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label_2 = QtGui.QLabel(Form) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout.addWidget(self.label_2) self.triggerRegexLineEdit = KLineEdit(Form) self.triggerRegexLineEdit.setUrlDropsEnabled(False) self.triggerRegexLineEdit.setProperty("showClearButton", True) self.triggerRegexLineEdit.setObjectName(_fromUtf8("triggerRegexLineEdit")) self.horizontalLayout.addWidget(self.triggerRegexLineEdit) self.verticalLayout.addLayout(self.horizontalLayout) self.recursiveCheckBox = QtGui.QCheckBox(Form) self.recursiveCheckBox.setObjectName(_fromUtf8("recursiveCheckBox")) self.verticalLayout.addWidget(self.recursiveCheckBox) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.detectButton = QtGui.QPushButton(Form) self.detectButton.setObjectName(_fromUtf8("detectButton")) self.horizontalLayout_2.addWidget(self.detectButton) self.verticalLayout.addLayout(self.horizontalLayout_2) self.kseparator = KSeparator(Form) self.kseparator.setObjectName(_fromUtf8("kseparator")) self.verticalLayout.addWidget(self.kseparator) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(kdecore.i18n(_fromUtf8("Form"))) self.label_2.setText(kdecore.i18n(_fromUtf8("Regular expression to match:"))) self.triggerRegexLineEdit.setToolTip(kdecore.i18n(_fromUtf8("Window title"))) self.triggerRegexLineEdit.setWhatsThis( kdecore.i18n( _fromUtf8( "Enter a regular expression that matches the title of windows in which you want this item to trigger." ) ) ) self.recursiveCheckBox.setText(kdecore.i18n(_fromUtf8("Apply recursively to subfolders and items"))) self.detectButton.setText(kdecore.i18n(_fromUtf8("Detect Window Properties")))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(273, 331) self.verticalLayout = QtGui.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.radicalOptions = QtGui.QStackedWidget(Form) self.radicalOptions.setObjectName("radicalOptions") self.page = QtGui.QWidget() self.page.setObjectName("page") self.horizontalLayout_2 = QtGui.QHBoxLayout(self.page) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.gotoLabel = QtGui.QLabel(self.page) self.gotoLabel.setObjectName("gotoLabel") self.horizontalLayout_2.addWidget(self.gotoLabel) self.gotoEdit = KLineEdit(self.page) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.gotoEdit.sizePolicy().hasHeightForWidth()) self.gotoEdit.setSizePolicy(sizePolicy) self.gotoEdit.setUrlDropsEnabled(False) self.gotoEdit.setProperty("showClearButton", QtCore.QVariant(True)) self.gotoEdit.setObjectName("gotoEdit") self.horizontalLayout_2.addWidget(self.gotoEdit) self.gotoNextButton = QtGui.QToolButton(self.page) self.gotoNextButton.setObjectName("gotoNextButton") self.horizontalLayout_2.addWidget(self.gotoNextButton) self.gotoButton = QtGui.QToolButton(self.page) self.gotoButton.setObjectName("gotoButton") self.horizontalLayout_2.addWidget(self.gotoButton) self.radicalOptions.addWidget(self.page) self.page_2 = QtGui.QWidget() self.page_2.setObjectName("page_2") self.horizontalLayout = QtGui.QHBoxLayout(self.page_2) self.horizontalLayout.setObjectName("horizontalLayout") self.toRadicalTableButton = QtGui.QToolButton(self.page_2) self.toRadicalTableButton.setArrowType(QtCore.Qt.NoArrow) self.toRadicalTableButton.setObjectName("toRadicalTableButton") self.horizontalLayout.addWidget(self.toRadicalTableButton) spacerItem = QtGui.QSpacerItem(76, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.nonKangxiRadicalButton = QtGui.QToolButton(self.page_2) self.nonKangxiRadicalButton.setCheckable(True) self.nonKangxiRadicalButton.setAutoRaise(True) self.nonKangxiRadicalButton.setArrowType(QtCore.Qt.NoArrow) self.nonKangxiRadicalButton.setObjectName("nonKangxiRadicalButton") self.horizontalLayout.addWidget(self.nonKangxiRadicalButton) self.groupRadicalFormsButton = QtGui.QToolButton(self.page_2) self.groupRadicalFormsButton.setEnabled(False) self.groupRadicalFormsButton.setCheckable(True) self.groupRadicalFormsButton.setAutoRaise(True) self.groupRadicalFormsButton.setArrowType(QtCore.Qt.NoArrow) self.groupRadicalFormsButton.setObjectName("groupRadicalFormsButton") self.horizontalLayout.addWidget(self.groupRadicalFormsButton) self.radicalOptions.addWidget(self.page_2) self.verticalLayout.addWidget(self.radicalOptions) self.radicalView = QtWebKit.QWebView(Form) self.radicalView.setBaseSize(QtCore.QSize(0, 0)) self.radicalView.setContextMenuPolicy(QtCore.Qt.NoContextMenu) self.radicalView.setUrl(QtCore.QUrl("about:blank")) self.radicalView.setObjectName("radicalView") self.verticalLayout.addWidget(self.radicalView) self.gotoLabel.setBuddy(self.gotoEdit) self.retranslateUi(Form) self.radicalOptions.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(kdecore.i18n("Form")) self.gotoLabel.setText(kdecore.i18n("Go &to:")) self.gotoEdit.setToolTip(kdecore.i18n("Enter the radical\'s name, the radical\'s form, its stroke count or its index (e.g. #10) to jump to the radical\'s entry.")) self.gotoEdit.setWhatsThis(kdecore.i18n("Enter the radical\'s name, the radical\'s form, its stroke count or its index (e.g. #10) to jump to the radical\'s entry.")) self.gotoNextButton.setToolTip(kdecore.i18n("Go to next match")) self.gotoNextButton.setWhatsThis(kdecore.i18n("Go to the next match in the table.")) self.gotoButton.setToolTip(kdecore.i18n("Go to radical page")) self.gotoButton.setWhatsThis(kdecore.i18n("Go to radical page")) self.toRadicalTableButton.setToolTip(kdecore.i18n("Go back to radical table")) self.toRadicalTableButton.setStatusTip(kdecore.i18n("Go back to radical table")) self.nonKangxiRadicalButton.setToolTip(kdecore.i18n("Show all characters")) self.nonKangxiRadicalButton.setWhatsThis(kdecore.i18n("Show all characters including this radical form.")) self.groupRadicalFormsButton.setToolTip(kdecore.i18n("Group characters by radical place")) self.groupRadicalFormsButton.setStatusTip(kdecore.i18n("Group characters by radical placement in glyph."))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(229, 324) self.verticalLayout = QtGui.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label = QtGui.QLabel(Form) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label) self.componentEdit = KLineEdit(Form) font = QtGui.QFont() font.setPointSize(12) self.componentEdit.setFont(font) self.componentEdit.setUrlDropsEnabled(False) self.componentEdit.setProperty("showClearButton", QtCore.QVariant(True)) self.componentEdit.setObjectName("componentEdit") self.horizontalLayout_3.addWidget(self.componentEdit) self.includeSimilarButton = QtGui.QToolButton(Form) self.includeSimilarButton.setCheckable(True) self.includeSimilarButton.setChecked(True) self.includeSimilarButton.setAutoRaise(True) self.includeSimilarButton.setObjectName("includeSimilarButton") self.horizontalLayout_3.addWidget(self.includeSimilarButton) self.includeVariantsButton = QtGui.QToolButton(Form) self.includeVariantsButton.setCheckable(True) self.includeVariantsButton.setChecked(True) self.includeVariantsButton.setAutoRaise(True) self.includeVariantsButton.setObjectName("includeVariantsButton") self.horizontalLayout_3.addWidget(self.includeVariantsButton) self.verticalLayout.addLayout(self.horizontalLayout_3) self.componentSplitter = QtGui.QSplitter(Form) self.componentSplitter.setFrameShape(QtGui.QFrame.NoFrame) self.componentSplitter.setFrameShadow(QtGui.QFrame.Plain) self.componentSplitter.setOrientation(QtCore.Qt.Vertical) self.componentSplitter.setChildrenCollapsible(False) self.componentSplitter.setObjectName("componentSplitter") self.componentView = QtWebKit.QWebView(self.componentSplitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.componentView.sizePolicy().hasHeightForWidth()) self.componentView.setSizePolicy(sizePolicy) self.componentView.setContextMenuPolicy(QtCore.Qt.NoContextMenu) self.componentView.setUrl(QtCore.QUrl("about:blank")) self.componentView.setObjectName("componentView") self.verticalLayoutWidget_2 = QtGui.QWidget(self.componentSplitter) self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2") self.verticalLayout_6 = QtGui.QVBoxLayout(self.verticalLayoutWidget_2) self.verticalLayout_6.setObjectName("verticalLayout_6") self.componentResultLabel = QtGui.QLabel(self.verticalLayoutWidget_2) self.componentResultLabel.setObjectName("componentResultLabel") self.verticalLayout_6.addWidget(self.componentResultLabel) self.componentResultView = QtWebKit.QWebView(self.verticalLayoutWidget_2) self.componentResultView.setMinimumSize(QtCore.QSize(0, 45)) self.componentResultView.setMaximumSize(QtCore.QSize(16777215, 80)) self.componentResultView.setBaseSize(QtCore.QSize(0, 0)) self.componentResultView.setContextMenuPolicy(QtCore.Qt.NoContextMenu) self.componentResultView.setUrl(QtCore.QUrl("about:blank")) self.componentResultView.setObjectName("componentResultView") self.verticalLayout_6.addWidget(self.componentResultView) self.verticalLayout.addWidget(self.componentSplitter) self.label.setBuddy(self.componentEdit) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(kdecore.i18n("Form")) self.label.setText(kdecore.i18n("&Search:")) self.includeSimilarButton.setToolTip(kdecore.i18n("Include similar forms in search")) self.includeSimilarButton.setWhatsThis(kdecore.i18n("Include characters with similar forms in search.")) self.includeVariantsButton.setToolTip(kdecore.i18n("Include radical variant forms in search")) self.includeVariantsButton.setWhatsThis(kdecore.i18n("Include variant forms for a given radical in search to easily look for variants by giving the main radical form.")) self.componentResultLabel.setText(kdecore.i18n("Results:"))