diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 069d1a8..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/cmake-build-debug/ -/cmake-build-release/ -/.idea/ diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index cd41670..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,70 +0,0 @@ -cmake_minimum_required(VERSION 3.22) -project(FileRename) - -set(CMAKE_CXX_STANDARD 14) -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -set(CMAKE_PREFIX_PATH "C:/Qt/Qt5.14.2/5.14.2/mingw73_64") - -aux_source_directory(${PROJECT_SOURCE_DIR} DIR_MAIN_SRCS) -aux_source_directory(${PROJECT_SOURCE_DIR}/resources DIR_RESOURCES_SRCS) -aux_source_directory(${PROJECT_SOURCE_DIR}/src DIR_SRC_SRCS) - -find_package(Qt5 COMPONENTS - Core - Gui - Widgets - REQUIRED) - -# 添加qrc资源 -qt5_add_resources(QRC_FILES resources/img.qrc) - -#include_directories(resources -# src) - -IF (CMAKE_BUILD_TYPE STREQUAL Debug) - add_executable(${PROJECT_NAME} - resources/app_win32.rc - ${DIR_MAIN_SRCS} ${DIR_RESOURCES_SRCS} ${DIR_SRC_SRCS} ${QRC_FILES}) -else(CMAKE_BUILD_TYPE STREQUAL Release) - add_executable(${PROJECT_NAME} - WIN32 resources/app_win32.rc - ${DIR_MAIN_SRCS} ${DIR_RESOURCES_SRCS} ${DIR_SRC_SRCS} ${QRC_FILES}) -ENDIF() - -target_link_libraries(${PROJECT_NAME} - Qt5::Core - Qt5::Gui - Qt5::Widgets - ) - -if (WIN32) - set(DEBUG_SUFFIX) - if (MSVC AND CMAKE_BUILD_TYPE MATCHES "Debug") - set(DEBUG_SUFFIX "d") - endif () - set(QT_INSTALL_PATH "${CMAKE_PREFIX_PATH}") - if (NOT EXISTS "${QT_INSTALL_PATH}/bin") - set(QT_INSTALL_PATH "${QT_INSTALL_PATH}/..") - if (NOT EXISTS "${QT_INSTALL_PATH}/bin") - set(QT_INSTALL_PATH "${QT_INSTALL_PATH}/..") - endif () - endif () - if (EXISTS "${QT_INSTALL_PATH}/plugins/platforms/qwindows${DEBUG_SUFFIX}.dll") - add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E make_directory - "$/plugins/platforms/") - add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy - "${QT_INSTALL_PATH}/plugins/platforms/qwindows${DEBUG_SUFFIX}.dll" - "$/plugins/platforms/") - endif () - foreach (QT_LIB Core Gui Widgets) - add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy - "${QT_INSTALL_PATH}/bin/Qt5${QT_LIB}${DEBUG_SUFFIX}.dll" - "$") - endforeach (QT_LIB) -endif () diff --git a/README.md b/README.md deleted file mode 100644 index c7684fc..0000000 --- a/README.md +++ /dev/null @@ -1,52 +0,0 @@ -# 文件重命名工具 -![](./assets/img.png) -## 环境 -- Clion 2022.1.2 -- qt 5.14.2 - -## 功能 -- 单个文件重命名 -- 文件夹多个文件重命名 - -## 模式 -### 替换模式 -> 将文件名中的旧字符串替换为新字符串 - -旧字符串为空时,将文件名设置为新字符串 - -新字符串不能存在为:/\<>?*| - -新字符串不能为空 - -### 时间戳模式 - -> 将文件名中的UTC时间戳替换为北京时间:年月日时分秒 - -旧文件名用“-”连接,为:前段名-UTC时间戳.后缀 格式 - -程序会将UTC时间戳替换为北京时间年月日时分秒格式 - -新名:前段名-北京时间.后缀 - -## 重复文件处理 -当前文件夹有重复文件时,在新名后加“-旧名”字符串 - -## 使用 -deploy目录下为生成的程序,可以直接使用 -### 替换模式 -- 输入新旧字符串,选择替换模式,点击确认 -- 选择文件或者文件夹 -![](./assets/img_2.png) - -### 时间戳模式 -- 选择时间戳模式,点击确认 -- 选择文件或者文件夹 - -![](./assets/img_1.png) - -## 更改日志 -### 20220620 v1.0.1 -- [x] 新增打开文件目录功能(右下角listwidget支持) -- [x] 新增删除文件功能(右下角listwidget支持) - - diff --git a/assets/img.png b/assets/img.png deleted file mode 100644 index 6cc0f5f..0000000 Binary files a/assets/img.png and /dev/null differ diff --git a/assets/img_1.png b/assets/img_1.png deleted file mode 100644 index cb6345f..0000000 Binary files a/assets/img_1.png and /dev/null differ diff --git a/assets/img_2.png b/assets/img_2.png deleted file mode 100644 index c9c04a2..0000000 Binary files a/assets/img_2.png and /dev/null differ diff --git a/resources/app_win32.rc b/resources/app_win32.rc deleted file mode 100644 index da3e7bc..0000000 --- a/resources/app_win32.rc +++ /dev/null @@ -1 +0,0 @@ -IDI_ICON1 ICON DISCARDABLE "favicon.ico" \ No newline at end of file diff --git a/resources/close.png b/resources/close.png deleted file mode 100644 index a8c839d..0000000 Binary files a/resources/close.png and /dev/null differ diff --git a/resources/favicon.ico b/resources/favicon.ico deleted file mode 100644 index 4f497c5..0000000 Binary files a/resources/favicon.ico and /dev/null differ diff --git a/resources/fullscreen3.png b/resources/fullscreen3.png deleted file mode 100644 index 466b711..0000000 Binary files a/resources/fullscreen3.png and /dev/null differ diff --git a/resources/fullscreen4.png b/resources/fullscreen4.png deleted file mode 100644 index 401b0a8..0000000 Binary files a/resources/fullscreen4.png and /dev/null differ diff --git a/resources/img.qrc b/resources/img.qrc deleted file mode 100644 index 43e7a68..0000000 --- a/resources/img.qrc +++ /dev/null @@ -1,11 +0,0 @@ - - - favicon.ico - - - close.png - fullscreen3.png - fullscreen4.png - min.png - - \ No newline at end of file diff --git a/resources/min.png b/resources/min.png deleted file mode 100644 index fbd7577..0000000 Binary files a/resources/min.png and /dev/null differ diff --git a/src/Rename.cpp b/src/Rename.cpp deleted file mode 100644 index 5ce35f4..0000000 --- a/src/Rename.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// -// Created by 12038 on 2022/6/16. -// -#include -#include "Rename.h" -#include - -Rename::Rename(QObject *) { - -} - -Rename::~Rename() { - -} - -void Rename::renameFileSlot(const QString &filePath, const QString &strReplaced, const QString &strNew) { -// filePath.lastIndexOf('/') - renameFile(filePath, strReplaced, strNew); -} - -void Rename::renameFile(const QString &filePath, const QString &strReplaced, const QString &strNew) { - QFile file(filePath); - QFileInfo fileInfo(filePath); - qDebug()< QDateTime::currentDateTime())){ - emit newFileNameSignal(tr("时间戳有误")); - return; - }; - QString time = dateTime.toString("yyyyMMddhhmmss"); //时间戳非毫秒级 - QString time1 = dateTime.toString("yyyy-MM-dd hh:mm:ss"); - qDebug() << time1; - - newBaseName = firstName + '-' +time; - } - else if(renameMethodFlag == "替换"){ - qDebug()<<"mode"<<"替换"; - if(!baseName.contains(strReplaced)) { - emit newFileNameSignal("文件名中不存在输入的字符串"); - return; - }; - if(strNew == ""){ - emit newFileNameSignal("新替换的字符串为空"); - return; - } - if(strReplaced == "") { - newBaseName = strNew; - } - else{ - newBaseName = baseName.replace(strReplaced, strNew); - qDebug()<<"newBaseName:"<getFiles(filesDirPath); -// emit oldFileNameSignal(files); - QStringList newFiles; - for (int i = 0; i < files.count(); i++){ - QString fileName = files.at(i); - emit oldFileNameSignal(fileName); - renameFile(fileName, strReplaced, strNew); -// emit newFileNameSignal(newFile); - emit process(i + 1, files.count()); - } -} - -QStringList Rename::getFiles(const QString &filesDirPath) { - QStringList files; - QDir filesDir(filesDirPath); - QList fileInfoList = filesDir.entryInfoList(QDir::Files); - for(int i = 0; i < fileInfoList.count(); i++){ - QFileInfo fileInfo = fileInfoList.at(i); - if(fileInfo.isDir()){ -// QStringList subFiles= getFiles(fileInfo.absoluteFilePath()); -// files.append(subFiles); - continue; - } - else{ - QString fileName = fileInfo.absoluteFilePath(); - files.append(fileName); - } - } - return files; -} - -void Rename::checkBoxChangedSlot(int) { - -} - -void Rename::comboxStateChangedSlot(const QString & text) { - renameMethodFlag = text; - qDebug()<< renameMethodFlag; -} - -void Rename::getTextSlot(const QString &text) { - qDebug()<<"widget当前的text为:"<< text; - currentText = text; -} - -void Rename::openDirSlot() { - QFileInfo fileInfo(currentText); - QString filePath = fileInfo.absolutePath(); - qDebug()<<"filePath"< -#include -#include -#include -#include -#include - -class Rename : public QObject{ -Q_OBJECT - -public: - Rename(QObject *parent = nullptr); - ~Rename(); - -signals: - void oldFileNameSignal(const QString &); - void newFileNameSignal(const QString &); - void process(const int &, const int &); - void singleFileSignal(const QString &); - - void delActionFeedbackSignal(bool delFlag); - - - -public slots: - void getFilesSlot(const QString & filesDirPath, const QString &strReplaced, const QString &strNew); - void renameFileSlot(const QString &filePath, const QString &strReplaced, const QString &strNew); - void checkBoxChangedSlot(int ); - void comboxStateChangedSlot(const QString &); - - void openDirSlot(); - void delActionTriggeredSlot(); - void getTextSlot(const QString &text); - -private: - void renameFile(const QString &filePath, const QString &strReplaced, const QString &strNew); - QStringList getFiles(const QString &); - - QStringList oldList = QStringList(); - QStringList newList = QStringList(); - - QString renameMethodFlag = "替换"; - QStringList dirFiles = QStringList(); - - QString currentText = ""; - -}; - - -#endif //DUPLICATEFILESCHECK_DUPLICATEFILES_H diff --git a/src/main.cpp b/src/main.cpp deleted file mode 100644 index a20479a..0000000 --- a/src/main.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include "widget.h" - -int main(int argc, char *argv[]) { - QApplication a(argc, argv); - qRegisterMetaType>("QHash"); - Widget w; - w.show(); - return QApplication::exec(); -} diff --git a/src/widget.cpp b/src/widget.cpp deleted file mode 100644 index 4943609..0000000 --- a/src/widget.cpp +++ /dev/null @@ -1,252 +0,0 @@ -// -// Created by 12038 on 2022/6/15. -// - -// You may need to build the project (run Qt uic code generator) to get "ui_Widget.h" resolved - -#include "widget.h" -#include "ui_widget.h" - -Widget::Widget(QWidget *parent) - : QWidget(parent) - , ui(new Ui::Widget) -{ - ui->setupUi(this); - //取消菜单栏 - this->setWindowFlags(Qt::FramelessWindowHint); - - //阴影边框效果 - QGraphicsDropShadowEffect *shadow = new QGraphicsDropShadowEffect(); - shadow->setBlurRadius(10); - shadow->setColor(Qt::black); - shadow->setOffset(0); - - ui->shadowWidget->setGraphicsEffect(shadow); - - //父窗口透明 - this->setAttribute(Qt::WA_TranslucentBackground); - - //最大化最小化关闭功能实现 - connect(ui->btnMax, SIGNAL(clicked()), this, SLOT(btnMaxClickedSlot())); - connect(ui->btnMin, SIGNAL(clicked()), this, SLOT(btnMinClickedSlot())); - connect(ui->btnClose, SIGNAL(clicked()), this, SLOT(btnCloseClickedSlot())); - - ui->btnMin->setStyleSheet("border-image: url(:/png/min.png)"); - ui->btnMax->setStyleSheet("border-image: url(:/png/fullscreen3.png)"); - ui->btnClose->setStyleSheet("border-image: url(:/png/close.png)"); - - - renameFile = new Rename(); - myThread = new QThread(); - renameFile->moveToThread(myThread); - myThread->start(); - connect(renameFile, SIGNAL(destroyed(QObject *)), - myThread, SLOT(deleteLater())); - -// ui->labelTitle->setText(" 文件重命名"); - connect(ui->btnSelectFile, SIGNAL(clicked(bool)), this, SLOT(selectFileClickedSlot())); - connect(ui->btnSelectDir, SIGNAL(clicked(bool)), this, SLOT(selectDirClickedSlot())); - connect(this, SIGNAL(fileSelectedSignal(const QString &, const QString &, const QString &)), - renameFile, SLOT(renameFileSlot(const QString &, const QString &, const QString &))); - - connect(this, SIGNAL(getFilesSignal(const QString &, const QString &, const QString &)), - renameFile, SLOT(getFilesSlot(const QString &, const QString &, const QString &))); - - - connect(renameFile, SIGNAL(process(const int &, const int &)), - this, SLOT(processSlot(const int &, const int &))); - connect(renameFile, SIGNAL(oldFileNameSignal(const QString &)), - this, SLOT(oldFileNameSlot(const QString &))); - connect(renameFile, SIGNAL(newFileNameSignal(const QString &)), - this, SLOT(newFileNameSlot(const QString &))); - connect(renameFile, SIGNAL(singleFileSignal(const QString &)), - this, SLOT(newFileNameSlot(const QString &))); - - connect(ui->comboBox, SIGNAL(currentTextChanged(QString)), - renameFile, SLOT(comboxStateChangedSlot(const QString &))); - - connect(ui->btnConfirm, SIGNAL(clicked()), - this, SLOT(btnConfirmClickedSlot())); - - ui->listWidget_2->setContextMenuPolicy(Qt::CustomContextMenu); - connect(ui->listWidget_2, SIGNAL(customContextMenuRequested(const QPoint &)), - this, SLOT(on_listWidget_customContextMenuRequested(const QPoint &))); - - delAction = new QAction(); - delAction->setText("删除文件"); - openAction = new QAction(); - openAction->setText("打开文件目录"); - - connect(delAction, SIGNAL(triggered(bool)), - renameFile, SLOT(delActionTriggeredSlot())); - connect(ui->listWidget_2, SIGNAL(currentTextChanged(const QString &)), - renameFile, SLOT(getTextSlot(const QString &))); - connect(openAction, SIGNAL(triggered(bool)), - renameFile, SLOT(openDirSlot())); - connect(renameFile, SIGNAL(delActionFeedbackSignal(bool)), - this, SLOT(delActionFeedbackSlot(bool))); -} - -Widget::~Widget() -{ - renameFile->deleteLater(); - myThread->exit(); - myThread->wait(10 * 1000); - openAction->deleteLater(); - delAction->deleteLater(); - delete ui; -} - -void Widget::mousePressEvent(QMouseEvent *event) -{ -// QWidget::mousePressEvent(event); - QPoint mouseStartPoint = event->globalPos(); - QPoint windowLeftTopPoint = this->geometry().topLeft(); - this->mousePosInWindow = mouseStartPoint - windowLeftTopPoint; -} - -void Widget::mouseMoveEvent(QMouseEvent *event) -{ -// QWidget::mouseMoveEvent(event); - if(this->mousePosInWindow == QPoint()) return; - QPoint mousePoint = event->globalPos(); - QPoint windowLeftTopPoint = mousePoint - this->mousePosInWindow; - this->move(windowLeftTopPoint); -} - -void Widget::mouseReleaseEvent(QMouseEvent *) -{ - this->mousePosInWindow = QPoint(); -} - -void Widget::closeEvent(QCloseEvent *event) -{ - QMessageBox::StandardButton button; - button=QMessageBox::question(this,tr("退出程序"),QString(tr("确认退出程序?")),QMessageBox::Yes|QMessageBox::No); - if(button==QMessageBox::No) - { - event->ignore(); // 忽略退出信号,程序继续进行 - } - else if(button==QMessageBox::Yes) - { - event->accept(); // 接受退出信号,程序退出 - } -} - -void Widget::btnMaxClickedSlot() -{ - ui->btnMax->setStyleSheet("border-image: url(:/png/fullscreen4.png)"); - if(this->isMaximized()){ - ui->layoutMain->setMargin(9); - ui->btnMax->setStyleSheet("border-image: url(:/png/fullscreen3.png)"); - this->showNormal(); - } - else{ - ui->layoutMain->setMargin(0); - ui->btnMax->setStyleSheet("border-image: url(:/png/fullscreen4.png)"); - this->showMaximized(); - } -} - -void Widget::btnMinClickedSlot() -{ - this->showMinimized(); -} - -void Widget::btnCloseClickedSlot() -{ - this->close(); -} - -void Widget::selectFileClickedSlot() { - if(!confirmFlag){ - QMessageBox::information(this, "提示", "请先确认配置信息:模式为"+ui->comboBox->currentText()); - return; - } - QString path = QFileDialog::getOpenFileName( - this, "选择文件", - "", - ""); - if (path == "") return; - - ui->progressBar->setValue(0); - ui->listWidget->clear(); - ui->listWidget_2->clear(); - ui->listWidget->addItem(path); - - emit fileSelectedSignal(path, ui->leMd5Show->text(), ui->lineEdit->text()); -} - -void Widget::selectDirClickedSlot() { - if(!confirmFlag){ - QMessageBox::information(this, "提示", "请先确认配置信息:模式为"+ui->comboBox->currentText()); - return; - } - QString dirPathUrl = QFileDialog::getExistingDirectory(this, "选择文件夹", ""); - ui->lineDIrShow->setText(dirPathUrl); - if (dirPathUrl == "") return; - ui->progressBar->setValue(0); - ui->listWidget->clear(); - ui->listWidget_2->clear(); -// ui->leMd5Show->clear(); - emit getFilesSignal(dirPathUrl, ui->leMd5Show->text(), ui->lineEdit->text()); -} - -void Widget::processSlot(const int &now, const int &total) { - ui->progressBar->setMaximum(total); - ui->progressBar->setValue(now); -} - -void Widget::oldFileNameSlot(const QString &oldName) { - ui->listWidget->addItem(oldName); -} - -void Widget::newFileNameSlot(const QString &newName) { - ui->listWidget_2->addItem(newName); -} - -void Widget::btnConfirmClickedSlot() { - QString s = ui->lineEdit->text(); - if(s.contains('/') || s.contains('\\') || s.contains('<') || s.contains('>') || s.contains('?') || s.contains('*') || s.contains(':') || s.contains('|') || s.contains('"')){ - QMessageBox::critical(this, "错误", "文件名中不能包含/\\|<>:?*等字符"); - return; - } - confirmFlag = true; -} - -void Widget::on_listWidget_customContextMenuRequested(const QPoint &pos) -{ -// ui->listWidget_2->currentTextChanged() - QMenu *menu = new QMenu(this); -// menu->addAction(ui->actionAdd); -// menu->addAction(ui->actionClear); -// menu->addAction(ui->actionDelete); -// menu->addAction(ui->actionInsert); - - menu->addAction(this->openAction); - menu->addAction(this->delAction); -// menu->addSeparator(); - -// menu->addAction(ui->actionInit); -// menu->addSeparator(); -// menu->addAction(ui->actionSelAll); -// menu->addAction(ui->actionSelInv); -// menu->addAction(ui->actionSelNone); -// menu->addAction(ui->actionSelPopMenu); - menu->exec(QCursor::pos()); - delete menu; -} - -void Widget::delActionFeedbackSlot(bool flag) { - if(flag){ - qDebug()<<"remove item"; - QListWidgetItem * item = ui->listWidget_2->currentItem(); - qDebug()<listWidget_2->removeItemWidget(item); - delete item; - } -} - - - - diff --git a/src/widget.h b/src/widget.h deleted file mode 100644 index bace91d..0000000 --- a/src/widget.h +++ /dev/null @@ -1,76 +0,0 @@ -// -// Created by 12038 on 2022/6/15. -// - -#ifndef DUPLICATEFILESCHECK_WIDGET_H -#define DUPLICATEFILESCHECK_WIDGET_H - -#include -#include -#include -#include -#include -#include "Rename.h" -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE -namespace Ui { class Widget; } -QT_END_NAMESPACE - -class Widget : public QWidget -{ -Q_OBJECT - -public: - Widget(QWidget *parent = nullptr); - ~Widget(); - -protected: - void mousePressEvent(QMouseEvent *event); - void mouseMoveEvent(QMouseEvent *event); - void mouseReleaseEvent(QMouseEvent *event); - - void closeEvent(QCloseEvent *event); - -signals: - void fileSelectedSignal(const QString &path, const QString &strReplaced, const QString &strNew); - void getFilesSignal(const QString &dirPath, const QString &strReplaced, const QString &strNew); - void comboxStateChangedSignal(const QString &); - -public slots: - void processSlot(const int &, const int &); - void oldFileNameSlot(const QString & oldName); - void newFileNameSlot(const QString & newName); - - void delActionFeedbackSlot(bool flag); - -private slots: - void btnMaxClickedSlot(); - void btnMinClickedSlot(); - void btnCloseClickedSlot(); - void selectFileClickedSlot(); - void selectDirClickedSlot(); - void btnConfirmClickedSlot(); - - void on_listWidget_customContextMenuRequested(const QPoint &pos); - -private: - Ui::Widget *ui; - Rename * renameFile; - QThread *myThread; - - QPoint mousePosInWindow = QPoint(); - bool confirmFlag = false; - - QAction *delAction; - QAction *openAction; - - -}; - - -#endif //DUPLICATEFILESCHECK_WIDGET_H diff --git a/src/widget.ui b/src/widget.ui deleted file mode 100644 index 70ed4ee..0000000 --- a/src/widget.ui +++ /dev/null @@ -1,549 +0,0 @@ - - - Widget - - - - 0 - 0 - 950 - 668 - - - - Widget - - - - 9 - - - 9 - - - 9 - - - 9 - - - - - #shadowWidget{ - background-color: rgb(255, 255, 255); - border-radius: 5px; - } - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - 0 - - - 9 - - - 9 - - - - - - 0 - 0 - - - - - 微软雅黑 - 12 - - - - 文件重命名工具 - - - Qt::AlignCenter - - - - - - - - 32 - 32 - - - - - 32 - 32 - - - - - 14 - 50 - false - - - - QPushButton - { - border:none; -border-image: url(../resources/min.jpeg) - } - - QPushButton:hover - { - background-color: rgb(232, 232, 232); - } - QPushButton:pressed - { - background-color: rgb(162, 162, 162); - } - - - - - - - - - - - - - - false - - - - 30 - 10 - - - - - 30 - 10 - - - - - 14 - 50 - false - - - - QPushButton - { - border:none; - } - - QPushButton:hover - { - background-color: rgb(232, 232, 232); - } - QPushButton:pressed - { - background-color: rgb(162, 162, 162); - } - - - - - - - - - - - - - - - 32 - 32 - - - - - 32 - 32 - - - - - 14 - 50 - false - - - - QPushButton -{ - border:none; - border-image: url(../resources/fullscreen3.jpeg) -} -QPushButton:hover -{ - background-color: rgb(232, 232, 232); -} -QPushButton:pressed -{ - background-color: rgb(162, 162, 162); -} - - - - - - - - - - false - - - - 30 - 10 - - - - - 30 - 10 - - - - - 14 - 50 - false - - - - QPushButton - { - border:none; - } - - QPushButton:hover - { - background-color: rgb(232, 232, 232); - } - QPushButton:pressed - { - background-color: rgb(162, 162, 162); - } - - - - - - - - - - - - - - - 30 - 30 - - - - - 30 - 30 - - - - - 14 - 50 - false - - - - QPushButton - { - border:none; - border-top-right-radius: 5px; -border-image: url(../resources/close.jpeg) - } - - QPushButton:hover - { - background-color: rgb(253, 0, 0); - } - QPushButton:pressed - { - background-color: rgb(211, 0, 0); - } - - - - - - - - - - - - - - - - - 0 - 0 - - - - - 10 - - - - - - 10 - - - - Qt::LeftToRight - - - 配置 - - - Qt::AlignCenter - - - - - - - 12 - - - - false - - - false - - - - 替换 - - - - - 时间戳 - - - - - - - - - 12 - - - - - - - - - 12 - - - - - - - - - - - - 12 - - - - - - - - - 12 - - - - - - - - - - - - 12 - - - - QPushButton:hover -{ - background-color: #00aaff; -} -QPushButton:pressed -{ - background-color: rgb(0, 124, 186); - -} - - - 确认 - - - - - - - - - - - 10 - - - - 重命名 - - - Qt::AlignCenter - - - - - - - - - 12 - - - - QPushButton:hover -{ - background-color: #00aaff; -} -QPushButton:pressed -{ - background-color: rgb(0, 124, 186); - -} - - - 选择文件 - - - - - - - - 12 - - - - QPushButton:hover -{ - background-color: #00aaff; -} -QPushButton:pressed -{ - background-color: rgb(0, 124, 186); - -} - - - 选择目录 - - - - - - - - - - - - - - true - - - - - - - true - - - Qt::CustomContextMenu - - - - - - - - - 0 - - - - - - - - - - - - - - - - - diff --git a/windeploy/D3Dcompiler_47.dll b/windeploy/D3Dcompiler_47.dll deleted file mode 100644 index 56512f5..0000000 Binary files a/windeploy/D3Dcompiler_47.dll and /dev/null differ diff --git a/windeploy/FileRename.exe b/windeploy/FileRename.exe deleted file mode 100644 index 571b4d1..0000000 Binary files a/windeploy/FileRename.exe and /dev/null differ diff --git a/windeploy/Qt5Core.dll b/windeploy/Qt5Core.dll deleted file mode 100644 index 5ec58e1..0000000 Binary files a/windeploy/Qt5Core.dll and /dev/null differ diff --git a/windeploy/Qt5Gui.dll b/windeploy/Qt5Gui.dll deleted file mode 100644 index d75c183..0000000 Binary files a/windeploy/Qt5Gui.dll and /dev/null differ diff --git a/windeploy/Qt5Svg.dll b/windeploy/Qt5Svg.dll deleted file mode 100644 index 4087736..0000000 Binary files a/windeploy/Qt5Svg.dll and /dev/null differ diff --git a/windeploy/Qt5Widgets.dll b/windeploy/Qt5Widgets.dll deleted file mode 100644 index 84511cc..0000000 Binary files a/windeploy/Qt5Widgets.dll and /dev/null differ diff --git a/windeploy/iconengines/qsvgicon.dll b/windeploy/iconengines/qsvgicon.dll deleted file mode 100644 index 7f92d34..0000000 Binary files a/windeploy/iconengines/qsvgicon.dll and /dev/null differ diff --git a/windeploy/imageformats/qgif.dll b/windeploy/imageformats/qgif.dll deleted file mode 100644 index fe72ce3..0000000 Binary files a/windeploy/imageformats/qgif.dll and /dev/null differ diff --git a/windeploy/imageformats/qicns.dll b/windeploy/imageformats/qicns.dll deleted file mode 100644 index 1c5ab4f..0000000 Binary files a/windeploy/imageformats/qicns.dll and /dev/null differ diff --git a/windeploy/imageformats/qico.dll b/windeploy/imageformats/qico.dll deleted file mode 100644 index 4f12ab9..0000000 Binary files a/windeploy/imageformats/qico.dll and /dev/null differ diff --git a/windeploy/imageformats/qjpeg.dll b/windeploy/imageformats/qjpeg.dll deleted file mode 100644 index 6dbeeb2..0000000 Binary files a/windeploy/imageformats/qjpeg.dll and /dev/null differ diff --git a/windeploy/imageformats/qsvg.dll b/windeploy/imageformats/qsvg.dll deleted file mode 100644 index 6717ba4..0000000 Binary files a/windeploy/imageformats/qsvg.dll and /dev/null differ diff --git a/windeploy/imageformats/qtga.dll b/windeploy/imageformats/qtga.dll deleted file mode 100644 index bfe4295..0000000 Binary files a/windeploy/imageformats/qtga.dll and /dev/null differ diff --git a/windeploy/imageformats/qtiff.dll b/windeploy/imageformats/qtiff.dll deleted file mode 100644 index 4cbf358..0000000 Binary files a/windeploy/imageformats/qtiff.dll and /dev/null differ diff --git a/windeploy/imageformats/qwbmp.dll b/windeploy/imageformats/qwbmp.dll deleted file mode 100644 index 6d93968..0000000 Binary files a/windeploy/imageformats/qwbmp.dll and /dev/null differ diff --git a/windeploy/imageformats/qwebp.dll b/windeploy/imageformats/qwebp.dll deleted file mode 100644 index f783616..0000000 Binary files a/windeploy/imageformats/qwebp.dll and /dev/null differ diff --git a/windeploy/libEGL.dll b/windeploy/libEGL.dll deleted file mode 100644 index 873d988..0000000 Binary files a/windeploy/libEGL.dll and /dev/null differ diff --git a/windeploy/libGLESv2.dll b/windeploy/libGLESv2.dll deleted file mode 100644 index d6786ca..0000000 Binary files a/windeploy/libGLESv2.dll and /dev/null differ diff --git a/windeploy/libgcc_s_seh-1.dll b/windeploy/libgcc_s_seh-1.dll deleted file mode 100644 index 4ec945b..0000000 Binary files a/windeploy/libgcc_s_seh-1.dll and /dev/null differ diff --git a/windeploy/libstdc++-6.dll b/windeploy/libstdc++-6.dll deleted file mode 100644 index 8e55acc..0000000 Binary files a/windeploy/libstdc++-6.dll and /dev/null differ diff --git a/windeploy/libwinpthread-1.dll b/windeploy/libwinpthread-1.dll deleted file mode 100644 index d9f4e1a..0000000 Binary files a/windeploy/libwinpthread-1.dll and /dev/null differ diff --git a/windeploy/opengl32sw.dll b/windeploy/opengl32sw.dll deleted file mode 100644 index 475e82a..0000000 Binary files a/windeploy/opengl32sw.dll and /dev/null differ diff --git a/windeploy/platforms/qwindows.dll b/windeploy/platforms/qwindows.dll deleted file mode 100644 index b02c018..0000000 Binary files a/windeploy/platforms/qwindows.dll and /dev/null differ diff --git a/windeploy/styles/qwindowsvistastyle.dll b/windeploy/styles/qwindowsvistastyle.dll deleted file mode 100644 index 9f5b283..0000000 Binary files a/windeploy/styles/qwindowsvistastyle.dll and /dev/null differ diff --git a/windeploy/translations/qt_ar.qm b/windeploy/translations/qt_ar.qm deleted file mode 100644 index 1e9227a..0000000 Binary files a/windeploy/translations/qt_ar.qm and /dev/null differ diff --git a/windeploy/translations/qt_bg.qm b/windeploy/translations/qt_bg.qm deleted file mode 100644 index dcec255..0000000 Binary files a/windeploy/translations/qt_bg.qm and /dev/null differ diff --git a/windeploy/translations/qt_ca.qm b/windeploy/translations/qt_ca.qm deleted file mode 100644 index 0b798e5..0000000 Binary files a/windeploy/translations/qt_ca.qm and /dev/null differ diff --git a/windeploy/translations/qt_cs.qm b/windeploy/translations/qt_cs.qm deleted file mode 100644 index 3ab5ca7..0000000 Binary files a/windeploy/translations/qt_cs.qm and /dev/null differ diff --git a/windeploy/translations/qt_da.qm b/windeploy/translations/qt_da.qm deleted file mode 100644 index 6756496..0000000 Binary files a/windeploy/translations/qt_da.qm and /dev/null differ diff --git a/windeploy/translations/qt_de.qm b/windeploy/translations/qt_de.qm deleted file mode 100644 index 9c8e9b4..0000000 Binary files a/windeploy/translations/qt_de.qm and /dev/null differ diff --git a/windeploy/translations/qt_en.qm b/windeploy/translations/qt_en.qm deleted file mode 100644 index 9dad8df..0000000 Binary files a/windeploy/translations/qt_en.qm and /dev/null differ diff --git a/windeploy/translations/qt_es.qm b/windeploy/translations/qt_es.qm deleted file mode 100644 index 82012da..0000000 Binary files a/windeploy/translations/qt_es.qm and /dev/null differ diff --git a/windeploy/translations/qt_fi.qm b/windeploy/translations/qt_fi.qm deleted file mode 100644 index 2548cca..0000000 Binary files a/windeploy/translations/qt_fi.qm and /dev/null differ diff --git a/windeploy/translations/qt_fr.qm b/windeploy/translations/qt_fr.qm deleted file mode 100644 index 8353f0a..0000000 Binary files a/windeploy/translations/qt_fr.qm and /dev/null differ diff --git a/windeploy/translations/qt_gd.qm b/windeploy/translations/qt_gd.qm deleted file mode 100644 index fd7eecd..0000000 Binary files a/windeploy/translations/qt_gd.qm and /dev/null differ diff --git a/windeploy/translations/qt_he.qm b/windeploy/translations/qt_he.qm deleted file mode 100644 index e15d45e..0000000 Binary files a/windeploy/translations/qt_he.qm and /dev/null differ diff --git a/windeploy/translations/qt_hu.qm b/windeploy/translations/qt_hu.qm deleted file mode 100644 index b51bd1a..0000000 Binary files a/windeploy/translations/qt_hu.qm and /dev/null differ diff --git a/windeploy/translations/qt_it.qm b/windeploy/translations/qt_it.qm deleted file mode 100644 index 0d9d17d..0000000 Binary files a/windeploy/translations/qt_it.qm and /dev/null differ diff --git a/windeploy/translations/qt_ja.qm b/windeploy/translations/qt_ja.qm deleted file mode 100644 index 74409b1..0000000 Binary files a/windeploy/translations/qt_ja.qm and /dev/null differ diff --git a/windeploy/translations/qt_ko.qm b/windeploy/translations/qt_ko.qm deleted file mode 100644 index a46b8a0..0000000 Binary files a/windeploy/translations/qt_ko.qm and /dev/null differ diff --git a/windeploy/translations/qt_lv.qm b/windeploy/translations/qt_lv.qm deleted file mode 100644 index c1dbfbd..0000000 Binary files a/windeploy/translations/qt_lv.qm and /dev/null differ diff --git a/windeploy/translations/qt_pl.qm b/windeploy/translations/qt_pl.qm deleted file mode 100644 index 0909204..0000000 Binary files a/windeploy/translations/qt_pl.qm and /dev/null differ diff --git a/windeploy/translations/qt_ru.qm b/windeploy/translations/qt_ru.qm deleted file mode 100644 index 791bfc4..0000000 Binary files a/windeploy/translations/qt_ru.qm and /dev/null differ diff --git a/windeploy/translations/qt_sk.qm b/windeploy/translations/qt_sk.qm deleted file mode 100644 index 215d234..0000000 Binary files a/windeploy/translations/qt_sk.qm and /dev/null differ diff --git a/windeploy/translations/qt_uk.qm b/windeploy/translations/qt_uk.qm deleted file mode 100644 index 88c4362..0000000 Binary files a/windeploy/translations/qt_uk.qm and /dev/null differ diff --git a/windeploy/translations/qt_zh_TW.qm b/windeploy/translations/qt_zh_TW.qm deleted file mode 100644 index 051b516..0000000 Binary files a/windeploy/translations/qt_zh_TW.qm and /dev/null differ