This commit is contained in:
2025-06-08 23:09:59 +08:00
parent 2e29f7a1f7
commit c325b5d1bc
5 changed files with 514 additions and 608 deletions

View File

@@ -853,7 +853,7 @@ class AppCenter(QWidget):
"desc": "批量将Word文档转换为PDF格式",
"color": ("#6366F1", "#4F46E5"),
"icon": "word_to_pdf",
"author": "李明",
"author": "年糕崽崽",
"upload_time": "2023-06-15",
"version": "1.2.0",
"category": "文档处理",
@@ -865,46 +865,12 @@ class AppCenter(QWidget):
]
},
{
"id": "ocr",
"title": "OCR文字识别",
"desc": "从图片中提取文字内容",
"color": ("#4ADE80", "#22C55E"),
"icon": "ocr",
"author": "张伟",
"upload_time": "2023-07-22",
"version": "2.0.1",
"category": "图像处理",
"features": [
"支持多种图片格式",
"识别准确率高",
"支持多语言识别",
"导出为可编辑文本"
]
},
{
"id": "image_convert",
"title": "图片格式转换",
"desc": "转换图像文件格式并优化",
"color": ("#F97316", "#EA580C"),
"icon": "image_convert",
"author": "王芳",
"upload_time": "2023-08-10",
"version": "1.5.3",
"category": "图像处理",
"features": [
"支持JPEG、PNG、WEBP等格式",
"批量转换功能",
"图片压缩优化",
"保持图片质量"
]
},
{
"id": "pdf_merge",
"title": "PDF合并工具",
"id": "pdf_tools_page",
"title": "PDF合并/拆分工具",
"desc": "合并多个PDF文件为一个",
"color": ("#8B5CF6", "#7C3AED"),
"icon": "pdf_merge",
"author": "刘强",
"author": "年糕崽崽",
"upload_time": "2023-09-05",
"version": "极速版1.1.0",
"category": "文档处理",
@@ -915,91 +881,108 @@ class AppCenter(QWidget):
"支持大文件处理"
]
},
{
"id": "pdf_split",
"title": "PDF拆分工具",
"desc": "拆分PDF文件为多个文档",
"color": ("#EC4899", "#DB2777"),
"icon": "pdf_split",
"author": "陈晓",
"upload_time": "2023-09-18",
"version": "1.0.5",
"category": "文档处理",
"features": [
"按页码拆分PDF",
"按书签拆分PDF",
"自定义拆分范围",
"批量处理多个文件"
]
},
{
"id": "video_compress",
"title": "视频压缩",
"desc": "减小视频文件大小",
"color": ("#3B82F6", "#2563EB"),
"icon": "video_compress",
"author": "赵雷",
"upload_time": "2023-10-02",
"version": "1.3.2",
"category": "媒体工具",
"features": [
"支持多种视频格式",
"自定义压缩参数",
"保持视频质量",
"批量处理功能"
]
},
{
"id": "audio_extract",
"title": "音频提取",
"desc": "从视频中提取音频",
"color": ("#06B6D4", "#0891B2"),
"icon": "audio_extract",
"author": "杨帆",
"upload_time": "2023-10-15",
"version": "1.0.2",
"category": "媒体工具",
"features": [
"支持常见视频格式",
"无损音频提取",
"批量处理功能",
"转换速度快"
]
},
{
"id": "text_summary",
"title": "文本摘要",
"desc": "自动提取文章关键信息",
"color": ("#F59E0B", "#D97706"),
"icon": "text_summary",
"author": "周华",
"upload_time": "2023-10-28",
"version": "2.1.0",
"category": "文档处理",
"features": [
"多种摘要算法可选",
"自定义摘要长度",
"支持多语言处理",
"处理结果可导出"
]
},
{
"id": "color_picker",
"title": "颜色提取器",
"desc": "从图像中提取配色方案",
"color": ("#EC4899", "#DB2777"),
"icon": "color_picker",
"author": "吴敏",
"upload_time": "2023-11-05",
"version": "1.0.0",
"category": "图像处理",
"features": [
"自动分析主色调",
"提取多种配色方案",
"支持导出配色代码",
"直观的颜色展示"
]
}
# {
# "id": "ocr",
# "title": "OCR文字识别",
# "desc": "从图片中提取文字内容",
# "color": ("#4ADE80", "#22C55E"),
# "icon": "ocr",
# "author": "张伟",
# "upload_time": "2023-07-22",
# "version": "2.0.1",
# "category": "图像处理",
# "features": [
# "支持多种图片格式",
# "识别准确率高",
# "支持多语言识别",
# "导出为可编辑文本"
# ]
# },
# {
# "id": "image_convert",
# "title": "图片格式转换",
# "desc": "转换图像文件格式并优化",
# "color": ("#F97316", "#EA580C"),
# "icon": "image_convert",
# "author": "王芳",
# "upload_time": "2023-08-10",
# "version": "1.5.3",
# "category": "图像处理",
# "features": [
# "支持JPEG、PNG、WEBP等格式",
# "批量转换功能",
# "图片压缩优化",
# "保持图片质量"
# ]
# },
# {
# "id": "video_compress",
# "title": "视频压缩",
# "desc": "减小视频文件大小",
# "color": ("#3B82F6", "#2563EB"),
# "icon": "video_compress",
# "author": "赵雷",
# "upload_time": "2023-10-02",
# "version": "1.3.2",
# "category": "媒体工具",
# "features": [
# "支持多种视频格式",
# "自定义压缩参数",
# "保持视频质量",
# "批量处理功能"
# ]
# },
# {
# "id": "audio_extract",
# "title": "音频提取",
# "desc": "从视频中提取音频",
# "color": ("#06B6D4", "#0891B2"),
# "icon": "audio_extract",
# "author": "杨帆",
# "upload_time": "2023-10-15",
# "version": "1.0.2",
# "category": "媒体工具",
# "features": [
# "支持常见视频格式",
# "无损音频提取",
# "批量处理功能",
# "转换速度快"
# ]
# },
# {
# "id": "text_summary",
# "title": "文本摘要",
# "desc": "自动提取文章关键信息",
# "color": ("#F59E0B", "#D97706"),
# "icon": "text_summary",
# "author": "周华",
# "upload_time": "2023-10-28",
# "version": "2.1.0",
# "category": "文档处理",
# "features": [
# "多种摘要算法可选",
# "自定义摘要长度",
# "支持多语言处理",
# "处理结果可导出"
# ]
# },
# {
# "id": "color_picker",
# "title": "颜色提取器",
# "desc": "从图像中提取配色方案",
# "color": ("#EC4899", "#DB2777"),
# "icon": "color_picker",
# "author": "吴敏",
# "upload_time": "2023-11-05",
# "version": "1.0.0",
# "category": "图像处理",
# "features": [
# "自动分析主色调",
# "提取多种配色方案",
# "支持导出配色代码",
# "直观的颜色展示"
# ]
# }
]

