kindle manager
@@ -9,6 +9,14 @@ kindle manager
|
||||
1. 按书本标题搜索,并输出markdown格式标注
|
||||
1. 按作者搜索内容,并输出markdown格式标注
|
||||
|
||||
o
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
在`My Clippings.txt`中,有3种类型
|
||||
### 书签 ###
|
||||
格式为:
|
||||
|
||||
0
__init__.py
Normal file
BIN
classes.png
Normal file
|
After Width: | Height: | Size: 5.4 MiB |
BIN
design/book_info_view.JPG
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
design/class_map.JPG
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
14
kmanapp.py
@@ -36,6 +36,13 @@ notes_temp = """<br><span style='font-size:18pt;color:maroon'>《{bookname}》</
|
||||
<span style='font-size:18pt;color:#31849B'>{content}</span>
|
||||
<span style='font-size:11pt;color:maroon'>【P{position}】</span><br>"""
|
||||
|
||||
infos_temp = """<br><span style='font-size:18pt;color:maroon'>
|
||||
<a href="3school.com.cn/" target="_blank">《{bookname}》</a></span>
|
||||
<span style='font-size:18pt;color:maroon'> {author} </span>
|
||||
<span style='font-size:18pt;color:maroon'> ({time}) </span>
|
||||
<span style='font-size:18pt;color:#31849B'>{rate}★ ☆</span>
|
||||
<span style='font-size:11pt;color:maroon'>{img}</span><br>"""
|
||||
|
||||
words_temp = """<br><span style='font-size:18pt;color:#31849B'>{usage}</span><br><br>
|
||||
<span style='font-size:14pt;color:#2F4F4F'> {bookname} </span>
|
||||
<span style='font-size:14pt;color:maroon'> {author} </span>
|
||||
@@ -200,9 +207,10 @@ class kmanWindow(QMainWindow):
|
||||
if comp in [1,2]:
|
||||
if len(self.filter_list)>0:
|
||||
[stype,sbookname,sauthor,sposition,stime,scontent] = self.filter_list[0]
|
||||
self.ui.textEdit.setHtml(notes_temp.format(
|
||||
bookname=sbookname, author=sauthor, time=stime,
|
||||
note=stype, content=scontent, position=sposition))
|
||||
tt = notes_temp.format( bookname=sbookname, author=sauthor, time=stime,
|
||||
note=stype, content=scontent, position=sposition)
|
||||
print(re.split(r'[\((\-\::_\s]',sbookname.strip())[0])
|
||||
self.ui.textEdit.setHtml(tt)
|
||||
elif comp in [3,4]:
|
||||
self.render_textedit_words(self.words_data)
|
||||
|
||||
|
||||
BIN
packages.png
Normal file
|
After Width: | Height: | Size: 99 KiB |