diff --git a/README.md b/README.md index 3dfc1f0..9aee869 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ PDFReaderLite 是一个面向 Windows 的轻量 PDF 阅读与覆盖式编辑工具,目标是提供 Adobe Acrobat 常用功能的轻量替代版。 -当前稳定版本:`0.2.3` +当前稳定版本:`0.2.4` 当前开发目标:后续版本继续保持轻量、稳定、实用的方向。 diff --git a/dist/PDFReaderLite.exe b/dist/PDFReaderLite.exe index 388ed5b..b22366f 100644 Binary files a/dist/PDFReaderLite.exe and b/dist/PDFReaderLite.exe differ diff --git a/docs/development_plan.md b/docs/development_plan.md index f776713..fba5c21 100644 --- a/docs/development_plan.md +++ b/docs/development_plan.md @@ -62,17 +62,17 @@ V3 已并入 `v0.2.2`。目标是让高频工作流更接近 Acrobat,同时继 - 鼠标悬停注释符号时显示注释内容;双击注释符号可编辑注释。 - 已有文本高亮支持重新选中并修改颜色。 -## 当前版本:0.2.3 稳定性增强 +## 当前版本:0.2.4 图标与工具栏可读性增强 -0.2.3 只做稳定性增强,不新增业务功能。完整待办见根目录 [todo.md](../todo.md)。 +0.2.4 只做视觉一致性和打包优化,不改变核心 PDF 编辑逻辑。完整方案见 [图标方案](icon.md)。 当前重点: -- 保存、另存为、加密另存为等写文件操作尽量事务化。 -- 撤销/重做、渲染缓存、缩略图缓存、搜索、打印等长耗时或高内存流程需要可控。 -- 大文档打开、页面管理、搜索、打印等操作要有进度提示或后台处理。 -- 多标签页、延迟信号、旧页面控件、关闭空状态等边界要避免互相污染。 -- 所有高风险界面操作要有异常保护、中文提示和日志。 +- 所有高频按钮统一使用 Lucide 风格项目自绘 SVG 图标。 +- 顶部工具栏、右侧工具面板、右键菜单和页面管理窗口保持图标风格一致。 +- 图标资源集中在 `resources/icons/actions/`,业务代码通过统一入口读取。 +- 图标缺失时安全降级,不影响软件启动和使用。 +- 打包时继续保持单文件 exe,并尽量降低文件体积。 ## 后续可选方向 diff --git a/docs/icon.md b/docs/icon.md new file mode 100644 index 0000000..9635ef7 --- /dev/null +++ b/docs/icon.md @@ -0,0 +1,258 @@ +# PDFReaderLite 0.2.4 图标方案 + +## 版本目标 + +`0.2.4` 定位为“图标与工具栏可读性增强版”,只做视觉和交互一致性优化,不改核心 PDF 功能。 + +目标: + +- 为所有按钮补充统一风格图标。 +- 提升顶部工具栏、右侧工具面板、状态栏按钮的可读性。 +- 保持中文界面和 Acrobat 常用操作习惯。 +- 图标缺失时不影响软件使用。 + +## 设计原则 + +- 图标风格统一:线性、简洁、单色为主。 +- 常用按钮可使用“图标 + 短文字”,低频按钮优先使用“图标 + tooltip”。 +- 选中状态使用蓝色强调,禁用状态降低透明度。 +- 浅色和深色模式都要清晰可见。 +- 工具栏图标建议 `16px` 或 `18px`,右侧工具面板建议 `18px`。 +- 不使用过度彩色、复杂拟物图标,避免界面显得凌乱。 +- 所有图标资源集中管理,不在业务代码里分散硬编码路径。 + +## 资源结构建议 + +```text +resources/ + icons/ + icon_software_multisize.ico + icon_pdf_multisize.ico + actions/ + file-open.svg + file-save.svg + file-save-as.svg + ... +``` + +建议新增统一图标注册模块: + +```text +pdfreaderlite/ui/icons.py +``` + +职责: + +- 根据图标名称返回 `QIcon`。 +- 统一处理图标路径。 +- 图标缺失时返回空图标或降级图标。 +- 后续支持深色模式图标切换。 + +## 图标来源建议 + +优先级: + +1. PySide6 / Qt 内置标准图标。 +2. 一套许可证清晰的开源 SVG 图标库。 +3. 必要时自绘少量项目专属 SVG。 + +候选风格: + +- Lucide 风格:线条清晰,适合工具软件。 +- Material Symbols 风格:覆盖面广,容易找到对应动作。 +- Remix Icon 风格:中文软件里辨识度也较好。 + +注意事项: + +- 选定图标库后,在文档中记录许可证和来源。 +- 不混用多套视觉差异明显的图标。 +- 不使用来源不明的网络图标。 + +当前已落地方案: + +- 首批图标为 PDFReaderLite 项目自绘 SVG。 +- 风格参考 Lucide 的线性工具图标语言,但不直接复制第三方图标文件。 +- 统一使用 `24x24` 画布、`fill="none"`、`stroke="currentColor"`、`stroke-width="2"`、圆角端点和圆角连接。 +- 文件位置:`resources/icons/actions/`。 + +## 按钮图标规划 + +### 文件类 + +| 按钮 | 建议图标 | 备注 | +| --- | --- | --- | +| 打开 | 文件夹 | 高频,保留文字 | +| 保存 | 软盘 | 高频,保留文字 | +| 另存为 | 软盘 + 铅笔/箭头 | 需要区别于保存 | +| 打印 | 打印机 | 菜单和工具栏一致 | +| 最近文件 | 时钟 | 菜单项可选 | +| 文档信息 | 信息圆圈 | 右侧工具面板 | + +### 导航与视图 + +| 按钮 | 建议图标 | 备注 | +| --- | --- | --- | +| 指针 | 鼠标箭头 | 与手形互斥 | +| 手形 | 手掌 | 默认状态 | +| 阅读 | 眼睛/书本 | 右侧模式按钮 | +| 缩小 | 减号放大镜 | 状态栏 | +| 放大 | 加号放大镜 | 状态栏 | +| 适应宽度 | 左右箭头 | 状态栏 | +| 适应页面 | 页面框 | 状态栏 | +| 上一页 | 左箭头 | 如后续恢复按钮使用 | +| 下一页 | 右箭头 | 如后续恢复按钮使用 | +| 页码输入 | 页面 + 数字 | 输入框不强制加图标 | + +### 注释 + +| 按钮 | 建议图标 | 备注 | +| --- | --- | --- | +| 注释 | 气泡列表 | 顶部模式按钮 | +| 高亮 | 荧光笔 | 支持多色菜单 | +| 下划线 | 带下划线的 U | | +| 删除线 | 带横线的 S | | +| 批注 | 对话气泡 | | +| 自由画笔 | 笔 | | +| 矩形 | 矩形框 | | +| 圆形 | 圆圈 | | +| 线条 | 斜线 | | +| 箭头 | 箭头线 | | +| 注释列表 | 列表 + 气泡 | | +| 注释属性 | 滑杆/调节 | | + +### 编辑 PDF + +| 按钮 | 建议图标 | 备注 | +| --- | --- | --- | +| 编辑 PDF | 页面 + 铅笔 | 顶部模式按钮 | +| 添加文本 | T | | +| 插入图片 | 图片框 | | +| 遮盖 | 黑色矩形/遮罩 | 需提示不是永久擦除 | +| 图片签名 | 图片 + 笔 | | +| 点击放置签名 | 签字笔 | | +| 手写签名 | 手写线条 | | +| 复制 | 双页 | 右键菜单也可用 | +| 粘贴 | 剪贴板 | 右键菜单也可用 | +| 删除 | 垃圾桶 | | +| 置顶 | 图层 + 上箭头 | | +| 置底 | 图层 + 下箭头 | | +| 上移一层 | 图层上移 | | +| 下移一层 | 图层下移 | | +| 对齐 | 对齐线条 | 根据方向细分 | +| 分布 | 等距线条 | 根据方向细分 | + +### 页面 + +| 按钮 | 建议图标 | 备注 | +| --- | --- | --- | +| 页面 | 页面信息圆圈 | 顶部模式按钮 | +| 旋转 | 旋转箭头 | | +| 删除页 | 页面 + 垃圾桶 | | +| 移动页面 | 页面 + 箭头 | | +| 页面管理 | 页面网格 | | +| 插入空白页 | 页面 + 加号 | | +| 插入 PDF | PDF + 加号 | | +| 提取页面 | 页面 + 外箭头 | | +| 拆分 PDF | 分割线 | | +| 合并 PDF | 合并箭头 | | + +### 工具与导出 + +| 按钮 | 建议图标 | 备注 | +| --- | --- | --- | +| 工具 | 工具箱 | 顶部模式按钮 | +| 导出当前页图片 | 图片 + 外箭头 | | +| 批量导出图片 | 多图片 + 外箭头 | | +| 图片转 PDF | 图片 + PDF | | +| 填写表单 | 表单/勾选框 | | +| 加密另存为 | 锁 | | +| 移除密码另存为 | 解锁 | | +| 注册 PDF 文件关联 | 链条 | | +| 打开系统默认应用设置 | 设置齿轮 | | +| 打开日志目录 | 文件夹 + 文档 | | +| 深色模式 | 月亮 | | + +## 实施计划 + +### 第一步:整理按钮清单 + +输出一份完整按钮清单,至少包含: + +- 顶部工具栏按钮。 +- 状态栏按钮。 +- 右侧工具面板按钮。 +- 右键菜单动作。 +- 页面管理窗口按钮。 +- 签名、表单、属性面板中的按钮。 + +分类结果: + +- 已有图标。 +- 需要新增图标。 +- 可复用图标。 +- 不需要图标,只保留文字。 +- 可考虑合并或调整命名的按钮。 + +### 第二步:建立图标注册表 + +新增 `pdfreaderlite/ui/icons.py`: + +- 定义图标名称常量。 +- 提供 `icon(name: str) -> QIcon`。 +- 统一处理资源路径。 +- 缺失图标时安全降级。 + +### 第三步:补齐核心区域图标 + +优先级: + +1. 顶部工具栏。 +2. 状态栏视图控制。 +3. 右侧模式面板。 +4. 页面管理窗口。 +5. 右键菜单。 +6. 低频设置类按钮。 + +### 第四步:统一 tooltip 和按钮展示方式 + +规则: + +- 所有图标按钮必须有中文 tooltip。 +- 高频操作可保留短文字。 +- 低频按钮可只显示图标,但 tooltip 必须清楚。 +- 禁用功能必须变灰,不支持的右键菜单项也要变灰或隐藏。 + +### 第五步:适配深色模式 + +检查内容: + +- 图标在浅色背景可见。 +- 图标在深色背景可见。 +- 选中、悬停、禁用状态有明显差异。 +- 不出现图标和文字重叠。 + +### 第六步:验收与回归 + +验收清单: + +- 所有按钮均有图标或明确说明“不需要图标”。 +- 所有图标按钮均有中文 tooltip。 +- 顶部工具栏没有明显拥挤、错位、重叠。 +- 右侧工具面板图标风格一致。 +- 深色模式下图标可读。 +- 打包后图标资源完整。 +- 图标缺失不会导致程序启动失败。 + +建议新增测试: + +- 图标资源存在性检查。 +- 图标注册表缺失降级检查。 +- 打包后资源路径检查。 + +## 不在 0.2.4 范围内 + +- 不重做整体 UI 布局。 +- 不引入复杂 Ribbon。 +- 不改核心 PDF 编辑逻辑。 +- 不新增大型业务功能。 +- 不为了图标牺牲中文可读性。 diff --git a/docs/release_notes.md b/docs/release_notes.md index 3c5e3d0..4cd98bf 100644 --- a/docs/release_notes.md +++ b/docs/release_notes.md @@ -2,6 +2,47 @@ 本文档合并历史发布说明,作为后续唯一版本记录入口。 +## v0.2.4 + +发布日期:2026-07-02 + +### 版本定位 + +`0.2.4` 是图标与工具栏可读性增强版本,重点统一按钮图标、右侧工具面板和右键菜单的视觉表达,不改变核心 PDF 编辑逻辑。 + +### 发布产物 + +```text +dist\PDFReaderLite.exe +``` + +版本信息: +- 应用版本:`0.2.4` +- exe 版本:`0.2.4` +- 文件大小:`48,942,346 bytes` +- SHA256:`E5DFE6339329D9F022AA3F05A973B1828D3F372C11AE86600C32CD100E367B9E` + +### 主要变化 + +- 新增 Lucide 风格项目自绘 SVG 图标,统一存放在 `resources/icons/actions/`。 +- 新增图标注册入口 `pdfreaderlite/ui/icons.py`,统一处理图标路径、缓存和缺失降级。 +- 顶部工具栏、菜单、右侧工具面板统一接入新图标。 +- 页面管理窗口补充删除、旋转、提取等操作图标。 +- 文本选择、注释、对象编辑等右键菜单补充常用图标。 +- 图标按蒙版方式加载,便于浅色/深色模式下跟随界面颜色显示。 +- 打包配置继续压缩单文件 exe,并排除更多无关模块以降低体积。 + +### 已验证 + +- 源码烟雾测试通过。 +- Python 编译检查通过。 +- 71 个 SVG 图标资源均可加载,且没有空白图标。 + +### 已知边界 + +- 当前图标为项目自绘 SVG,后续仍可继续微调个别按钮语义和视觉细节。 +- 当前版本不引入 Ribbon,不重做整体 UI 布局。 + ## v0.2.3 发布日期:2026-07-02 diff --git a/packaging/PDFReaderLite.spec b/packaging/PDFReaderLite.spec index 99eb14d..e289ae4 100644 --- a/packaging/PDFReaderLite.spec +++ b/packaging/PDFReaderLite.spec @@ -25,9 +25,32 @@ a = Analysis( "PySide6.QtQml", "PySide6.QtQuick", "PySide6.QtVirtualKeyboard", + "PySide6.QtBluetooth", + "PySide6.QtCharts", + "PySide6.QtDataVisualization", + "PySide6.QtGraphs", + "PySide6.QtHelp", + "PySide6.QtMultimedia", + "PySide6.QtNfc", + "PySide6.QtPositioning", + "PySide6.QtQuick3D", + "PySide6.QtRemoteObjects", + "PySide6.QtScxml", + "PySide6.QtSensors", + "PySide6.QtSerialPort", + "PySide6.QtSpatialAudio", + "PySide6.QtStateMachine", + "PySide6.QtTextToSpeech", + "PySide6.QtWebChannel", + "PySide6.QtWebEngineCore", + "PySide6.QtWebEngineWidgets", + "PySide6.QtWebSockets", + "matplotlib", + "pandas", + "pytest", ], noarchive=False, - optimize=0, + optimize=2, ) excluded_binaries = { diff --git a/packaging/version_info.txt b/packaging/version_info.txt index 9219cac..01750ac 100644 --- a/packaging/version_info.txt +++ b/packaging/version_info.txt @@ -1,8 +1,8 @@ # UTF-8 VSVersionInfo( ffi=FixedFileInfo( - filevers=(0, 2, 3, 0), - prodvers=(0, 2, 3, 0), + filevers=(0, 2, 4, 0), + prodvers=(0, 2, 4, 0), mask=0x3f, flags=0x0, OS=0x40004, @@ -17,11 +17,11 @@ VSVersionInfo( [ StringStruct("CompanyName", "PDFReaderLite"), StringStruct("FileDescription", "PDFReaderLite"), - StringStruct("FileVersion", "0.2.3"), + StringStruct("FileVersion", "0.2.4"), StringStruct("InternalName", "PDFReaderLite"), StringStruct("OriginalFilename", "PDFReaderLite.exe"), StringStruct("ProductName", "PDFReaderLite"), - StringStruct("ProductVersion", "0.2.3"), + StringStruct("ProductVersion", "0.2.4"), ], ) ]), diff --git a/pdfreaderlite/__init__.py b/pdfreaderlite/__init__.py index d31c31e..788da1f 100644 --- a/pdfreaderlite/__init__.py +++ b/pdfreaderlite/__init__.py @@ -1 +1 @@ -__version__ = "0.2.3" +__version__ = "0.2.4" diff --git a/pdfreaderlite/ui/icons.py b/pdfreaderlite/ui/icons.py new file mode 100644 index 0000000..649228f --- /dev/null +++ b/pdfreaderlite/ui/icons.py @@ -0,0 +1,23 @@ +from __future__ import annotations + +from functools import lru_cache + +from PySide6.QtGui import QIcon + +# Import QtSvg so packaged builds include the SVG icon support plugin. +try: # pragma: no cover - packaging safeguard + from PySide6 import QtSvg # noqa: F401 +except Exception: # pragma: no cover - icon loading can still degrade safely + QtSvg = None + +from pdfreaderlite.resources import resource_path + + +@lru_cache(maxsize=128) +def action_icon(name: str) -> QIcon: + path = resource_path(f"resources/icons/actions/{name}.svg") + if not path.exists(): + return QIcon() + icon = QIcon(path.as_posix()) + icon.setIsMask(True) + return icon diff --git a/pdfreaderlite/ui/main_window.py b/pdfreaderlite/ui/main_window.py index 8aa4064..d642264 100644 --- a/pdfreaderlite/ui/main_window.py +++ b/pdfreaderlite/ui/main_window.py @@ -18,7 +18,6 @@ from PySide6.QtGui import ( QDesktopServices, QDragEnterEvent, QDropEvent, - QFont, QIcon, QImage, QIntValidator, @@ -56,7 +55,6 @@ from PySide6.QtWidgets import ( QSlider, QSpinBox, QStatusBar, - QStyle, QTabWidget, QTextEdit, QToolBar, @@ -73,6 +71,7 @@ from pdfreaderlite.core.file_association import ( ) from pdfreaderlite.core.document import AnnotationInfo, EncryptedPdfError, FormField, PdfDocument, SearchMatch from pdfreaderlite.resources import pdf_icon_path, software_icon_path +from pdfreaderlite.ui.icons import action_icon from pdfreaderlite.ui.page_manager import PageManagerDialog from pdfreaderlite.ui.pdf_viewer import PdfViewer from pdfreaderlite.ui.right_tools import RightToolsPanel @@ -1737,7 +1736,6 @@ class MainWindow(QMainWindow): self.toggle_read_action, ]: self.right_mode_group.addAction(action) - self._apply_action_icons() file_menu = self.menuBar().addMenu("文件") file_menu.addAction(self.open_action) @@ -1825,95 +1823,99 @@ class MainWindow(QMainWindow): help_menu.addAction(self.shortcuts_action) help_menu.addAction(self.open_log_dir_action) help_menu.addAction(self.about_action) + self._apply_action_icons() self._build_right_tools_panel() - def _text_icon(self, text: str, color: QColor | None = None) -> QIcon: - pixmap = QPixmap(24, 24) - pixmap.fill(Qt.GlobalColor.transparent) - painter = QPainter(pixmap) - painter.setRenderHint(QPainter.RenderHint.Antialiasing) - pen_color = color or QColor("#2d73c5") - font = QFont() - font.setBold(True) - font.setPixelSize(18 if len(text) <= 1 else 13) - painter.setFont(font) - painter.setPen(pen_color) - painter.drawText(pixmap.rect(), Qt.AlignmentFlag.AlignCenter, text) - painter.end() - return QIcon(pixmap) - def _apply_action_icons(self) -> None: icon_map = { - self.open_action: QStyle.StandardPixmap.SP_DialogOpenButton, - self.save_action: QStyle.StandardPixmap.SP_DialogSaveButton, - self.print_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.undo_action: QStyle.StandardPixmap.SP_ArrowBack, - self.redo_action: QStyle.StandardPixmap.SP_ArrowForward, - self.pointer_action: QStyle.StandardPixmap.SP_ArrowRight, - self.hand_action: QStyle.StandardPixmap.SP_DialogOpenButton, - self.previous_action: QStyle.StandardPixmap.SP_ArrowUp, - self.next_action: QStyle.StandardPixmap.SP_ArrowDown, - self.fit_page_action: QStyle.StandardPixmap.SP_FileDialogContentsView, - self.go_to_page_action: QStyle.StandardPixmap.SP_ArrowRight, - self.rotate_action: QStyle.StandardPixmap.SP_BrowserReload, - self.delete_action: QStyle.StandardPixmap.SP_TrashIcon, - self.move_page_action: QStyle.StandardPixmap.SP_FileDialogListView, - self.page_manager_action: QStyle.StandardPixmap.SP_FileDialogInfoView, - self.insert_blank_action: QStyle.StandardPixmap.SP_FileIcon, - self.insert_pdf_action: QStyle.StandardPixmap.SP_FileLinkIcon, - self.extract_pages_action: QStyle.StandardPixmap.SP_DialogSaveButton, - self.split_pdf_action: QStyle.StandardPixmap.SP_DialogResetButton, - self.merge_pdfs_action: QStyle.StandardPixmap.SP_DirIcon, - self.export_current_image_action: QStyle.StandardPixmap.SP_DialogSaveButton, - self.export_pages_images_action: QStyle.StandardPixmap.SP_DirOpenIcon, - self.images_to_pdf_action: QStyle.StandardPixmap.SP_FileIcon, - self.metadata_action: QStyle.StandardPixmap.SP_MessageBoxInformation, - self.form_fill_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.annotation_list_action: QStyle.StandardPixmap.SP_FileDialogListView, - self.text_selection_action: QStyle.StandardPixmap.SP_FileDialogContentsView, - self.highlight_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.underline_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.strikeout_action: QStyle.StandardPixmap.SP_DialogCancelButton, - self.note_action: QStyle.StandardPixmap.SP_MessageBoxInformation, - self.annotation_style_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.text_stamp_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.image_stamp_action: QStyle.StandardPixmap.SP_FileIcon, - self.select_object_action: QStyle.StandardPixmap.SP_ArrowRight, - self.image_properties_action: QStyle.StandardPixmap.SP_FileDialogInfoView, - self.align_left_action: QStyle.StandardPixmap.SP_ArrowLeft, - self.align_center_action: QStyle.StandardPixmap.SP_FileDialogContentsView, - self.align_right_action: QStyle.StandardPixmap.SP_ArrowRight, - self.align_top_action: QStyle.StandardPixmap.SP_ArrowUp, - self.align_middle_action: QStyle.StandardPixmap.SP_FileDialogContentsView, - self.align_bottom_action: QStyle.StandardPixmap.SP_ArrowDown, - self.distribute_horizontal_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.distribute_vertical_action: QStyle.StandardPixmap.SP_FileDialogListView, - self.freehand_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.add_text_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.place_text_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.text_style_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.place_image_action: QStyle.StandardPixmap.SP_FileIcon, - self.signature_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.place_signature_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.draw_signature_action: QStyle.StandardPixmap.SP_DialogApplyButton, - self.rectangle_action: QStyle.StandardPixmap.SP_FileDialogContentsView, - self.circle_action: QStyle.StandardPixmap.SP_FileDialogContentsView, - self.line_action: QStyle.StandardPixmap.SP_ArrowRight, - self.arrow_action: QStyle.StandardPixmap.SP_ArrowRight, - self.cover_action: QStyle.StandardPixmap.SP_DialogCloseButton, - self.dark_mode_action: QStyle.StandardPixmap.SP_ComputerIcon, - self.toggle_edit_pdf_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.toggle_pages_action: QStyle.StandardPixmap.SP_FileDialogInfoView, - self.toggle_tools_action: QStyle.StandardPixmap.SP_FileDialogDetailedView, - self.toggle_annotations_action: QStyle.StandardPixmap.SP_FileDialogListView, - self.toggle_read_action: QStyle.StandardPixmap.SP_FileDialogContentsView, + self.open_action: "file-open", + self.save_action: "file-save", + self.save_as_action: "file-save-as", + self.save_encrypted_action: "lock", + self.remove_password_action: "unlock", + self.print_action: "print", + self.clear_recent_action: "recent-files", + self.undo_action: "previous-page", + self.redo_action: "next-page", + self.pointer_action: "pointer", + self.hand_action: "hand", + self.previous_action: "previous-page", + self.next_action: "next-page", + self.zoom_out_action: "zoom-out", + self.zoom_in_action: "zoom-in", + self.fit_width_action: "fit-width", + self.fit_page_action: "fit-page", + self.go_to_page_action: "page-number", + self.rotate_action: "rotate", + self.delete_action: "delete-page", + self.move_page_action: "move-page", + self.page_manager_action: "page-grid", + self.insert_blank_action: "insert-page", + self.insert_pdf_action: "insert-pdf", + self.extract_pages_action: "extract-page", + self.split_pdf_action: "split-pdf", + self.merge_pdfs_action: "merge-pdf", + self.export_current_image_action: "export-image", + self.export_pages_images_action: "export-images", + self.images_to_pdf_action: "image-to-pdf", + self.metadata_action: "document-info", + self.form_fill_action: "form-fill", + self.annotation_list_action: "annotation-list", + self.text_selection_action: "pointer", + self.highlight_action: "highlight", + self.underline_action: "underline", + self.strikeout_action: "strikeout", + self.note_action: "note", + self.annotation_style_action: "sliders", + self.text_stamp_action: "text", + self.image_stamp_action: "image-signature", + self.select_object_action: "pointer", + self.copy_object_action: "copy", + self.paste_object_action: "paste", + self.replace_image_action: "image", + self.image_properties_action: "sliders", + self.bring_to_front_action: "bring-front", + self.send_to_back_action: "send-back", + self.bring_forward_action: "move-up-layer", + self.send_backward_action: "move-down-layer", + self.align_left_action: "align-left", + self.align_center_action: "align-center", + self.align_right_action: "align-right", + self.align_top_action: "align-top", + self.align_middle_action: "align-middle", + self.align_bottom_action: "align-bottom", + self.distribute_horizontal_action: "distribute-horizontal", + self.distribute_vertical_action: "distribute-vertical", + self.freehand_action: "pen", + self.add_text_action: "text", + self.place_text_action: "text", + self.text_style_action: "sliders", + self.place_image_action: "image", + self.signature_action: "image-signature", + self.place_signature_action: "signature-place", + self.draw_signature_action: "signature-hand", + self.rectangle_action: "rectangle", + self.circle_action: "circle", + self.line_action: "line", + self.arrow_action: "arrow", + self.cover_action: "cover", + self.dark_mode_action: "moon", + self.toggle_edit_pdf_action: "mode-edit", + self.toggle_pages_action: "mode-page", + self.toggle_tools_action: "mode-tools", + self.toggle_annotations_action: "mode-annotation", + self.toggle_read_action: "read", + self.register_pdf_action: "file-link", + self.unregister_pdf_action: "unlock", + self.default_apps_action: "settings", + self.shortcuts_action: "settings", + self.open_log_dir_action: "log-folder", + self.about_action: "document-info", } - for action, standard_icon in icon_map.items(): - action.setIcon(self.style().standardIcon(standard_icon)) - self.save_as_action.setIcon(self._text_icon("另", QColor("#365f91"))) - self.zoom_out_action.setIcon(self._text_icon("-", QColor("#2f5f9f"))) - self.zoom_in_action.setIcon(self._text_icon("+", QColor("#2f5f9f"))) - self.fit_width_action.setIcon(self._text_icon("<>", QColor("#2f5f9f"))) + for action, icon_name in icon_map.items(): + action.setIcon(action_icon(icon_name)) + if not action.toolTip(): + action.setToolTip(action.text().replace("&", "")) def _build_right_tools_panel(self) -> None: self.right_tools.add_section( @@ -2304,6 +2306,8 @@ class MainWindow(QMainWindow): menu = QMenu(self) edit_action = menu.addAction("编辑内容") delete_action = menu.addAction("删除注释") + edit_action.setIcon(action_icon("note")) + delete_action.setIcon(action_icon("delete")) chosen = menu.exec(self.right_annotation_list.mapToGlobal(position)) if chosen == edit_action: self.edit_annotation_from_panel(annotation) @@ -2813,12 +2817,15 @@ class MainWindow(QMainWindow): ) if not has_selection: hint_action = menu.addAction("请先拖拽选中文字") + hint_action.setIcon(action_icon("pointer")) hint_action.setEnabled(False) menu.exec(QCursor.pos()) return if self.toggle_read_action.isChecked(): copy_action = menu.addAction("复制文字") hint_action = menu.addAction("阅读模式下仅支持复制文字") + copy_action.setIcon(action_icon("copy")) + hint_action.setIcon(action_icon("read")) hint_action.setEnabled(False) chosen = menu.exec(QCursor.pos()) if chosen == copy_action: @@ -2826,16 +2833,21 @@ class MainWindow(QMainWindow): self.statusBar().showMessage("选区文字已复制", 3000) return highlight_menu = menu.addMenu("高亮显示") + highlight_menu.setIcon(action_icon("highlight")) highlight_actions: dict[QAction, tuple[float, float, float]] = {} for label, color in self._highlight_color_options(): action = highlight_menu.addAction(label) action.setIcon(self._color_swatch_icon(color)) highlight_actions[action] = color note_action = menu.addAction("添加注释") + note_action.setIcon(action_icon("note")) menu.addSeparator() underline_action = menu.addAction("下划线") strikeout_action = menu.addAction("删除线") copy_action = menu.addAction("复制文字") + underline_action.setIcon(action_icon("underline")) + strikeout_action.setIcon(action_icon("strikeout")) + copy_action.setIcon(action_icon("copy")) chosen = menu.exec(QCursor.pos()) if not chosen: return @@ -3874,13 +3886,17 @@ class MainWindow(QMainWindow): if has_object: delete_action = menu.addAction("删除对象") copy_action = menu.addAction("复制对象") + delete_action.setIcon(action_icon("delete")) + copy_action.setIcon(action_icon("copy")) else: delete_action = None copy_action = None paste_action = menu.addAction("粘贴对象") + paste_action.setIcon(action_icon("paste")) paste_action.setEnabled(self._has_copied_object()) if not has_object and not self._has_copied_object(): hint_action = menu.addAction("没有可操作的对象") + hint_action.setIcon(action_icon("pointer")) hint_action.setEnabled(False) replace_action = None @@ -3896,15 +3912,25 @@ class MainWindow(QMainWindow): replace_action = menu.addAction("替换图片") image_properties_action = menu.addAction("图片属性") layer_menu = menu.addMenu("图层顺序") + replace_action.setIcon(action_icon("image")) + image_properties_action.setIcon(action_icon("sliders")) + layer_menu.setIcon(action_icon("bring-front")) front_action = layer_menu.addAction("置顶") back_action = layer_menu.addAction("置底") forward_action = layer_menu.addAction("上移一层") backward_action = layer_menu.addAction("下移一层") properties_action = menu.addAction("属性") + front_action.setIcon(action_icon("bring-front")) + back_action.setIcon(action_icon("send-back")) + forward_action.setIcon(action_icon("move-up-layer")) + backward_action.setIcon(action_icon("move-down-layer")) + properties_action.setIcon(action_icon("sliders")) elif self.selected_annotation is not None: if self._selected_annotation_content_editable(): edit_action = menu.addAction("编辑内容") + edit_action.setIcon(action_icon("note")) properties_action = menu.addAction("属性") + properties_action.setIcon(action_icon("sliders")) chosen = menu.exec(self.cursor().pos()) if delete_action is not None and chosen == delete_action: @@ -4663,6 +4689,7 @@ class MainWindow(QMainWindow): return for path in self.recent_files: action = QAction(Path(path).name, self) + action.setIcon(action_icon("file-open")) action.setToolTip(path) action.triggered.connect(lambda checked=False, file_path=path: self.open_file(file_path)) self.recent_menu.addAction(action) diff --git a/pdfreaderlite/ui/page_manager.py b/pdfreaderlite/ui/page_manager.py index 862b193..bb45e06 100644 --- a/pdfreaderlite/ui/page_manager.py +++ b/pdfreaderlite/ui/page_manager.py @@ -20,6 +20,7 @@ from PySide6.QtWidgets import ( ) from pdfreaderlite.core.document import PdfDocument +from pdfreaderlite.ui.icons import action_icon class PageGrid(QListWidget): @@ -106,6 +107,15 @@ class PageManagerDialog(QDialog): rotate_left_button = QPushButton("左旋所选") rotate_right_button = QPushButton("右旋所选") extract_button = QPushButton("提取所选") + for button, icon_name in [ + (delete_button, "delete-page"), + (rotate_left_button, "rotate"), + (rotate_right_button, "rotate"), + (extract_button, "extract-page"), + ]: + button.setIcon(action_icon(icon_name)) + button.setIconSize(QSize(18, 18)) + button.setToolTip(button.text()) delete_button.clicked.connect(self.delete_selected_pages) rotate_left_button.clicked.connect(lambda: self.rotate_selected_pages(-90)) rotate_right_button.clicked.connect(lambda: self.rotate_selected_pages(90)) diff --git a/pyproject.toml b/pyproject.toml index 3d3d411..54bea6f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "PDFReaderLite" -version = "0.2.3" +version = "0.2.4" description = "面向 Windows 的轻量 PDF 阅读与覆盖式编辑工具,参考 Adobe Acrobat 常用工作流。" requires-python = ">=3.10" dependencies = [ diff --git a/resources/icons/actions/align-bottom.svg b/resources/icons/actions/align-bottom.svg new file mode 100644 index 0000000..77e9628 --- /dev/null +++ b/resources/icons/actions/align-bottom.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/align-center.svg b/resources/icons/actions/align-center.svg new file mode 100644 index 0000000..9310fa1 --- /dev/null +++ b/resources/icons/actions/align-center.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/align-left.svg b/resources/icons/actions/align-left.svg new file mode 100644 index 0000000..ec07b1e --- /dev/null +++ b/resources/icons/actions/align-left.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/align-middle.svg b/resources/icons/actions/align-middle.svg new file mode 100644 index 0000000..78d9940 --- /dev/null +++ b/resources/icons/actions/align-middle.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/align-right.svg b/resources/icons/actions/align-right.svg new file mode 100644 index 0000000..cfa48d5 --- /dev/null +++ b/resources/icons/actions/align-right.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/align-top.svg b/resources/icons/actions/align-top.svg new file mode 100644 index 0000000..198dc53 --- /dev/null +++ b/resources/icons/actions/align-top.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/annotation-list.svg b/resources/icons/actions/annotation-list.svg new file mode 100644 index 0000000..c816ee2 --- /dev/null +++ b/resources/icons/actions/annotation-list.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/arrow.svg b/resources/icons/actions/arrow.svg new file mode 100644 index 0000000..a890e0f --- /dev/null +++ b/resources/icons/actions/arrow.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/bring-front.svg b/resources/icons/actions/bring-front.svg new file mode 100644 index 0000000..4cc5f59 --- /dev/null +++ b/resources/icons/actions/bring-front.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/circle.svg b/resources/icons/actions/circle.svg new file mode 100644 index 0000000..008cc1c --- /dev/null +++ b/resources/icons/actions/circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/icons/actions/copy.svg b/resources/icons/actions/copy.svg new file mode 100644 index 0000000..85d2f0e --- /dev/null +++ b/resources/icons/actions/copy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/cover.svg b/resources/icons/actions/cover.svg new file mode 100644 index 0000000..82e8f68 --- /dev/null +++ b/resources/icons/actions/cover.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/delete-page.svg b/resources/icons/actions/delete-page.svg new file mode 100644 index 0000000..4b7c6d0 --- /dev/null +++ b/resources/icons/actions/delete-page.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/delete.svg b/resources/icons/actions/delete.svg new file mode 100644 index 0000000..e88ff48 --- /dev/null +++ b/resources/icons/actions/delete.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/distribute-horizontal.svg b/resources/icons/actions/distribute-horizontal.svg new file mode 100644 index 0000000..6821eec --- /dev/null +++ b/resources/icons/actions/distribute-horizontal.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/distribute-vertical.svg b/resources/icons/actions/distribute-vertical.svg new file mode 100644 index 0000000..6b93f23 --- /dev/null +++ b/resources/icons/actions/distribute-vertical.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/document-info.svg b/resources/icons/actions/document-info.svg new file mode 100644 index 0000000..62db562 --- /dev/null +++ b/resources/icons/actions/document-info.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/export-image.svg b/resources/icons/actions/export-image.svg new file mode 100644 index 0000000..2937eae --- /dev/null +++ b/resources/icons/actions/export-image.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/export-images.svg b/resources/icons/actions/export-images.svg new file mode 100644 index 0000000..ae093c1 --- /dev/null +++ b/resources/icons/actions/export-images.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/extract-page.svg b/resources/icons/actions/extract-page.svg new file mode 100644 index 0000000..25f4394 --- /dev/null +++ b/resources/icons/actions/extract-page.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/file-link.svg b/resources/icons/actions/file-link.svg new file mode 100644 index 0000000..c771f79 --- /dev/null +++ b/resources/icons/actions/file-link.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/file-open.svg b/resources/icons/actions/file-open.svg new file mode 100644 index 0000000..bac5f78 --- /dev/null +++ b/resources/icons/actions/file-open.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/file-save-as.svg b/resources/icons/actions/file-save-as.svg new file mode 100644 index 0000000..c4ddbd1 --- /dev/null +++ b/resources/icons/actions/file-save-as.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/file-save.svg b/resources/icons/actions/file-save.svg new file mode 100644 index 0000000..9dafba6 --- /dev/null +++ b/resources/icons/actions/file-save.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/fit-page.svg b/resources/icons/actions/fit-page.svg new file mode 100644 index 0000000..6e99961 --- /dev/null +++ b/resources/icons/actions/fit-page.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/fit-width.svg b/resources/icons/actions/fit-width.svg new file mode 100644 index 0000000..0a2ed8b --- /dev/null +++ b/resources/icons/actions/fit-width.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/form-fill.svg b/resources/icons/actions/form-fill.svg new file mode 100644 index 0000000..5947d09 --- /dev/null +++ b/resources/icons/actions/form-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/hand.svg b/resources/icons/actions/hand.svg new file mode 100644 index 0000000..21f41f4 --- /dev/null +++ b/resources/icons/actions/hand.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/highlight.svg b/resources/icons/actions/highlight.svg new file mode 100644 index 0000000..73288fa --- /dev/null +++ b/resources/icons/actions/highlight.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/image-signature.svg b/resources/icons/actions/image-signature.svg new file mode 100644 index 0000000..a2d25b0 --- /dev/null +++ b/resources/icons/actions/image-signature.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/image-to-pdf.svg b/resources/icons/actions/image-to-pdf.svg new file mode 100644 index 0000000..8e66f11 --- /dev/null +++ b/resources/icons/actions/image-to-pdf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/image.svg b/resources/icons/actions/image.svg new file mode 100644 index 0000000..17e5198 --- /dev/null +++ b/resources/icons/actions/image.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/insert-page.svg b/resources/icons/actions/insert-page.svg new file mode 100644 index 0000000..969ab85 --- /dev/null +++ b/resources/icons/actions/insert-page.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/insert-pdf.svg b/resources/icons/actions/insert-pdf.svg new file mode 100644 index 0000000..1cfe620 --- /dev/null +++ b/resources/icons/actions/insert-pdf.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/icons/actions/line.svg b/resources/icons/actions/line.svg new file mode 100644 index 0000000..cdfd6bb --- /dev/null +++ b/resources/icons/actions/line.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/icons/actions/lock.svg b/resources/icons/actions/lock.svg new file mode 100644 index 0000000..349e7cb --- /dev/null +++ b/resources/icons/actions/lock.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/log-folder.svg b/resources/icons/actions/log-folder.svg new file mode 100644 index 0000000..4da7654 --- /dev/null +++ b/resources/icons/actions/log-folder.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/merge-pdf.svg b/resources/icons/actions/merge-pdf.svg new file mode 100644 index 0000000..6fe4963 --- /dev/null +++ b/resources/icons/actions/merge-pdf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/mode-annotation.svg b/resources/icons/actions/mode-annotation.svg new file mode 100644 index 0000000..44e568a --- /dev/null +++ b/resources/icons/actions/mode-annotation.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/mode-edit.svg b/resources/icons/actions/mode-edit.svg new file mode 100644 index 0000000..71e2a94 --- /dev/null +++ b/resources/icons/actions/mode-edit.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/mode-page.svg b/resources/icons/actions/mode-page.svg new file mode 100644 index 0000000..ba4f0d9 --- /dev/null +++ b/resources/icons/actions/mode-page.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/mode-tools.svg b/resources/icons/actions/mode-tools.svg new file mode 100644 index 0000000..9bba1b6 --- /dev/null +++ b/resources/icons/actions/mode-tools.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/moon.svg b/resources/icons/actions/moon.svg new file mode 100644 index 0000000..b3a23fe --- /dev/null +++ b/resources/icons/actions/moon.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/icons/actions/move-down-layer.svg b/resources/icons/actions/move-down-layer.svg new file mode 100644 index 0000000..04305bf --- /dev/null +++ b/resources/icons/actions/move-down-layer.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/move-page.svg b/resources/icons/actions/move-page.svg new file mode 100644 index 0000000..457bb93 --- /dev/null +++ b/resources/icons/actions/move-page.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/move-up-layer.svg b/resources/icons/actions/move-up-layer.svg new file mode 100644 index 0000000..3364239 --- /dev/null +++ b/resources/icons/actions/move-up-layer.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/next-page.svg b/resources/icons/actions/next-page.svg new file mode 100644 index 0000000..ebe9c3a --- /dev/null +++ b/resources/icons/actions/next-page.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/note.svg b/resources/icons/actions/note.svg new file mode 100644 index 0000000..bc34287 --- /dev/null +++ b/resources/icons/actions/note.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/page-grid.svg b/resources/icons/actions/page-grid.svg new file mode 100644 index 0000000..67fd98a --- /dev/null +++ b/resources/icons/actions/page-grid.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/page-number.svg b/resources/icons/actions/page-number.svg new file mode 100644 index 0000000..a1f37c9 --- /dev/null +++ b/resources/icons/actions/page-number.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/paste.svg b/resources/icons/actions/paste.svg new file mode 100644 index 0000000..03c4bdb --- /dev/null +++ b/resources/icons/actions/paste.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/pen.svg b/resources/icons/actions/pen.svg new file mode 100644 index 0000000..31b5c53 --- /dev/null +++ b/resources/icons/actions/pen.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/pointer.svg b/resources/icons/actions/pointer.svg new file mode 100644 index 0000000..debefe5 --- /dev/null +++ b/resources/icons/actions/pointer.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/icons/actions/previous-page.svg b/resources/icons/actions/previous-page.svg new file mode 100644 index 0000000..665a7c4 --- /dev/null +++ b/resources/icons/actions/previous-page.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/print.svg b/resources/icons/actions/print.svg new file mode 100644 index 0000000..a37a6c0 --- /dev/null +++ b/resources/icons/actions/print.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/read.svg b/resources/icons/actions/read.svg new file mode 100644 index 0000000..8dedda6 --- /dev/null +++ b/resources/icons/actions/read.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/recent-files.svg b/resources/icons/actions/recent-files.svg new file mode 100644 index 0000000..9c6eff0 --- /dev/null +++ b/resources/icons/actions/recent-files.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/rectangle.svg b/resources/icons/actions/rectangle.svg new file mode 100644 index 0000000..c1b6b59 --- /dev/null +++ b/resources/icons/actions/rectangle.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/icons/actions/rotate.svg b/resources/icons/actions/rotate.svg new file mode 100644 index 0000000..19bdf3a --- /dev/null +++ b/resources/icons/actions/rotate.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/send-back.svg b/resources/icons/actions/send-back.svg new file mode 100644 index 0000000..690fabb --- /dev/null +++ b/resources/icons/actions/send-back.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/settings.svg b/resources/icons/actions/settings.svg new file mode 100644 index 0000000..d1ab2c4 --- /dev/null +++ b/resources/icons/actions/settings.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/resources/icons/actions/signature-hand.svg b/resources/icons/actions/signature-hand.svg new file mode 100644 index 0000000..366b854 --- /dev/null +++ b/resources/icons/actions/signature-hand.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/signature-place.svg b/resources/icons/actions/signature-place.svg new file mode 100644 index 0000000..01e2fb4 --- /dev/null +++ b/resources/icons/actions/signature-place.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/sliders.svg b/resources/icons/actions/sliders.svg new file mode 100644 index 0000000..5399695 --- /dev/null +++ b/resources/icons/actions/sliders.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/resources/icons/actions/split-pdf.svg b/resources/icons/actions/split-pdf.svg new file mode 100644 index 0000000..a8447ee --- /dev/null +++ b/resources/icons/actions/split-pdf.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/resources/icons/actions/strikeout.svg b/resources/icons/actions/strikeout.svg new file mode 100644 index 0000000..ed245af --- /dev/null +++ b/resources/icons/actions/strikeout.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/text.svg b/resources/icons/actions/text.svg new file mode 100644 index 0000000..f209df4 --- /dev/null +++ b/resources/icons/actions/text.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/underline.svg b/resources/icons/actions/underline.svg new file mode 100644 index 0000000..3e67a77 --- /dev/null +++ b/resources/icons/actions/underline.svg @@ -0,0 +1,4 @@ + + + + diff --git a/resources/icons/actions/unlock.svg b/resources/icons/actions/unlock.svg new file mode 100644 index 0000000..923a227 --- /dev/null +++ b/resources/icons/actions/unlock.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/icons/actions/zoom-in.svg b/resources/icons/actions/zoom-in.svg new file mode 100644 index 0000000..734f6bb --- /dev/null +++ b/resources/icons/actions/zoom-in.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/resources/icons/actions/zoom-out.svg b/resources/icons/actions/zoom-out.svg new file mode 100644 index 0000000..9aab39a --- /dev/null +++ b/resources/icons/actions/zoom-out.svg @@ -0,0 +1,5 @@ + + + + +