1

Add some initial text to the text area, text area is now editable by default

Former-commit-id: 9141971f189946f62c664e9065e48a5af1763042
This commit is contained in:
Alex Yatskov 2015-01-30 18:42:18 +09:00
parent 63ba3bb6d4
commit 8dbbf3d6fc
6 changed files with 9 additions and 5 deletions

View File

@ -30,6 +30,9 @@
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="plainText">
<string>Paste text here or open a .txt file you want to read!</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -12,5 +12,5 @@
"stripReadings": false, "stripReadings": false,
"tags": [], "tags": [],
"wordWrap": false, "wordWrap": false,
"allowEditing": false "allowEditing": true
} }

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: Fri Jan 30 18:21:34 2015 # Created: Fri Jan 30 18:40:48 2015
# 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: Fri Jan 30 18:21:34 2015 # Created: Fri Jan 30 18:40:48 2015
# 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: Fri Jan 30 18:21:34 2015 # Created: Fri Jan 30 18:40:48 2015
# 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!
@ -263,6 +263,7 @@ 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.textContent.setPlainText(_translate("MainWindowReader", "Paste text here or open a .txt file you want to read!", None))
self.menuFile.setTitle(_translate("MainWindowReader", "&File", None)) self.menuFile.setTitle(_translate("MainWindowReader", "&File", 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.menuImport.setTitle(_translate("MainWindowReader", "&Import", None))

View File

@ -2,7 +2,7 @@
# Resource object code # Resource object code
# #
# Created: Fri Jan 30 18:21:34 2015 # Created: Fri Jan 30 18:40:48 2015
# 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!