1

Updating UI

This commit is contained in:
Alex Yatskov 2016-04-28 21:06:59 -07:00
parent 22c3c9acac
commit 426745fdb4
6 changed files with 45 additions and 12 deletions

View File

@ -281,6 +281,30 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QCheckBox" name="checkEnableRemoteApi">
<property name="text">
<string>Enable remote API</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>(see the &lt;a href=&quot;https://foosoft.net/projects/yomichan-ext&quot;&gt;extension page&lt;/a&gt; for details)</string>
</property>
</widget>
</item>
</layout>
</item>
</layout> </layout>
</widget> </widget>
</widget> </widget>

View File

@ -2,8 +2,7 @@
# Form implementation generated from reading ui file 'ui/about.ui' # Form implementation generated from reading ui file 'ui/about.ui'
# #
# Created: Thu Feb 25 11:43:19 2016 # Created by: PyQt4 UI code generator 4.11.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,8 +2,7 @@
# Form implementation generated from reading ui file 'ui/preferences.ui' # Form implementation generated from reading ui file 'ui/preferences.ui'
# #
# Created: Thu Feb 25 11:43:19 2016 # Created by: PyQt4 UI code generator 4.11.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!
@ -175,6 +174,20 @@ class Ui_DialogPreferences(object):
self.labelTags.setText(_fromUtf8("")) self.labelTags.setText(_fromUtf8(""))
self.labelTags.setObjectName(_fromUtf8("labelTags")) self.labelTags.setObjectName(_fromUtf8("labelTags"))
self.verticalLayout_2.addWidget(self.labelTags) self.verticalLayout_2.addWidget(self.labelTags)
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.checkEnableRemoteApi = QtGui.QCheckBox(self.tabAnki)
self.checkEnableRemoteApi.setObjectName(_fromUtf8("checkEnableRemoteApi"))
self.horizontalLayout_4.addWidget(self.checkEnableRemoteApi)
self.label_3 = QtGui.QLabel(self.tabAnki)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
self.label_3.setSizePolicy(sizePolicy)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.horizontalLayout_4.addWidget(self.label_3)
self.verticalLayout_2.addLayout(self.horizontalLayout_4)
self.tabWidget.addTab(self.tabAnki, _fromUtf8("")) self.tabWidget.addTab(self.tabAnki, _fromUtf8(""))
self.verticalLayout.addWidget(self.tabWidget) self.verticalLayout.addWidget(self.tabWidget)
self.buttonBox = QtGui.QDialogButtonBox(DialogPreferences) self.buttonBox = QtGui.QDialogButtonBox(DialogPreferences)
@ -213,6 +226,8 @@ class Ui_DialogPreferences(object):
item.setText(_translate("DialogPreferences", "Field", None)) item.setText(_translate("DialogPreferences", "Field", None))
item = self.tableFields.horizontalHeaderItem(1) item = self.tableFields.horizontalHeaderItem(1)
item.setText(_translate("DialogPreferences", "Value", None)) item.setText(_translate("DialogPreferences", "Value", None))
self.checkEnableRemoteApi.setText(_translate("DialogPreferences", "Enable remote API", None))
self.label_3.setText(_translate("DialogPreferences", "(see the <a href=\"https://foosoft.net/projects/yomichan-ext\">extension page</a> for details)", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAnki), _translate("DialogPreferences", "Anki", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAnki), _translate("DialogPreferences", "Anki", None))
import resources_rc import resources_rc

View File

@ -2,8 +2,7 @@
# Form implementation generated from reading ui file 'ui/reader.ui' # Form implementation generated from reading ui file 'ui/reader.ui'
# #
# Created: Thu Feb 25 11:43:19 2016 # Created by: PyQt4 UI code generator 4.11.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!
@ -228,8 +227,6 @@ class Ui_MainWindowReader(object):
self.menuEdit.addSeparator() self.menuEdit.addSeparator()
self.menuEdit.addAction(self.actionPreferences) self.menuEdit.addAction(self.actionPreferences)
self.menuHelp.addAction(self.actionHomepage) self.menuHelp.addAction(self.actionHomepage)
self.menuHelp.addAction(self.actionFeedback)
self.menuHelp.addSeparator()
self.menuHelp.addAction(self.actionAbout) self.menuHelp.addAction(self.actionAbout)
self.menuTextSize.addAction(self.actionZoomIn) self.menuTextSize.addAction(self.actionZoomIn)
self.menuTextSize.addAction(self.actionZoomOut) self.menuTextSize.addAction(self.actionZoomOut)

View File

@ -2,8 +2,7 @@
# Resource object code # Resource object code
# #
# Created: Thu Feb 25 11:43:19 2016 # Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
# 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!

View File

@ -2,8 +2,7 @@
# Form implementation generated from reading ui file 'ui/updates.ui' # Form implementation generated from reading ui file 'ui/updates.ui'
# #
# Created: Thu Feb 25 11:43:19 2016 # Created by: PyQt4 UI code generator 4.11.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!