Skip to content

Commit

Permalink
chore: updating comments
Browse files Browse the repository at this point in the history
  • Loading branch information
XMuli committed May 30, 2024
1 parent 7f68501 commit 285da89
Show file tree
Hide file tree
Showing 67 changed files with 76 additions and 79 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2024 XMuli
# SPDX-GitHub: https://github.com/XMuli/flipped
# SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
# SPDX-Author: XMuli <[email protected]>

cmake_minimum_required(VERSION 3.5)
Expand Down
9 changes: 4 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2024 XMuli
# SPDX-GitHub: https://github.com/XMuli/flipped
# SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
# SPDX-Author: XMuli <[email protected]>

cmake_minimum_required(VERSION 3.5)

set(project_name FLIPPED)
set(project_version_major 1)
set(project_version_minor 5)
set(project_version_path 0)
set(project_version_path 1)
set(project_version ${project_version_major}.${project_version_minor}.${project_version_path})
project(${project_name} VERSION ${project_version} LANGUAGES CXX)

Expand All @@ -19,8 +19,8 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../bin") # qtcreator + msvc 可执行文件的输出目录
set(CMAKE_BINARY_DIR "${EXECUTABLE_OUTPUT_PATH}") # visual studio 2022 可执行的输出目录
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}) # 创建输出目录
set(CMAKE_BINARY_DIR "${EXECUTABLE_OUTPUT_PATH}") # visual studio 2022 可执行的输出目录
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}) # 创建输出目录
set(_VERSION ${VERSION})
#message("--------------------->${QT_VERSION} ${QT_VERSION_MAJOR} ${QT_VERSION_MINOR} ${QT_VERSION_PATCH}")

Expand Down Expand Up @@ -388,7 +388,6 @@ endif()
#打包和压缩***************************************************************************************
# 拷贝 ssl 和对应的 qt 依赖


