This commit is contained in:
douboer
2025-10-21 09:23:17 +08:00
parent 6a8e0dc5a8
commit db9be32815
10 changed files with 978 additions and 66 deletions

58
backup/kmanapp.qrc Normal file
View File

@@ -0,0 +1,58 @@
<RCC>
<qresource prefix="/">
<file>icons/add.png</file>
<file>icons/books.png</file>
<file>icons/Cbb20.png</file>
<file>icons/config.png</file>
<file>icons/direction.png</file>
<file>icons/down.png</file>
<file>icons/downr.png</file>
<file>icons/dustbin.png</file>
<file>icons/fav.png</file>
<file>icons/file18.png</file>
<file>icons/folder.png</file>
<file>icons/home.png</file>
<file>icons/list.png</file>
<file>icons/mail.png</file>
<file>icons/md2.png</file>
<file>icons/money.png</file>
<file>icons/money2.png</file>
<file>icons/money3.png</file>
<file>icons/qq.png</file>
<file>icons/refresh2.png</file>
<file>icons/Safari.png</file>
<file>icons/search.jpeg</file>
<file>icons/share.png</file>
<file>icons/txt.png</file>
<file>icons/upgreen.png</file>
<file>icons/web.png</file>
<file>icons/webchat.png</file>
<file>icons/write.png</file>
<file>icons/yes.png</file>
<file>icons/addbook.png</file>
<file>icons/conf.png</file>
<file>icons/Drop Stuff.png</file>
<file>icons/flush.png</file>
<file>icons/foldup.png</file>
<file>icons/md.jpeg</file>
<file>icons/Pixadex.png</file>
<file>icons/question.png</file>
<file>icons/refresh.png</file>
<file>icons/statistics.png</file>
<file>mainwindow.ui</file>
<file>icons/booksicon.png</file>
<file>icons/book_open.png</file>
<file>icons/book_open_bookmark.png</file>
<file>icons/emblem_library.png</file>
<file>icons/book3.png</file>
<file>icons/register.png</file>
<file>icons/person.png</file>
<file>icons/user.png</file>
<file>icons/kindle.png</file>
<file>icons/homepage.png</file>
<file>icons/import.png</file>
<file>icons/book.png</file>
<file>icons/amazon.png</file>
<file>icons/flower.png</file>
</qresource>
</RCC>

257
backup/mainwindow.ui Normal file
View File

@@ -0,0 +1,257 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>837</width>
<height>622</height>
</rect>
</property>
<property name="windowTitle">
<string>Kindle Management</string>
</property>
<property name="windowIcon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/Cbb20.png</normaloff>:/icons/Cbb20.png</iconset>
</property>
<property name="iconSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QSplitter" name="splitter_2">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<widget class="QTreeView" name="treeView">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>401</width>
<height>16777215</height>
</size>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
</widget>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<widget class="QTableView" name="tableView"/>
<widget class="QTextBrowser" name="textEdit"/>
</widget>
</widget>
</item>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="searchLabel">
<property name="text">
<string>Search</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="searchLineEdit">
<property name="placeholderText">
<string>可按书名、作者、内容搜索笔记</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="searchComboBox">
<property name="currentText">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="searchToolButton">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/search.jpeg</normaloff>:/icons/search.jpeg</iconset>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>837</width>
<height>32</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionimportkindle"/>
<addaction name="actionimportlocal"/>
<addaction name="separator"/>
<addaction name="actionexport"/>
<addaction name="actionwords"/>
<addaction name="actionstatistic"/>
<addaction name="separator"/>
<addaction name="actionconfig"/>
<addaction name="separator"/>
<addaction name="actionhomepage"/>
<addaction name="actionabout"/>
<addaction name="separator"/>
<addaction name="actionflush"/>
</widget>
<action name="actionimportlocal">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/downr.png</normaloff>:/icons/downr.png</iconset>
</property>
<property name="text">
<string>importlocal</string>
</property>
<property name="toolTip">
<string>import clipping file from local clipping file</string>
</property>
</action>
<action name="actionimportkindle">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/kindle.png</normaloff>:/icons/kindle.png</iconset>
</property>
<property name="text">
<string>importkindle</string>
</property>
<property name="toolTip">
<string>import clipping file from kindle</string>
</property>
</action>
<action name="actionconfig">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/config.png</normaloff>:/icons/config.png</iconset>
</property>
<property name="text">
<string>config</string>
</property>
<property name="toolTip">
<string>configuration</string>
</property>
</action>
<action name="actionflush">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/refresh.png</normaloff>:/icons/refresh.png</iconset>
</property>
<property name="text">
<string>refresh</string>
</property>
<property name="toolTip">
<string>refresh import file/quick import from kindle</string>
</property>
</action>
<action name="actionwords">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/books.png</normaloff>:/icons/books.png</iconset>
</property>
<property name="text">
<string>words</string>
</property>
<property name="toolTip">
<string>words</string>
</property>
</action>
<action name="actionstatistic">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/statistics.png</normaloff>:/icons/statistics.png</iconset>
</property>
<property name="text">
<string>statistic</string>
</property>
<property name="toolTip">
<string>statistics reading habbit</string>
</property>
</action>
<action name="actionhomepage">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/web.png</normaloff>:/icons/web.png</iconset>
</property>
<property name="text">
<string>homepage</string>
</property>
<property name="toolTip">
<string>redirect to my homepage</string>
</property>
</action>
<action name="actionabout">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/question.png</normaloff>:/icons/question.png</iconset>
</property>
<property name="text">
<string>about</string>
</property>
<property name="toolTip">
<string>open about dialog</string>
</property>
</action>
<action name="actionsearch">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/Pixadex.png</normaloff>:/icons/Pixadex.png</iconset>
</property>
<property name="text">
<string>search</string>
</property>
<property name="toolTip">
<string>search note</string>
</property>
</action>
<action name="actionexport">
<property name="icon">
<iconset resource="kmanapp.qrc">
<normaloff>:/icons/md2.png</normaloff>:/icons/md2.png</iconset>
</property>
<property name="text">
<string>export</string>
</property>
<property name="toolTip">
<string>export to file</string>
</property>
</action>
</widget>
<resources>
<include location="kmanapp.qrc"/>
</resources>
<connections/>
</ui>