1 Commits

Author SHA1 Message Date
shen 44bc33a5e3 Release PDFReaderLite 0.2.4 2026-07-02 14:11:30 +08:00
83 changed files with 873 additions and 102 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
PDFReaderLite 是一个面向 Windows 的轻量 PDF 阅读与覆盖式编辑工具,目标是提供 Adobe Acrobat 常用功能的轻量替代版。
当前稳定版本:`0.2.3`
当前稳定版本:`0.2.4`
当前开发目标:后续版本继续保持轻量、稳定、实用的方向。
BIN
View File
Binary file not shown.
+7 -7
View File
@@ -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,并尽量降低文件体积。
## 后续可选方向
+258
View File
@@ -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 编辑逻辑。
- 不新增大型业务功能。
- 不为了图标牺牲中文可读性。
+41
View File
@@ -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
+24 -1
View File
@@ -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 = {
+4 -4
View File
@@ -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"),
],
)
]),
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.2.3"
__version__ = "0.2.4"
+23
View File
@@ -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
+114 -87
View File
@@ -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)
+10
View File
@@ -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))
+1 -1
View File
@@ -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 = [
+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 20h16"/>
<rect x="6" y="6" width="4" height="10" rx="1"/>
<rect x="14" y="9" width="4" height="7" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 314 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 4v16"/>
<rect x="6" y="6" width="12" height="4" rx="1"/>
<rect x="8" y="14" width="8" height="4" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 314 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4v16"/>
<rect x="8" y="6" width="10" height="4" rx="1"/>
<rect x="8" y="14" width="7" height="4" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 313 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 12h16"/>
<rect x="6" y="5" width="4" height="14" rx="1"/>
<rect x="14" y="7" width="4" height="10" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 315 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 4v16"/>
<rect x="6" y="6" width="10" height="4" rx="1"/>
<rect x="9" y="14" width="7" height="4" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 314 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h16"/>
<rect x="6" y="8" width="4" height="10" rx="1"/>
<rect x="14" y="8" width="4" height="7" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 313 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 6h9"/>
<path d="M5 11h7"/>
<path d="M5 16h6"/>
<path d="M16 12h4v5h-2l-2 2v-2h-1a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 325 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 19 19 5"/>
<path d="M10 5h9v9"/>
</svg>

After

Width:  |  Height:  |  Size: 238 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="8" y="4" width="12" height="12" rx="2"/>
<path d="M4 8v10a2 2 0 0 0 2 2h10"/>
<path d="M14 12V6"/>
<path d="m11 9 3-3 3 3"/>
</svg>

After

Width:  |  Height:  |  Size: 331 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="8"/>
</svg>

After

Width:  |  Height:  |  Size: 223 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="8" y="8" width="12" height="12" rx="2"/>
<path d="M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2"/>
</svg>

After

Width:  |  Height:  |  Size: 311 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 7h16"/>
<path d="M4 12h16"/>
<path d="M4 17h10"/>
<rect x="6" y="9" width="12" height="6" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 308 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v4"/>
<path d="M14 3v5h5"/>
<path d="M5 21h7"/>
<path d="M14 15h7"/>
<path d="M16 15l1 6h3l1-6"/>
</svg>

After

Width:  |  Height:  |  Size: 316 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 7h16"/>
<path d="M10 11v6"/>
<path d="M14 11v6"/>
<path d="M6 7l1 14h10l1-14"/>
<path d="M9 7V4h6v3"/>
</svg>

After

Width:  |  Height:  |  Size: 314 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4v16"/>
<path d="M20 4v16"/>
<rect x="7" y="8" width="4" height="8" rx="1"/>
<rect x="13" y="8" width="4" height="8" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 335 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h16"/>
<path d="M4 20h16"/>
<rect x="8" y="7" width="8" height="4" rx="1"/>
<rect x="8" y="13" width="8" height="4" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 335 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M14 3v5h5"/>
<path d="M12 17v-4"/>
<path d="M12 10h.01"/>
</svg>

After

Width:  |  Height:  |  Size: 323 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="5" width="13" height="12" rx="2"/>
<path d="m4 15 4-4 3 3 2-2 2 2"/>
<path d="M15 21h6v-6"/>
<path d="m21 15-8 8"/>
</svg>

After

Width:  |  Height:  |  Size: 328 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="7" width="11" height="10" rx="2"/>
<path d="M7 4h10a2 2 0 0 1 2 2v8"/>
<path d="M16 21h5v-5"/>
<path d="m21 16-7 7"/>
</svg>

After

Width:  |  Height:  |  Size: 330 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v6"/>
<path d="M14 3v5h5"/>
<path d="M6 21h7"/>
<path d="M14 16h7v7"/>
<path d="m21 16-8 8"/>
</svg>

After

Width:  |  Height:  |  Size: 312 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v5"/>
<path d="M14 3v5h5"/>
<path d="M10 18h4"/>
<path d="M8 16a4 4 0 0 0 0 6h2"/>
<path d="M16 16a4 4 0 0 1 0 6h-2"/>
</svg>

After

Width:  |  Height:  |  Size: 337 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 6.5A2.5 2.5 0 0 1 5.5 4H9l2 2h7.5A2.5 2.5 0 0 1 21 8.5V10"/>
<path d="M3.5 9h17a1 1 0 0 1 1 1.2l-1.6 7.2A2 2 0 0 1 18 19H6a2 2 0 0 1-1.9-1.6L2.5 10.2A1 1 0 0 1 3.5 9Z"/>
</svg>

After

Width:  |  Height:  |  Size: 375 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 3h11l3 3v6"/>
<path d="M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7"/>
<path d="M8 3v6h7"/>
<path d="M8 21v-6h4"/>
<path d="m15 20 5-5 2 2-5 5h-2v-2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 357 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 3h12l2 2v16H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M8 3v6h8V3"/>
<path d="M8 21v-7h8v7"/>
</svg>

After

Width:  |  Height:  |  Size: 303 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M7 3h7l3 3v15H7z"/>
<path d="M14 3v4h4"/>
<path d="M9.5 10.5h5"/>
<path d="M9.5 14h5"/>
<path d="M9.5 17.5h3"/>
</svg>

After

Width:  |  Height:  |  Size: 320 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 5h16v14H4z"/>
<path d="m9 9-3 3 3 3"/>
<path d="m15 9 3 3-3 3"/>
<path d="M6 12h12"/>
</svg>

After

Width:  |  Height:  |  Size: 295 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h12v18H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M8 8h8"/>
<path d="M8 13h3"/>
<path d="m14 14 2 2 4-5"/>
</svg>

After

Width:  |  Height:  |  Size: 319 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M8 12V6a2 2 0 1 1 4 0v5"/>
<path d="M12 11V5a2 2 0 1 1 4 0v7"/>
<path d="M16 12V8a2 2 0 1 1 4 0v7a6 6 0 0 1-6 6h-2a7 7 0 0 1-5.6-2.8L3 13.5a2 2 0 0 1 3.2-2.4L8 13"/>
</svg>

After

Width:  |  Height:  |  Size: 370 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="m15 4 5 5-9 9H6v-5l9-9Z"/>
<path d="m13 6 5 5"/>
<path d="M3 21h18"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="5" width="14" height="12" rx="2"/>
<path d="m4 15 4-4 3 3 2-2 3 3"/>
<path d="m15 20 5-5 2 2-5 5h-2v-2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 317 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="5" width="9" height="8" rx="1"/>
<path d="m4 12 3-3 2 2 2-2"/>
<path d="M15 3h4l2 2v14h-6z"/>
<path d="M19 3v3h3"/>
<path d="M12 16h3"/>
</svg>

After

Width:  |  Height:  |  Size: 351 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="5" width="16" height="14" rx="2"/>
<circle cx="9" cy="10" r="1.5"/>
<path d="m5 17 5-5 4 4 2-2 3 3"/>
</svg>

After

Width:  |  Height:  |  Size: 312 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M14 3v5h5"/>
<path d="M12 12v6"/>
<path d="M9 15h6"/>
</svg>

After

Width:  |  Height:  |  Size: 319 B

+8
View File
@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M14 3v5h5"/>
<path d="M8 14h3"/>
<path d="M8 17h2"/>
<path d="M16 13v6"/>
<path d="M13 16h6"/>
</svg>

After

Width:  |  Height:  |  Size: 364 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 19 19 5"/>
</svg>

After

Width:  |  Height:  |  Size: 214 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="5" y="10" width="14" height="10" rx="2"/>
<path d="M8 10V7a4 4 0 0 1 8 0v3"/>
<path d="M12 14v2"/>
</svg>

After

Width:  |  Height:  |  Size: 303 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 6.5A2.5 2.5 0 0 1 5.5 4H9l2 2h7.5A2.5 2.5 0 0 1 21 8.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6.5Z"/>
<path d="M8 12h8"/>
<path d="M8 16h5"/>
</svg>

After

Width:  |  Height:  |  Size: 343 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h6v7H4z"/>
<path d="M14 4h6v7h-6z"/>
<path d="M9 17h6"/>
<path d="m12 14 3 3-3 3"/>
<path d="M10 7h4"/>
</svg>

After

Width:  |  Height:  |  Size: 316 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 5h16"/>
<path d="M4 10h9"/>
<path d="M4 15h7"/>
<path d="M16 12h3a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1l-3 3v-3h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 356 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v5"/>
<path d="M14 3v5h5"/>
<path d="M6 21h6"/>
<path d="m15 20 5-5 2 2-5 5h-2v-2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 302 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M14 3v5h5"/>
<circle cx="12" cy="15" r="3"/>
<path d="M12 14v2"/>
</svg>

After

Width:  |  Height:  |  Size: 331 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 10h16v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-9Z"/>
<path d="M8 10V7a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v3"/>
<path d="M9 15h6"/>
</svg>

After

Width:  |  Height:  |  Size: 324 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 14.6A8 8 0 0 1 9.4 3 8.5 8.5 0 1 0 21 14.6Z"/>
</svg>

After

Width:  |  Height:  |  Size: 251 B

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3 4 8l8 5 8-5-8-5Z"/>
<path d="M4 13l8 5 8-5"/>
<path d="M12 6v7"/>
</svg>

After

Width:  |  Height:  |  Size: 276 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M14 3v5h5"/>
<path d="M8 15h8"/>
<path d="m13 12 3 3-3 3"/>
</svg>

After

Width:  |  Height:  |  Size: 325 B

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3 4 8l8 5 8-5-8-5Z"/>
<path d="M4 13l8 5 8-5"/>
<path d="M12 13V6"/>
</svg>

After

Width:  |  Height:  |  Size: 277 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="m9 18 6-6-6-6"/>
<path d="M4 12h11"/>
</svg>

After

Width:  |  Height:  |  Size: 240 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 5h14v11H9l-4 4V5Z"/>
<path d="M8 9h8"/>
<path d="M8 13h5"/>
</svg>

After

Width:  |  Height:  |  Size: 267 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="4" width="6" height="7" rx="1"/>
<rect x="14" y="4" width="6" height="7" rx="1"/>
<rect x="4" y="15" width="6" height="5" rx="1"/>
<rect x="14" y="15" width="6" height="5" rx="1"/>
</svg>

After

Width:  |  Height:  |  Size: 393 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M6 3h8l4 4v14H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M14 3v5h5"/>
<path d="M8 13h8"/>
<path d="M8 17h5"/>
</svg>

After

Width:  |  Height:  |  Size: 318 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 4h6l1 2h2a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2l1-2Z"/>
<path d="M9 4h6v4H9z"/>
</svg>

After

Width:  |  Height:  |  Size: 312 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 19l7-7a3 3 0 0 0-4-4l-7 7-2 5 6-1Z"/>
<path d="m14 8 4 4"/>
<path d="M3 21c3-2 4-2 7-1"/>
</svg>

After

Width:  |  Height:  |  Size: 298 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 3l13 9-6 1.2 3.3 6-2.7 1.5-3.3-6L5 19V3Z"/>
</svg>

After

Width:  |  Height:  |  Size: 247 B

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="m15 18-6-6 6-6"/>
<path d="M20 12H9"/>
</svg>

After

Width:  |  Height:  |  Size: 241 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M7 8V3h10v5"/>
<path d="M7 17H5a2 2 0 0 1-2-2v-3a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v3a2 2 0 0 1-2 2h-2"/>
<path d="M7 14h10v7H7z"/>
</svg>

After

Width:  |  Height:  |  Size: 332 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 5.5A3.5 3.5 0 0 1 7.5 2H11v18H7.5A3.5 3.5 0 0 0 4 23V5.5Z"/>
<path d="M20 5.5A3.5 3.5 0 0 0 16.5 2H13v18h3.5A3.5 3.5 0 0 1 20 23V5.5Z"/>
</svg>

After

Width:  |  Height:  |  Size: 342 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 12a8 8 0 1 0 3-6.2"/>
<path d="M4 4v6h6"/>
<path d="M12 8v5l3 2"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="6" width="16" height="12" rx="2"/>
</svg>

After

Width:  |  Height:  |  Size: 241 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 12a8 8 0 1 1-2.3-5.7"/>
<path d="M20 4v6h-6"/>
</svg>

After

Width:  |  Height:  |  Size: 253 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="8" width="12" height="12" rx="2"/>
<path d="M8 4h10a2 2 0 0 1 2 2v10"/>
<path d="M10 12v6"/>
<path d="m7 15 3 3 3-3"/>
</svg>

After

Width:  |  Height:  |  Size: 331 B

+11
View File
@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3v3"/>
<path d="M12 18v3"/>
<path d="m4.9 4.9 2.1 2.1"/>
<path d="m17 17 2.1 2.1"/>
<path d="M3 12h3"/>
<path d="M18 12h3"/>
<path d="m4.9 19.1 2.1-2.1"/>
<path d="m17 7 2.1-2.1"/>
<circle cx="12" cy="12" r="4"/>
</svg>

After

Width:  |  Height:  |  Size: 433 B

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 19c3-5 5-5 7 0 1.4 3.2 4.4 1.8 8-2"/>
<path d="M7 13V6a2 2 0 1 1 4 0v5"/>
<path d="M11 10V5a2 2 0 1 1 4 0v7"/>
<path d="M15 12V8a2 2 0 1 1 4 0v4"/>
</svg>

After

Width:  |  Height:  |  Size: 357 B

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 18c3-4 5-4 7 0s4 4 7 0"/>
<path d="m14 11 5-5 2 2-5 5-3 1 1-3Z"/>
<path d="M4 21h16"/>
</svg>

After

Width:  |  Height:  |  Size: 294 B

+11
View File
@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 6h10"/>
<path d="M18 6h2"/>
<circle cx="16" cy="6" r="2"/>
<path d="M4 12h3"/>
<path d="M11 12h9"/>
<circle cx="9" cy="12" r="2"/>
<path d="M4 18h12"/>
<path d="M20 18h0"/>
<circle cx="18" cy="18" r="2"/>
</svg>

After

Width:  |  Height:  |  Size: 424 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 3h6v18H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"/>
<path d="M13 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-6"/>
<path d="M12 4v2"/>
<path d="M12 10v2"/>
<path d="M12 16v2"/>
</svg>

After

Width:  |  Height:  |  Size: 370 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M17 6.5C16 5 14.4 4 12.3 4 9.4 4 7.5 5.5 7.5 7.7c0 1.6 1 2.5 2.5 3.1"/>
<path d="M6 12h12"/>
<path d="M9 17.5c.9 1.6 2.6 2.5 4.6 2.5 2.9 0 4.9-1.5 4.9-3.8 0-1.5-.9-2.4-2.3-3"/>
</svg>

After

Width:  |  Height:  |  Size: 381 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 5h14"/>
<path d="M12 5v14"/>
<path d="M9 19h6"/>
</svg>

After

Width:  |  Height:  |  Size: 256 B

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M7 4v7a5 5 0 0 0 10 0V4"/>
<path d="M5 21h14"/>
</svg>

After

Width:  |  Height:  |  Size: 250 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="5" y="10" width="14" height="10" rx="2"/>
<path d="M8 10V7a4 4 0 0 1 7.4-2"/>
<path d="M12 14v2"/>
</svg>

After

Width:  |  Height:  |  Size: 303 B

+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="10.5" cy="10.5" r="6.5"/>
<path d="M21 21l-5.8-5.8"/>
<path d="M10.5 7.5v6"/>
<path d="M7.5 10.5h6"/>
</svg>

After

Width:  |  Height:  |  Size: 311 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="10.5" cy="10.5" r="6.5"/>
<path d="M21 21l-5.8-5.8"/>
<path d="M7.5 10.5h6"/>
</svg>

After

Width:  |  Height:  |  Size: 285 B