1

Adding UI for adding word list from Kindle deck

Former-commit-id: d144d62024bc6780caafb71e3eec72c3fe880f48
This commit is contained in:
Alex Yatskov 2014-12-20 19:45:41 +09:00
parent 06e08dee5a
commit f67a70f536
5 changed files with 22 additions and 10 deletions

View File

@ -40,7 +40,7 @@
<x>0</x>
<y>0</y>
<width>900</width>
<height>25</height>
<height>27</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@ -64,6 +64,8 @@
<addaction name="menuOpenArchive"/>
<addaction name="menuOpenRecent"/>
<addaction name="separator"/>
<addaction name="menuImportKindleDeck"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuEdit">
@ -458,6 +460,11 @@
<string>&amp;Kanji</string>
</property>
</action>
<action name="menuImportKindleDeck">
<property name="text">
<string>Import &amp;Kindle deck...</string>
</property>
</action>
</widget>
<resources>
<include location="resources.qrc"/>

View File

@ -2,8 +2,8 @@
# Form implementation generated from reading ui file 'ui/about.ui'
#
# Created: Sat Nov 16 11:47:57 2013
# by: PyQt4 UI code generator 4.10
# Created: Sat Dec 20 19:45:21 2014
# by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

View File

@ -2,8 +2,8 @@
# Form implementation generated from reading ui file 'ui/preferences.ui'
#
# Created: Sat Nov 16 11:47:57 2013
# by: PyQt4 UI code generator 4.10
# Created: Sat Dec 20 19:45:21 2014
# by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

View File

@ -2,8 +2,8 @@
# Form implementation generated from reading ui file 'ui/reader.ui'
#
# Created: Sat Nov 16 11:47:57 2013
# by: PyQt4 UI code generator 4.10
# Created: Sat Dec 20 19:45:21 2014
# by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!
@ -42,7 +42,7 @@ class Ui_MainWindowReader(object):
self.verticalLayout_4.addWidget(self.textContent)
MainWindowReader.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindowReader)
self.menubar.setGeometry(QtCore.QRect(0, 0, 900, 25))
self.menubar.setGeometry(QtCore.QRect(0, 0, 900, 27))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menuFile = QtGui.QMenu(self.menubar)
self.menuFile.setObjectName(_fromUtf8("menuFile"))
@ -211,10 +211,14 @@ class Ui_MainWindowReader(object):
self.actionToggleKanji = QtGui.QAction(MainWindowReader)
self.actionToggleKanji.setCheckable(True)
self.actionToggleKanji.setObjectName(_fromUtf8("actionToggleKanji"))
self.menuImportKindleDeck = QtGui.QAction(MainWindowReader)
self.menuImportKindleDeck.setObjectName(_fromUtf8("menuImportKindleDeck"))
self.menuFile.addAction(self.actionOpen)
self.menuFile.addAction(self.menuOpenArchive.menuAction())
self.menuFile.addAction(self.menuOpenRecent.menuAction())
self.menuFile.addSeparator()
self.menuFile.addAction(self.menuImportKindleDeck)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionQuit)
self.menuEdit.addSeparator()
self.menuEdit.addAction(self.actionFind)
@ -304,5 +308,6 @@ class Ui_MainWindowReader(object):
self.actionToggleAnki.setText(_translate("MainWindowReader", "&Anki", None))
self.actionFeedback.setText(_translate("MainWindowReader", "&Feedback...", None))
self.actionToggleKanji.setText(_translate("MainWindowReader", "&Kanji", None))
self.menuImportKindleDeck.setText(_translate("MainWindowReader", "Import &Kindle deck...", None))
import resources_rc

View File

@ -2,8 +2,8 @@
# Resource object code
#
# Created: Sat Nov 16 11:47:57 2013
# by: The Resource Compiler for PyQt (Qt v4.8.4)
# Created: Sat Dec 20 19:45:21 2014
# by: The Resource Compiler for PyQt (Qt v4.8.6)
#
# WARNING! All changes made in this file will be lost!