View File

@@ -155,7 +155,7 @@ class LoginPage(QWidget):
logo_label.setPixmap(logo_pixmap)
logo_label.setAlignment(Qt.AlignCenter)
title_label = QLabel("文档处理中心")
title_label = QLabel("奶酪云工具箱")
title_label.setObjectName("titleLabel")
title_label.setAlignment(Qt.AlignCenter)

View File

@@ -1,12 +1,13 @@
import os
import comtypes.client
import random
import datetime
import os
import random
import comtypes.client
from PyQt5.QtCore import Qt, QThread, pyqtSignal, QTimer
from PyQt5.QtGui import QPixmap, QDragEnterEvent, QDropEvent, QDragLeaveEvent
from PyQt5.QtWidgets import (QWidget, QVBoxLayout, QHBoxLayout, QLabel,
QPushButton, QFrame, QListWidget, QListWidgetItem,
QFileDialog, QProgressBar, QMessageBox, QSpacerItem)
from PyQt5.QtCore import Qt, QThread, pyqtSignal, QSize, QTimer
from PyQt5.QtGui import QPixmap, QIcon, QDragEnterEvent, QDropEvent, QDragLeaveEvent
QFileDialog, QProgressBar)
def generate_unique_filename(original_path):
@@ -653,4 +654,4 @@ class WordToPDFPage(QWidget):
else:
self.findChild(QFrame, "uploadArea").setProperty("hover", False)
self.findChild(QFrame, "uploadArea").style().polish(self.findChild(QFrame, "uploadArea"))
super().paintEvent(event)
super().paintEvent(event)