class Ui_NepomukPage(object): def setupUi(self, NepomukPage): NepomukPage.setObjectName("NepomukPage") NepomukPage.resize(402, 287) self.verticalLayout = QtGui.QVBoxLayout(NepomukPage) self.verticalLayout.setObjectName("verticalLayout") self.kcfg_nepomukEnabled = QtGui.QCheckBox(NepomukPage) self.kcfg_nepomukEnabled.setEnabled(True) self.kcfg_nepomukEnabled.setObjectName("kcfg_nepomukEnabled") self.verticalLayout.addWidget(self.kcfg_nepomukEnabled) self.kcfg_tagBlacklist = KEditListBox(NepomukPage) self.kcfg_tagBlacklist.setEnabled(True) self.kcfg_tagBlacklist.setFlat(True) self.kcfg_tagBlacklist.setCheckable(False) self.kcfg_tagBlacklist.setButtons( KEditListBox.Button(KEditListBox.Add | KEditListBox.Remove)) self.kcfg_tagBlacklist.setObjectName("kcfg_tagBlacklist") self.verticalLayout.addWidget(self.kcfg_tagBlacklist) self.retranslateUi(NepomukPage) QtCore.QMetaObject.connectSlotsByName(NepomukPage) def retranslateUi(self, NepomukPage): self.kcfg_nepomukEnabled.setWhatsThis( kdecore.i18n( "Check this to enable semantic tagging of the downloaded images, using Nepomuk." )) self.kcfg_nepomukEnabled.setText( kdecore.i18n("Enable Nepomuk tagging")) self.kcfg_tagBlacklist.setWhatsThis( kdecore.i18n( "Insert tags that you do not want to appear in your searches, regardless of the rating. They will also be excluded if the Nepomuk tagging is enabled." )) self.kcfg_tagBlacklist.setTitle(kdecore.i18n("Blacklisted tags"))
class Ui_NepomukPage(object): def setupUi(self, NepomukPage): NepomukPage.setObjectName("NepomukPage") NepomukPage.resize(402, 287) self.verticalLayout = QtGui.QVBoxLayout(NepomukPage) self.verticalLayout.setObjectName("verticalLayout") self.kcfg_nepomukEnabled = QtGui.QCheckBox(NepomukPage) self.kcfg_nepomukEnabled.setEnabled(True) self.kcfg_nepomukEnabled.setObjectName("kcfg_nepomukEnabled") self.verticalLayout.addWidget(self.kcfg_nepomukEnabled) self.kcfg_tagBlacklist = KEditListBox(NepomukPage) self.kcfg_tagBlacklist.setEnabled(True) self.kcfg_tagBlacklist.setFlat(True) self.kcfg_tagBlacklist.setCheckable(False) self.kcfg_tagBlacklist.setButtons(KEditListBox.Button( KEditListBox.Add|KEditListBox.Remove)) self.kcfg_tagBlacklist.setObjectName("kcfg_tagBlacklist") self.verticalLayout.addWidget(self.kcfg_tagBlacklist) self.retranslateUi(NepomukPage) QtCore.QMetaObject.connectSlotsByName(NepomukPage) def retranslateUi(self, NepomukPage): self.kcfg_nepomukEnabled.setWhatsThis(kdecore.i18n("Check this to enable semantic tagging of the downloaded images, using Nepomuk.")) self.kcfg_nepomukEnabled.setText(kdecore.i18n("Enable Nepomuk tagging")) self.kcfg_tagBlacklist.setWhatsThis(kdecore.i18n("Insert tags that you do not want to appear in your searches, regardless of the rating. They will also be excluded if the Nepomuk tagging is enabled.")) self.kcfg_tagBlacklist.setTitle(kdecore.i18n("Blacklisted tags"))
class Ui_DanbooruPage(object): def setupUi(self, DanbooruPage): DanbooruPage.setObjectName("DanbooruPage") DanbooruPage.resize(400, 300) self.verticalLayout = QtGui.QVBoxLayout(DanbooruPage) self.verticalLayout.setObjectName("verticalLayout") self.kcfg_danbooruUrls = KEditListBox(DanbooruPage) self.kcfg_danbooruUrls.setFlat(True) self.kcfg_danbooruUrls.setCheckable(False) self.kcfg_danbooruUrls.setButtons(KEditListBox.Button(KEditListBox.Add|KEditListBox.Remove)) self.kcfg_danbooruUrls.setObjectName("kcfg_danbooruUrls") self.verticalLayout.addWidget(self.kcfg_danbooruUrls) self.retranslateUi(DanbooruPage) QtCore.QMetaObject.connectSlotsByName(DanbooruPage) def retranslateUi(self, DanbooruPage): pass