Skip to content

Commit

Permalink
feat: Add AI image enhance support.
Browse files Browse the repository at this point in the history
添加AI修图,图像增强功能支持.
* AIModelService:
  调用DBus图像增强服务
* AIEnhanceFloatWidget:
  图像增强解码浮动控件
* LibImageGraphicsView:
  添加图像处理加载效果
* ViewPanel:
  主要界面交互和提示

Log: 添加AI图像增强功能支持.
Influence: AIModel
Change-Id: I1e44f7cbc2ea045a946990c8d0aea66e835338ab
  • Loading branch information
rb-union committed Nov 27, 2023
1 parent 40e6a96 commit 975a074
Show file tree
Hide file tree
Showing 26 changed files with 2,127 additions and 111 deletions.
33 changes: 33 additions & 0 deletions libimageviewer/assets/frame/common/error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions libimageviewer/assets/frame/frametheme.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
<file>dark/images/importtip/close_hover.png</file>
<file>dark/images/importtip/close_normal.png</file>
<file>dark/images/importtip/close_press.png</file>
<file>common/error.svg</file>
</qresource>
</RCC>
12 changes: 12 additions & 0 deletions libimageviewer/assets/icons/texts/dcc_file_save_as_36px.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions libimageviewer/assets/icons/texts/dcc_reset_36px.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions libimageviewer/assets/icons/texts/dcc_save_36px.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions libimageviewer/assets/icons/theme-icons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
<file>texts/dcc_up_36px.svg</file>
<file>texts/dcc_down_dark_36px.svg</file>
<file>texts/dcc_down_36px.svg</file>
<file>texts/dcc_save_36px.svg</file>
<file>texts/dcc_file_save_as_36px.svg</file>
<file>texts/dcc_reset_36px.svg</file>
</qresource>
</RCC>
3 changes: 2 additions & 1 deletion libimageviewer/image-viewer_global.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -43,6 +43,7 @@ enum NormalMenuItemId {
IdSubMenu,
IdDraw,
IdOcr,
IdImageEnhance,
MenuItemCount
};
enum ItemInfoType {
Expand Down
Loading

0 comments on commit 975a074

Please sign in to comment.