if(APPLE)
add_custom_command(TARGET ${project_name} POST_BUILD
COMMAND "${windeployqt} ${EXECUTABLE_OUTPUT_PATH}/${project_name}.app" -verbose=1
Expand Down
4 changes: 1 addition & 3 deletions src/core/arrowline.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>


#include "arrowline.h"

ArrowLine::ArrowLine(double lineWidth, const QPointF &p1, const QPointF &p2)
: m_lineWidth(lineWidth)
, m_p1(p1)
, m_p2(p2)
{

}

const QPainterPath ArrowLine::arrowLine() const
Expand Down
2 changes: 1 addition & 1 deletion src/core/arrowline.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef ARROWLINE_H
Expand Down
2 changes: 1 addition & 1 deletion src/core/isingleton.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef TSINGLETON_H
Expand Down
2 changes: 1 addition & 1 deletion src/core/xlog.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef XLOG_H
Expand Down
2 changes: 1 addition & 1 deletion src/core/xqtlog.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "xqtlog.h"
Expand Down
2 changes: 1 addition & 1 deletion src/core/xqtlog.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef XQTLOG_H
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include <QApplication>
Expand Down
2 changes: 1 addition & 1 deletion src/platform/iwininfo.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "iwininfo.h"
Expand Down
2 changes: 1 addition & 1 deletion src/platform/iwininfo.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef IWININFO_H
Expand Down
2 changes: 1 addition & 1 deletion src/platform/wininfo.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "wininfo.h"
Expand Down
2 changes: 1 addition & 1 deletion src/platform/wininfo.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef WININFO_H
Expand Down
2 changes: 1 addition & 1 deletion src/platform/wininfo_win.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "wininfo_win.h"
Expand Down
2 changes: 1 addition & 1 deletion src/platform/wininfo_win.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef WININFO_WIN_H
Expand Down
2 changes: 1 addition & 1 deletion src/pluginsinterface/iplugininterface.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "iplugininterface.h"
2 changes: 1 addition & 1 deletion src/pluginsinterface/iplugininterface.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef IPLUGININTERFACE_H
Expand Down
2 changes: 1 addition & 1 deletion src/preference/appellation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>
#include "appellation.h"

Expand Down
2 changes: 1 addition & 1 deletion src/preference/appellation.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef APPELLATION_H
Expand Down
2 changes: 1 addition & 1 deletion src/preference/hotkeyswidget.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "hotkeyswidget.h"
Expand Down
2 changes: 1 addition & 1 deletion src/preference/hotkeyswidget.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef HOTKEYSWIDGET_H
Expand Down
2 changes: 1 addition & 1 deletion src/preference/prefmanage.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "prefmanage.h"
Expand Down
2 changes: 1 addition & 1 deletion src/preference/prefmanage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef PREFMANAGE_H
Expand Down
8 changes: 4 additions & 4 deletions src/preference/prefmanage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>5</number>
</property>
<widget class="QWidget" name="tabGeneral">
<attribute name="title">
Expand Down Expand Up @@ -1143,7 +1143,7 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../resources.qrc">:/resources/logo/logo.png</pixmap>
<pixmap resource="../Resources.qrc">:/resources/logo/logo.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
Expand Down Expand Up @@ -1275,7 +1275,7 @@
<item>
<widget class="QLabel" name="labGitHub">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/XMuli/FLIPPED&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#008000;&quot;&gt;GitHub&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/SunnyScreenshot/FLIPPED&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#008000;&quot;&gt;GitHub&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
Expand Down Expand Up @@ -1336,7 +1336,7 @@
</layout>
</widget>
<resources>
<include location="../resources.qrc"/>
<include location="../Resources.qrc"/>
</resources>
<connections/>
</ui>
2 changes: 1 addition & 1 deletion src/screen/datamaid.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "datamaid.h"
Expand Down
2 changes: 1 addition & 1 deletion src/screen/datamaid.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef DATAMAID_H
Expand Down
2 changes: 1 addition & 1 deletion src/screen/drawhelper.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "drawhelper.h"
Expand Down
2 changes: 1 addition & 1 deletion src/screen/drawhelper.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef XDRAW_H
Expand Down
2 changes: 1 addition & 1 deletion src/screen/rectcalcu.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "rectcalcu.h"
Expand Down
2 changes: 1 addition & 1 deletion src/screen/rectcalcu.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef PICSHOT_RECTCALCU_H
Expand Down
2 changes: 1 addition & 1 deletion src/screen/screenshot.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "screenshot.h"
Expand Down
2 changes: 1 addition & 1 deletion src/screen/screenshot.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef PICSHOT_WINFULLSCREEN_H
Expand Down
2 changes: 1 addition & 1 deletion src/screen/tray.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "tray.h"
Expand Down
2 changes: 1 addition & 1 deletion src/screen/tray.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef TRAY_H
Expand Down
2 changes: 1 addition & 1 deletion src/tool/base/blurwidget.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "blurwidget.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tool/base/blurwidget.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#ifndef BLURWIDGET_H
Expand Down
2 changes: 1 addition & 1 deletion src/tool/base/colorparabar.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "colorparabar.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tool/base/colorparabar.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>
#ifndef COLORPARABAR_H
#define COLORPARABAR_H
Expand Down
2 changes: 1 addition & 1 deletion src/tool/base/managebar.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>

#include "managebar.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tool/base/managebar.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>
#ifndef MANAGEBAR_H
#define MANAGEBAR_H
Expand Down
2 changes: 1 addition & 1 deletion src/tool/magnifier/magnifier.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2021-2024 XMuli
// SPDX-GitHub: https://github.com/XMuli/flipped
// SPDX-GitHub: https://github.com/SunnyScreenshot/FLIPPED
// SPDX-Author: XMuli <[email protected]>
#include "magnifier.h"

Expand Down
Loading

0 comments on commit 285da89

Please sign in to comment.