updating constants
This commit is contained in:
parent
be688ec74a
commit
9eccefb09e
@ -19,6 +19,6 @@ constants = {
|
|||||||
'version': '0.03b',
|
'version': '0.03b',
|
||||||
|
|
||||||
'urlUpdates': 'http://foosoft.net/projects/yomichan/dev/updates.xml',
|
'urlUpdates': 'http://foosoft.net/projects/yomichan/dev/updates.xml',
|
||||||
'urlHomepage': 'https://code.google.com/p/yomichan/',
|
'urlHomepage': 'https://github.com/FooSoft/yomichan/',
|
||||||
'urlFeedback': 'http://foosoft.net/contact/'
|
'urlFeedback': 'http://foosoft.net/index.php/comments/'
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'dev/reader.ui'
|
# Form implementation generated from reading ui file 'dev/reader.ui'
|
||||||
#
|
#
|
||||||
# Created: Sun Feb 20 11:54:17 2011
|
# Created: Fri Oct 7 08:55:15 2011
|
||||||
# by: PyQt4 UI code generator 4.8.3
|
# by: PyQt4 UI code generator 4.8.5
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
@ -19,6 +19,7 @@ class Ui_MainWindowReader(object):
|
|||||||
MainWindowReader.setObjectName(_fromUtf8("MainWindowReader"))
|
MainWindowReader.setObjectName(_fromUtf8("MainWindowReader"))
|
||||||
MainWindowReader.resize(900, 650)
|
MainWindowReader.resize(900, 650)
|
||||||
MainWindowReader.setAcceptDrops(True)
|
MainWindowReader.setAcceptDrops(True)
|
||||||
|
MainWindowReader.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "Yomichan", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
icon = QtGui.QIcon()
|
icon = QtGui.QIcon()
|
||||||
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/logos/logos/logo32x32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/logos/logos/logo32x32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
MainWindowReader.setWindowIcon(icon)
|
MainWindowReader.setWindowIcon(icon)
|
||||||
@ -36,23 +37,31 @@ class Ui_MainWindowReader(object):
|
|||||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 900, 25))
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 900, 25))
|
||||||
self.menubar.setObjectName(_fromUtf8("menubar"))
|
self.menubar.setObjectName(_fromUtf8("menubar"))
|
||||||
self.menuFile = QtGui.QMenu(self.menubar)
|
self.menuFile = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuFile.setTitle(QtGui.QApplication.translate("MainWindowReader", "&File", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.menuFile.setObjectName(_fromUtf8("menuFile"))
|
self.menuFile.setObjectName(_fromUtf8("menuFile"))
|
||||||
self.menuOpenRecent = QtGui.QMenu(self.menuFile)
|
self.menuOpenRecent = QtGui.QMenu(self.menuFile)
|
||||||
|
self.menuOpenRecent.setTitle(QtGui.QApplication.translate("MainWindowReader", "Open &recent", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.menuOpenRecent.setObjectName(_fromUtf8("menuOpenRecent"))
|
self.menuOpenRecent.setObjectName(_fromUtf8("menuOpenRecent"))
|
||||||
self.menuEdit = QtGui.QMenu(self.menubar)
|
self.menuEdit = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuEdit.setTitle(QtGui.QApplication.translate("MainWindowReader", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
|
self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
|
||||||
self.menuHelp = QtGui.QMenu(self.menubar)
|
self.menuHelp = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindowReader", "&Help", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
|
self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
|
||||||
self.menuView = QtGui.QMenu(self.menubar)
|
self.menuView = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuView.setTitle(QtGui.QApplication.translate("MainWindowReader", "&View", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.menuView.setObjectName(_fromUtf8("menuView"))
|
self.menuView.setObjectName(_fromUtf8("menuView"))
|
||||||
self.menuTextSize = QtGui.QMenu(self.menuView)
|
self.menuTextSize = QtGui.QMenu(self.menuView)
|
||||||
|
self.menuTextSize.setTitle(QtGui.QApplication.translate("MainWindowReader", "&Zoom", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.menuTextSize.setObjectName(_fromUtf8("menuTextSize"))
|
self.menuTextSize.setObjectName(_fromUtf8("menuTextSize"))
|
||||||
MainWindowReader.setMenuBar(self.menubar)
|
MainWindowReader.setMenuBar(self.menubar)
|
||||||
self.toolBar = QtGui.QToolBar(MainWindowReader)
|
self.toolBar = QtGui.QToolBar(MainWindowReader)
|
||||||
|
self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.toolBar.setIconSize(QtCore.QSize(16, 16))
|
self.toolBar.setIconSize(QtCore.QSize(16, 16))
|
||||||
self.toolBar.setObjectName(_fromUtf8("toolBar"))
|
self.toolBar.setObjectName(_fromUtf8("toolBar"))
|
||||||
MainWindowReader.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
MainWindowReader.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
||||||
self.dockDefinitions = QtGui.QDockWidget(MainWindowReader)
|
self.dockDefinitions = QtGui.QDockWidget(MainWindowReader)
|
||||||
|
self.dockDefinitions.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "Definitions", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.dockDefinitions.setObjectName(_fromUtf8("dockDefinitions"))
|
self.dockDefinitions.setObjectName(_fromUtf8("dockDefinitions"))
|
||||||
self.dockWidgetContents = QtGui.QWidget()
|
self.dockWidgetContents = QtGui.QWidget()
|
||||||
self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
|
self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
|
||||||
@ -66,6 +75,7 @@ class Ui_MainWindowReader(object):
|
|||||||
self.horizontalLayout_3 = QtGui.QHBoxLayout()
|
self.horizontalLayout_3 = QtGui.QHBoxLayout()
|
||||||
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
|
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
|
||||||
self.label = QtGui.QLabel(self.dockWidgetContents)
|
self.label = QtGui.QLabel(self.dockWidgetContents)
|
||||||
|
self.label.setText(QtGui.QApplication.translate("MainWindowReader", "Search", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label.setObjectName(_fromUtf8("label"))
|
self.label.setObjectName(_fromUtf8("label"))
|
||||||
self.horizontalLayout_3.addWidget(self.label)
|
self.horizontalLayout_3.addWidget(self.label)
|
||||||
self.textDefinitionSearch = QtGui.QLineEdit(self.dockWidgetContents)
|
self.textDefinitionSearch = QtGui.QLineEdit(self.dockWidgetContents)
|
||||||
@ -78,6 +88,7 @@ class Ui_MainWindowReader(object):
|
|||||||
self.statusBar.setObjectName(_fromUtf8("statusBar"))
|
self.statusBar.setObjectName(_fromUtf8("statusBar"))
|
||||||
MainWindowReader.setStatusBar(self.statusBar)
|
MainWindowReader.setStatusBar(self.statusBar)
|
||||||
self.dockAnki = QtGui.QDockWidget(MainWindowReader)
|
self.dockAnki = QtGui.QDockWidget(MainWindowReader)
|
||||||
|
self.dockAnki.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "Anki", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.dockAnki.setObjectName(_fromUtf8("dockAnki"))
|
self.dockAnki.setObjectName(_fromUtf8("dockAnki"))
|
||||||
self.dockWidgetContents_2 = QtGui.QWidget()
|
self.dockWidgetContents_2 = QtGui.QWidget()
|
||||||
self.dockWidgetContents_2.setObjectName(_fromUtf8("dockWidgetContents_2"))
|
self.dockWidgetContents_2.setObjectName(_fromUtf8("dockWidgetContents_2"))
|
||||||
@ -89,6 +100,7 @@ class Ui_MainWindowReader(object):
|
|||||||
self.horizontalLayout_2 = QtGui.QHBoxLayout()
|
self.horizontalLayout_2 = QtGui.QHBoxLayout()
|
||||||
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
|
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
|
||||||
self.label_3 = QtGui.QLabel(self.dockWidgetContents_2)
|
self.label_3 = QtGui.QLabel(self.dockWidgetContents_2)
|
||||||
|
self.label_3.setText(QtGui.QApplication.translate("MainWindowReader", "Active tag(s)", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_3.setObjectName(_fromUtf8("label_3"))
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
||||||
self.horizontalLayout_2.addWidget(self.label_3)
|
self.horizontalLayout_2.addWidget(self.label_3)
|
||||||
self.comboTags = QtGui.QComboBox(self.dockWidgetContents_2)
|
self.comboTags = QtGui.QComboBox(self.dockWidgetContents_2)
|
||||||
@ -107,82 +119,119 @@ class Ui_MainWindowReader(object):
|
|||||||
icon1 = QtGui.QIcon()
|
icon1 = QtGui.QIcon()
|
||||||
icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/folder_page.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/folder_page.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionOpen.setIcon(icon1)
|
self.actionOpen.setIcon(icon1)
|
||||||
|
self.actionOpen.setText(QtGui.QApplication.translate("MainWindowReader", "&Open...", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionOpen.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Open file", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionOpen.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionOpen.setIconVisibleInMenu(True)
|
self.actionOpen.setIconVisibleInMenu(True)
|
||||||
self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
|
self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
|
||||||
self.actionQuit = QtGui.QAction(MainWindowReader)
|
self.actionQuit = QtGui.QAction(MainWindowReader)
|
||||||
icon2 = QtGui.QIcon()
|
icon2 = QtGui.QIcon()
|
||||||
icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/cross.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/cross.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionQuit.setIcon(icon2)
|
self.actionQuit.setIcon(icon2)
|
||||||
|
self.actionQuit.setText(QtGui.QApplication.translate("MainWindowReader", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionQuit.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Quit Yomichan", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionQuit.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionQuit.setIconVisibleInMenu(True)
|
self.actionQuit.setIconVisibleInMenu(True)
|
||||||
self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
|
self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
|
||||||
self.actionPreferences = QtGui.QAction(MainWindowReader)
|
self.actionPreferences = QtGui.QAction(MainWindowReader)
|
||||||
icon3 = QtGui.QIcon()
|
icon3 = QtGui.QIcon()
|
||||||
icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/wrench.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/wrench.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionPreferences.setIcon(icon3)
|
self.actionPreferences.setIcon(icon3)
|
||||||
|
self.actionPreferences.setText(QtGui.QApplication.translate("MainWindowReader", "&Preferences...", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionPreferences.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Edit preferences", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionPreferences.setIconVisibleInMenu(True)
|
self.actionPreferences.setIconVisibleInMenu(True)
|
||||||
self.actionPreferences.setObjectName(_fromUtf8("actionPreferences"))
|
self.actionPreferences.setObjectName(_fromUtf8("actionPreferences"))
|
||||||
self.actionAbout = QtGui.QAction(MainWindowReader)
|
self.actionAbout = QtGui.QAction(MainWindowReader)
|
||||||
icon4 = QtGui.QIcon()
|
icon4 = QtGui.QIcon()
|
||||||
icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/information.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/information.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionAbout.setIcon(icon4)
|
self.actionAbout.setIcon(icon4)
|
||||||
|
self.actionAbout.setText(QtGui.QApplication.translate("MainWindowReader", "&About...", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionAbout.setToolTip(QtGui.QApplication.translate("MainWindowReader", "About Yomichan", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionAbout.setShortcut(QtGui.QApplication.translate("MainWindowReader", "F1", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionAbout.setIconVisibleInMenu(True)
|
self.actionAbout.setIconVisibleInMenu(True)
|
||||||
self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
|
self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
|
||||||
self.actionZoomIn = QtGui.QAction(MainWindowReader)
|
self.actionZoomIn = QtGui.QAction(MainWindowReader)
|
||||||
icon5 = QtGui.QIcon()
|
icon5 = QtGui.QIcon()
|
||||||
icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/magnifier_zoom_in.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/magnifier_zoom_in.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionZoomIn.setIcon(icon5)
|
self.actionZoomIn.setIcon(icon5)
|
||||||
|
self.actionZoomIn.setText(QtGui.QApplication.translate("MainWindowReader", "Zoom &in", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionZoomIn.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl++", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionZoomIn.setIconVisibleInMenu(True)
|
self.actionZoomIn.setIconVisibleInMenu(True)
|
||||||
self.actionZoomIn.setObjectName(_fromUtf8("actionZoomIn"))
|
self.actionZoomIn.setObjectName(_fromUtf8("actionZoomIn"))
|
||||||
self.actionZoomOut = QtGui.QAction(MainWindowReader)
|
self.actionZoomOut = QtGui.QAction(MainWindowReader)
|
||||||
icon6 = QtGui.QIcon()
|
icon6 = QtGui.QIcon()
|
||||||
icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/magifier_zoom_out.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/magifier_zoom_out.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionZoomOut.setIcon(icon6)
|
self.actionZoomOut.setIcon(icon6)
|
||||||
|
self.actionZoomOut.setText(QtGui.QApplication.translate("MainWindowReader", "Zoom &out", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionZoomOut.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+-", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionZoomOut.setIconVisibleInMenu(True)
|
self.actionZoomOut.setIconVisibleInMenu(True)
|
||||||
self.actionZoomOut.setObjectName(_fromUtf8("actionZoomOut"))
|
self.actionZoomOut.setObjectName(_fromUtf8("actionZoomOut"))
|
||||||
self.actionZoomReset = QtGui.QAction(MainWindowReader)
|
self.actionZoomReset = QtGui.QAction(MainWindowReader)
|
||||||
icon7 = QtGui.QIcon()
|
icon7 = QtGui.QIcon()
|
||||||
icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/magnifier.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/magnifier.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionZoomReset.setIcon(icon7)
|
self.actionZoomReset.setIcon(icon7)
|
||||||
|
self.actionZoomReset.setText(QtGui.QApplication.translate("MainWindowReader", "&Reset", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionZoomReset.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Reset zoom", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionZoomReset.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+0", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionZoomReset.setIconVisibleInMenu(True)
|
self.actionZoomReset.setIconVisibleInMenu(True)
|
||||||
self.actionZoomReset.setObjectName(_fromUtf8("actionZoomReset"))
|
self.actionZoomReset.setObjectName(_fromUtf8("actionZoomReset"))
|
||||||
self.actionFind = QtGui.QAction(MainWindowReader)
|
self.actionFind = QtGui.QAction(MainWindowReader)
|
||||||
icon8 = QtGui.QIcon()
|
icon8 = QtGui.QIcon()
|
||||||
icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/find.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/find.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionFind.setIcon(icon8)
|
self.actionFind.setIcon(icon8)
|
||||||
|
self.actionFind.setText(QtGui.QApplication.translate("MainWindowReader", "&Find...", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionFind.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Find text", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionFind.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+F", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionFind.setIconVisibleInMenu(True)
|
self.actionFind.setIconVisibleInMenu(True)
|
||||||
self.actionFind.setObjectName(_fromUtf8("actionFind"))
|
self.actionFind.setObjectName(_fromUtf8("actionFind"))
|
||||||
self.actionFindNext = QtGui.QAction(MainWindowReader)
|
self.actionFindNext = QtGui.QAction(MainWindowReader)
|
||||||
|
self.actionFindNext.setText(QtGui.QApplication.translate("MainWindowReader", "Find &next", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionFindNext.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Find text again", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionFindNext.setShortcut(QtGui.QApplication.translate("MainWindowReader", "F3", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionFindNext.setObjectName(_fromUtf8("actionFindNext"))
|
self.actionFindNext.setObjectName(_fromUtf8("actionFindNext"))
|
||||||
self.actionToggleWrap = QtGui.QAction(MainWindowReader)
|
self.actionToggleWrap = QtGui.QAction(MainWindowReader)
|
||||||
self.actionToggleWrap.setCheckable(True)
|
self.actionToggleWrap.setCheckable(True)
|
||||||
self.actionToggleWrap.setChecked(True)
|
self.actionToggleWrap.setChecked(True)
|
||||||
|
self.actionToggleWrap.setText(QtGui.QApplication.translate("MainWindowReader", "&Word wrap", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionToggleWrap.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Toggle word wrap", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionToggleWrap.setObjectName(_fromUtf8("actionToggleWrap"))
|
self.actionToggleWrap.setObjectName(_fromUtf8("actionToggleWrap"))
|
||||||
self.actionToggleDefinitions = QtGui.QAction(MainWindowReader)
|
self.actionToggleDefinitions = QtGui.QAction(MainWindowReader)
|
||||||
self.actionToggleDefinitions.setCheckable(True)
|
self.actionToggleDefinitions.setCheckable(True)
|
||||||
|
self.actionToggleDefinitions.setText(QtGui.QApplication.translate("MainWindowReader", "&Definitions", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionToggleDefinitions.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Toggle definitions", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionToggleDefinitions.setObjectName(_fromUtf8("actionToggleDefinitions"))
|
self.actionToggleDefinitions.setObjectName(_fromUtf8("actionToggleDefinitions"))
|
||||||
self.actionCopyDefinition = QtGui.QAction(MainWindowReader)
|
self.actionCopyDefinition = QtGui.QAction(MainWindowReader)
|
||||||
icon9 = QtGui.QIcon()
|
icon9 = QtGui.QIcon()
|
||||||
icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/page_copy.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/page_copy.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionCopyDefinition.setIcon(icon9)
|
self.actionCopyDefinition.setIcon(icon9)
|
||||||
|
self.actionCopyDefinition.setText(QtGui.QApplication.translate("MainWindowReader", "Copy &definition", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionCopyDefinition.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+D", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionCopyDefinition.setIconVisibleInMenu(True)
|
self.actionCopyDefinition.setIconVisibleInMenu(True)
|
||||||
self.actionCopyDefinition.setObjectName(_fromUtf8("actionCopyDefinition"))
|
self.actionCopyDefinition.setObjectName(_fromUtf8("actionCopyDefinition"))
|
||||||
self.actionCopyAllDefinitions = QtGui.QAction(MainWindowReader)
|
self.actionCopyAllDefinitions = QtGui.QAction(MainWindowReader)
|
||||||
|
self.actionCopyAllDefinitions.setText(QtGui.QApplication.translate("MainWindowReader", "Copy &all definitions", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionCopyAllDefinitions.setObjectName(_fromUtf8("actionCopyAllDefinitions"))
|
self.actionCopyAllDefinitions.setObjectName(_fromUtf8("actionCopyAllDefinitions"))
|
||||||
self.actionHomepage = QtGui.QAction(MainWindowReader)
|
self.actionHomepage = QtGui.QAction(MainWindowReader)
|
||||||
icon10 = QtGui.QIcon()
|
icon10 = QtGui.QIcon()
|
||||||
icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/world_go.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/world_go.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionHomepage.setIcon(icon10)
|
self.actionHomepage.setIcon(icon10)
|
||||||
|
self.actionHomepage.setText(QtGui.QApplication.translate("MainWindowReader", "&Homepage...", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionHomepage.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Yomichan homepage", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionHomepage.setIconVisibleInMenu(True)
|
self.actionHomepage.setIconVisibleInMenu(True)
|
||||||
self.actionHomepage.setObjectName(_fromUtf8("actionHomepage"))
|
self.actionHomepage.setObjectName(_fromUtf8("actionHomepage"))
|
||||||
self.actionToggleAnki = QtGui.QAction(MainWindowReader)
|
self.actionToggleAnki = QtGui.QAction(MainWindowReader)
|
||||||
self.actionToggleAnki.setCheckable(True)
|
self.actionToggleAnki.setCheckable(True)
|
||||||
|
self.actionToggleAnki.setText(QtGui.QApplication.translate("MainWindowReader", "&Anki", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionToggleAnki.setObjectName(_fromUtf8("actionToggleAnki"))
|
self.actionToggleAnki.setObjectName(_fromUtf8("actionToggleAnki"))
|
||||||
self.actionCopySentence = QtGui.QAction(MainWindowReader)
|
self.actionCopySentence = QtGui.QAction(MainWindowReader)
|
||||||
|
self.actionCopySentence.setText(QtGui.QApplication.translate("MainWindowReader", "Copy sen&tence", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionCopySentence.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+T", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionCopySentence.setObjectName(_fromUtf8("actionCopySentence"))
|
self.actionCopySentence.setObjectName(_fromUtf8("actionCopySentence"))
|
||||||
self.actionFeedback = QtGui.QAction(MainWindowReader)
|
self.actionFeedback = QtGui.QAction(MainWindowReader)
|
||||||
icon11 = QtGui.QIcon()
|
icon11 = QtGui.QIcon()
|
||||||
icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/email.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/icons/email.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||||
self.actionFeedback.setIcon(icon11)
|
self.actionFeedback.setIcon(icon11)
|
||||||
|
self.actionFeedback.setText(QtGui.QApplication.translate("MainWindowReader", "&Feedback...", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.actionFeedback.setObjectName(_fromUtf8("actionFeedback"))
|
self.actionFeedback.setObjectName(_fromUtf8("actionFeedback"))
|
||||||
self.menuFile.addAction(self.actionOpen)
|
self.menuFile.addAction(self.actionOpen)
|
||||||
self.menuFile.addAction(self.menuOpenRecent.menuAction())
|
self.menuFile.addAction(self.menuOpenRecent.menuAction())
|
||||||
@ -226,59 +275,9 @@ class Ui_MainWindowReader(object):
|
|||||||
QtCore.QObject.connect(self.actionToggleDefinitions, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dockDefinitions.setVisible)
|
QtCore.QObject.connect(self.actionToggleDefinitions, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dockDefinitions.setVisible)
|
||||||
QtCore.QObject.connect(self.actionQuit, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindowReader.close)
|
QtCore.QObject.connect(self.actionQuit, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindowReader.close)
|
||||||
QtCore.QObject.connect(self.actionToggleAnki, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dockAnki.setVisible)
|
QtCore.QObject.connect(self.actionToggleAnki, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dockAnki.setVisible)
|
||||||
QtCore.QObject.connect(self.dockDefinitions, QtCore.SIGNAL(_fromUtf8("visibilityChanged(bool)")), self.actionToggleDefinitions.setChecked)
|
|
||||||
QtCore.QObject.connect(self.dockAnki, QtCore.SIGNAL(_fromUtf8("visibilityChanged(bool)")), self.actionToggleAnki.setChecked)
|
|
||||||
QtCore.QMetaObject.connectSlotsByName(MainWindowReader)
|
QtCore.QMetaObject.connectSlotsByName(MainWindowReader)
|
||||||
|
|
||||||
def retranslateUi(self, MainWindowReader):
|
def retranslateUi(self, MainWindowReader):
|
||||||
MainWindowReader.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "Yomichan", None, QtGui.QApplication.UnicodeUTF8))
|
pass
|
||||||
self.menuFile.setTitle(QtGui.QApplication.translate("MainWindowReader", "&File", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.menuOpenRecent.setTitle(QtGui.QApplication.translate("MainWindowReader", "Open &recent", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.menuEdit.setTitle(QtGui.QApplication.translate("MainWindowReader", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindowReader", "&Help", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.menuView.setTitle(QtGui.QApplication.translate("MainWindowReader", "&View", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.menuTextSize.setTitle(QtGui.QApplication.translate("MainWindowReader", "&Zoom", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.dockDefinitions.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "Definitions", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label.setText(QtGui.QApplication.translate("MainWindowReader", "Search", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.dockAnki.setWindowTitle(QtGui.QApplication.translate("MainWindowReader", "Anki", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label_3.setText(QtGui.QApplication.translate("MainWindowReader", "Active tag(s)", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionOpen.setText(QtGui.QApplication.translate("MainWindowReader", "&Open...", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionOpen.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Open file", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionOpen.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionQuit.setText(QtGui.QApplication.translate("MainWindowReader", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionQuit.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Quit Yomichan", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionQuit.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionPreferences.setText(QtGui.QApplication.translate("MainWindowReader", "&Preferences...", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionPreferences.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Edit preferences", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionAbout.setText(QtGui.QApplication.translate("MainWindowReader", "&About...", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionAbout.setToolTip(QtGui.QApplication.translate("MainWindowReader", "About Yomichan", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionAbout.setShortcut(QtGui.QApplication.translate("MainWindowReader", "F1", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomIn.setText(QtGui.QApplication.translate("MainWindowReader", "Zoom &in", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomIn.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl++", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomOut.setText(QtGui.QApplication.translate("MainWindowReader", "Zoom &out", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomOut.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+-", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomReset.setText(QtGui.QApplication.translate("MainWindowReader", "&Reset", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomReset.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Reset zoom", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionZoomReset.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+0", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFind.setText(QtGui.QApplication.translate("MainWindowReader", "&Find...", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFind.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Find text", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFind.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+F", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFindNext.setText(QtGui.QApplication.translate("MainWindowReader", "Find &next", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFindNext.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Find text again", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFindNext.setShortcut(QtGui.QApplication.translate("MainWindowReader", "F3", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionToggleWrap.setText(QtGui.QApplication.translate("MainWindowReader", "&Word wrap", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionToggleWrap.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Toggle word wrap", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionToggleDefinitions.setText(QtGui.QApplication.translate("MainWindowReader", "&Definitions", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionToggleDefinitions.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Toggle definitions", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionCopyDefinition.setText(QtGui.QApplication.translate("MainWindowReader", "Copy &definition", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionCopyDefinition.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+D", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionCopyAllDefinitions.setText(QtGui.QApplication.translate("MainWindowReader", "Copy &all definitions", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionHomepage.setText(QtGui.QApplication.translate("MainWindowReader", "&Homepage...", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionHomepage.setToolTip(QtGui.QApplication.translate("MainWindowReader", "Yomichan homepage", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionToggleAnki.setText(QtGui.QApplication.translate("MainWindowReader", "&Anki", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionCopySentence.setText(QtGui.QApplication.translate("MainWindowReader", "Copy sen&tence", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionCopySentence.setShortcut(QtGui.QApplication.translate("MainWindowReader", "Ctrl+T", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.actionFeedback.setText(QtGui.QApplication.translate("MainWindowReader", "&Feedback...", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
|
|
||||||
import resources_rc
|
import resources_rc
|
||||||
|
@ -488,37 +488,5 @@
|
|||||||
</hint>
|
</hint>
|
||||||
</hints>
|
</hints>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
|
||||||
<sender>dockDefinitions</sender>
|
|
||||||
<signal>visibilityChanged(bool)</signal>
|
|
||||||
<receiver>actionToggleDefinitions</receiver>
|
|
||||||
<slot>setChecked(bool)</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>762</x>
|
|
||||||
<y>342</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>-1</x>
|
|
||||||
<y>-1</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>dockAnki</sender>
|
|
||||||
<signal>visibilityChanged(bool)</signal>
|
|
||||||
<receiver>actionToggleAnki</receiver>
|
|
||||||
<slot>setChecked(bool)</slot>
|
|
||||||
<hints>
|
|
||||||
<hint type="sourcelabel">
|
|
||||||
<x>136</x>
|
|
||||||
<y>342</y>
|
|
||||||
</hint>
|
|
||||||
<hint type="destinationlabel">
|
|
||||||
<x>-1</x>
|
|
||||||
<y>-1</y>
|
|
||||||
</hint>
|
|
||||||
</hints>
|
|
||||||
</connection>
|
|
||||||
</connections>
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
Loading…
Reference in New Issue
Block a user