1

Updating UI

Former-commit-id: e07cfabcd07f7f34421f75bb69aaa03e31b980eb
This commit is contained in:
Alex Yatskov 2014-12-24 17:04:57 +09:00
parent 3c484fcbbd
commit 1d5b9f8234
5 changed files with 31 additions and 25 deletions

View File

@ -47,24 +47,22 @@
<property name="title"> <property name="title">
<string>&amp;File</string> <string>&amp;File</string>
</property> </property>
<widget class="QMenu" name="menuOpenArchive">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Open from &amp;archive</string>
</property>
</widget>
<widget class="QMenu" name="menuOpenRecent"> <widget class="QMenu" name="menuOpenRecent">
<property name="title"> <property name="title">
<string>Open &amp;recent</string> <string>Open &amp;recent</string>
</property> </property>
</widget> </widget>
<widget class="QMenu" name="menuImport">
<property name="title">
<string>&amp;Import</string>
</property>
<addaction name="actionKindleDeck"/>
<addaction name="actionWordList"/>
</widget>
<addaction name="actionOpen"/> <addaction name="actionOpen"/>
<addaction name="menuOpenArchive"/>
<addaction name="menuOpenRecent"/> <addaction name="menuOpenRecent"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="actionImportKindleDeck"/> <addaction name="menuImport"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="actionQuit"/> <addaction name="actionQuit"/>
</widget> </widget>
@ -460,9 +458,14 @@
<string>&amp;Kanji</string> <string>&amp;Kanji</string>
</property> </property>
</action> </action>
<action name="actionImportKindleDeck"> <action name="actionKindleDeck">
<property name="text"> <property name="text">
<string>Import &amp;Kindle deck...</string> <string>&amp;Kindle deck...</string>
</property>
</action>
<action name="actionWordList">
<property name="text">
<string>&amp;Word list...</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'ui/about.ui' # Form implementation generated from reading ui file 'ui/about.ui'
# #
# Created: Sat Dec 20 20:08:12 2014 # Created: Wed Dec 24 17:04:45 2014
# by: PyQt4 UI code generator 4.10.4 # by: PyQt4 UI code generator 4.10.4
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'ui/preferences.ui' # Form implementation generated from reading ui file 'ui/preferences.ui'
# #
# Created: Sat Dec 20 20:08:12 2014 # Created: Wed Dec 24 17:04:45 2014
# by: PyQt4 UI code generator 4.10.4 # by: PyQt4 UI code generator 4.10.4
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'ui/reader.ui' # Form implementation generated from reading ui file 'ui/reader.ui'
# #
# Created: Sat Dec 20 20:08:13 2014 # Created: Wed Dec 24 17:04:45 2014
# by: PyQt4 UI code generator 4.10.4 # by: PyQt4 UI code generator 4.10.4
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -46,11 +46,10 @@ class Ui_MainWindowReader(object):
self.menubar.setObjectName(_fromUtf8("menubar")) self.menubar.setObjectName(_fromUtf8("menubar"))
self.menuFile = QtGui.QMenu(self.menubar) self.menuFile = QtGui.QMenu(self.menubar)
self.menuFile.setObjectName(_fromUtf8("menuFile")) self.menuFile.setObjectName(_fromUtf8("menuFile"))
self.menuOpenArchive = QtGui.QMenu(self.menuFile)
self.menuOpenArchive.setEnabled(False)
self.menuOpenArchive.setObjectName(_fromUtf8("menuOpenArchive"))
self.menuOpenRecent = QtGui.QMenu(self.menuFile) self.menuOpenRecent = QtGui.QMenu(self.menuFile)
self.menuOpenRecent.setObjectName(_fromUtf8("menuOpenRecent")) self.menuOpenRecent.setObjectName(_fromUtf8("menuOpenRecent"))
self.menuImport = QtGui.QMenu(self.menuFile)
self.menuImport.setObjectName(_fromUtf8("menuImport"))
self.menuEdit = QtGui.QMenu(self.menubar) self.menuEdit = QtGui.QMenu(self.menubar)
self.menuEdit.setObjectName(_fromUtf8("menuEdit")) self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp = QtGui.QMenu(self.menubar)
@ -211,13 +210,16 @@ class Ui_MainWindowReader(object):
self.actionToggleKanji = QtGui.QAction(MainWindowReader) self.actionToggleKanji = QtGui.QAction(MainWindowReader)
self.actionToggleKanji.setCheckable(True) self.actionToggleKanji.setCheckable(True)
self.actionToggleKanji.setObjectName(_fromUtf8("actionToggleKanji")) self.actionToggleKanji.setObjectName(_fromUtf8("actionToggleKanji"))
self.actionImportKindleDeck = QtGui.QAction(MainWindowReader) self.actionKindleDeck = QtGui.QAction(MainWindowReader)
self.actionImportKindleDeck.setObjectName(_fromUtf8("actionImportKindleDeck")) self.actionKindleDeck.setObjectName(_fromUtf8("actionKindleDeck"))
self.actionWordList = QtGui.QAction(MainWindowReader)
self.actionWordList.setObjectName(_fromUtf8("actionWordList"))
self.menuImport.addAction(self.actionKindleDeck)
self.menuImport.addAction(self.actionWordList)
self.menuFile.addAction(self.actionOpen) self.menuFile.addAction(self.actionOpen)
self.menuFile.addAction(self.menuOpenArchive.menuAction())
self.menuFile.addAction(self.menuOpenRecent.menuAction()) self.menuFile.addAction(self.menuOpenRecent.menuAction())
self.menuFile.addSeparator() self.menuFile.addSeparator()
self.menuFile.addAction(self.actionImportKindleDeck) self.menuFile.addAction(self.menuImport.menuAction())
self.menuFile.addSeparator() self.menuFile.addSeparator()
self.menuFile.addAction(self.actionQuit) self.menuFile.addAction(self.actionQuit)
self.menuEdit.addSeparator() self.menuEdit.addSeparator()
@ -262,8 +264,8 @@ class Ui_MainWindowReader(object):
def retranslateUi(self, MainWindowReader): def retranslateUi(self, MainWindowReader):
MainWindowReader.setWindowTitle(_translate("MainWindowReader", "Yomichan", None)) MainWindowReader.setWindowTitle(_translate("MainWindowReader", "Yomichan", None))
self.menuFile.setTitle(_translate("MainWindowReader", "&File", None)) self.menuFile.setTitle(_translate("MainWindowReader", "&File", None))
self.menuOpenArchive.setTitle(_translate("MainWindowReader", "Open from &archive", None))
self.menuOpenRecent.setTitle(_translate("MainWindowReader", "Open &recent", None)) self.menuOpenRecent.setTitle(_translate("MainWindowReader", "Open &recent", None))
self.menuImport.setTitle(_translate("MainWindowReader", "&Import", None))
self.menuEdit.setTitle(_translate("MainWindowReader", "&Edit", None)) self.menuEdit.setTitle(_translate("MainWindowReader", "&Edit", None))
self.menuHelp.setTitle(_translate("MainWindowReader", "&Help", None)) self.menuHelp.setTitle(_translate("MainWindowReader", "&Help", None))
self.menuView.setTitle(_translate("MainWindowReader", "&View", None)) self.menuView.setTitle(_translate("MainWindowReader", "&View", None))
@ -308,6 +310,7 @@ class Ui_MainWindowReader(object):
self.actionToggleAnki.setText(_translate("MainWindowReader", "&Anki", None)) self.actionToggleAnki.setText(_translate("MainWindowReader", "&Anki", None))
self.actionFeedback.setText(_translate("MainWindowReader", "&Feedback...", None)) self.actionFeedback.setText(_translate("MainWindowReader", "&Feedback...", None))
self.actionToggleKanji.setText(_translate("MainWindowReader", "&Kanji", None)) self.actionToggleKanji.setText(_translate("MainWindowReader", "&Kanji", None))
self.actionImportKindleDeck.setText(_translate("MainWindowReader", "Import &Kindle deck...", None)) self.actionKindleDeck.setText(_translate("MainWindowReader", "&Kindle deck...", None))
self.actionWordList.setText(_translate("MainWindowReader", "&Word list...", None))
import resources_rc import resources_rc

View File

@ -2,7 +2,7 @@
# Resource object code # Resource object code
# #
# Created: Sat Dec 20 20:08:13 2014 # Created: Wed Dec 24 17:04:45 2014
# by: The Resource Compiler for PyQt (Qt v4.8.6) # by: The Resource Compiler for PyQt (Qt v4.8.6)
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!