Zhang Dingyuan
4fb86c1204
chore: update license info
...
as title
Log:
2024-08-29 13:25:29 +08:00
Zhang Dingyuan
afe212871f
feat: add fixme note
...
I have no idea
Log:
2024-08-29 13:25:29 +08:00
Zhang Dingyuan
3a6a15b9f2
fix: remove treeland personalization protocols useless function
...
remove set_resizable and set_movable
Log:
2024-08-29 13:25:29 +08:00
Zhang Dingyuan
c227e1adce
fix: cannot move window on wayland
...
code from deepin platform plugin
Log:
2024-08-29 13:25:29 +08:00
Zhang Dingyuan
9c99626771
feat: support qt5 and qt6
...
as title
Log:
2024-08-29 13:25:29 +08:00
wangfei
6f375cfc0c
feat: Add notitlebar function on wayland platform
...
add notitlebar function on wayland platform
Log: add notitlebar function on wayland platform
2024-08-29 13:25:29 +08:00
zhangkun
7ec030f0b9
Revert "feat: add close.dci"
...
This reverts commit 12b60a3c8a .
Issue: https://github.com/linuxdeepin/developer-center/issues/10482
2024-08-23 15:13:18 +08:00
覃本学
820e3030be
feat: support to change window effects
...
(cherry picked from commit 4f4be15cb4 )
(cherry picked from commit 762bd7b2ec )
Bug: https://pms.uniontech.com/bug-view-244347.html
https://pms.uniontech.com/bug-view-243363.html
https://pms.uniontech.com/bug-view-240437.html
2024-08-13 19:41:53 +08:00
ck
1ffd986e97
fix: wrong judgment conditions
...
assert player not nullptr
2024-07-26 13:54:06 +08:00
Yixue Wang
12b60a3c8a
feat: add close.dci
...
Add close.dci as builtin icon.
2024-07-26 11:01:28 +08:00
ck
da12696b21
Revert "fix: jagged edges on ddciicon"
...
This reverts commit da27fb74b3 .
Issue: https://github.com/linuxdeepin/developer-center/issues/9443
2024-07-01 15:24:57 +08:00
zhangkun
da27fb74b3
fix: jagged edges on ddciicon
...
Use smooth scaling before drawing to smaller QImage
Issue: https://github.com/linuxdeepin/developer-center/issues/8691
2024-06-20 10:14:03 +08:00
ck
1c814a9217
fix: create icon engine faild on Qt6
...
- 不需要考虑 DontFallbackToQIconFromTheme 这里是直接 new QIconLoaderEngine
- qErrnoWarning ==> qWarning 不需要 lasterror
Issue: https://github.com/linuxdeepin/developer-center/issues/8436,https://github.com/linuxdeepin/developer-center/issues/8241
2024-05-13 11:04:07 +08:00
Ye ShanShan
1b9c238bbc
fix: missing initialization for baseFont of fontManager
...
We should update baseFont from qGuiApp not just when font changed.
Issue: https://github.com/linuxdeepin/developer-center/issues/8040
2024-04-23 09:36:48 +08:00
ck
bffcdde9ea
chore: add flag to disable noncache flag
...
- if flag is set always try create iconengine
- avoid too much logs
2024-04-23 09:32:58 +08:00
ck
c42d36671e
chore: insert to cache when icon is not null
...
check newIcon is Null
2024-04-23 09:32:58 +08:00
Ye ShanShan
069289d500
fix: setWindowBlurAreaByWM only work once in qt6
...
`*(reinterpret_cast<const QVector<qint32>*>(&area)` is not equal
QVector<qint32> in qt6, it cause QVariant's equal function is
invalid. so we perform type conversion explicitly.
2024-04-09 17:52:43 +08:00
Ye ShanShan
20f5fc1d3b
feat: support to get specified palette
...
get the specified type of palette.
2024-03-26 11:46:50 +08:00
ck
f08256da6e
fix: PlaceholderText color tweak
...
原来 continue 只是不用 QColor()/黑色 覆盖
去掉 continue 才是使用 DPalette 中的 PlaceholderText 覆盖..
Issue: https://github.com/linuxdeepin/developer-center/issues/7554
2024-03-20 15:21:11 +08:00
YeShanShan
9d2673082e
fix: wrong availableSizes for DIconProxyEngine
...
We should call proxy's `availableSizes` function.
`availableSizes` always return empty list for icons, it causes
`QPainter::begin: Paint device returned engine == 0` when painting
to QImage.
2024-03-12 11:25:17 +08:00
wangfei
3b6cb2e9f2
fix: search icon can't change with theme change
...
add search icon in dark theme and light theme respectively
Issue: linuxdeepin/developer-center#6230
2024-03-01 09:58:37 +08:00
YeShanShan
8561847a13
fix: changed paletteType's config value
...
We only save config's value when caller update paletteType manually.
2024-03-01 09:54:05 +08:00
YeShanShan
754d5baff5
fix: app refresh slowly
...
ApplicationPaletteChange more times.
2024-02-01 11:51:55 +08:00
YeShanShan
0f079b0838
fix: font can't follow changes in qt6
...
`fontChanged` has been deprecated in qt6, and the signal can't
be emitted in `qdeepin` when font changed.
2024-02-01 09:36:36 +08:00
YeShanShan
d5c1ae779b
fix: icon doesn't update when iconTheme changed
...
Adding icon's themeName as a part of the cache key.
2024-01-23 18:10:26 +08:00
YeShanShan
2299e3137e
chore: warning for connect
...
it reports `unique connections require a pointer to member
function of a QObject subclass` for UniqueConnection.
2024-01-10 10:07:36 +08:00
ComixHe
2d7435324c
feat: enable xdgIconLoader under Qt6
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-09 15:51:56 +08:00
ck
7e3569496e
fix: menu icon incorrect in dark mode
...
use texts/icons instead of actions/icons
Issue: https://github.com/linuxdeepin/developer-center/issues/6624
2024-01-09 15:51:26 +08:00
ck
df8a05e159
fix: DIconProxyEngine read not ensureEngine
...
read and write operations not match
Trying to construct an instance of an invalid type, type id:xxx
2024-01-04 10:00:30 +08:00
ck
8cabfe86aa
fix: xdg icon loading failed with qt6
...
fallback to QIconLoaderEngine on DTK_DISABLE_LIBXDG
Issue: https://github.com/linuxdeepin/developer-center/issues/6459
2023-12-20 09:37:34 +08:00
ck
d35f8e10fd
feat: move ddesktopservices to dtkgui
...
- move ddesktopservices from dtkwidget to dtkgui
- add docs for ddesktopservice
- showFileItemPropertie ==> showFileItemProperty
- use dbus to check SoundEffect.Enabled instead of Gsettings
Issue: linuxdeepin/dtk#134
2023-11-15 09:48:31 +08:00
YeShanShan
3b2949bbf3
fix: Wrong IconName for DIconEngine
...
The icon names of `IconEngine` and `DIconProxyEngine` are
inconsistent when there is no such icon.
Issue: https://github.com/linuxdeepin/developer-center/issues/5760
2023-10-09 09:09:18 +08:00
Yixue Wang
75633580dc
fix: missing link when disable librsvg
...
When disable librsvg, we use QtSvg to implement dsvgrenderer. Link
to Qt(5/6)::Svg target.
Log: fix missing link when disable librsvg
2023-10-06 09:34:25 +08:00
chenhongtao
6bee9a679d
fix: when iconName is absolute path
...
Log:
2023-09-25 11:09:58 +08:00
ck
4f8d3739b5
fix: svg with filter attribute rendering exception
...
Svg filters attribute are not supported by QSvgRenderer, and
it will not be. see https://bugreports.qt.io/browse/QTBUG-9081
XdgIconLoaderEngine(>3.6) use QSvgRenderer to render svg instead of
svg icon engines https://github.com/lxqt/libqtxdg/blob/master/src/xdgiconloader/xdgiconloader.cpp#L814
Archlinux DTK_DISABLE_LIBRSVG=ON by default https://github.com/linuxdeepin/dtkgui/pull/130
- turn off DTK_DISABLE_LIBRSVG option
- force get pixmap from icon engines
- fix DSvgRenderer::toImage return null image with empty elementId on DTK_DISABLE_LIBRSVG
2023-09-25 09:00:34 +08:00
YeShanShan
1da5179b08
fix: Wrong value of DPalette::TextLively
...
TextLively is different between light and dark theme, otherwise
it can't see clearly in light theme.
2023-09-14 16:30:33 +08:00
Fan PengCheng
f9d2dcdeb9
fix: 修复应用异常退出后颜色主题未保存的问题
...
修改为设置后立即保存
Log: 修复应用异常退出后颜色主题未保存的问题
Influence: 应用的主题选项在退出重启后未恢复上一次的选择
Bug: https://pms.uniontech.com/bug-view-201203.html
Change-Id: I73b92fd781737e757827bbb6aca87887c2c16ce9
2023-09-01 11:06:12 +08:00
wangfei
09b956383e
fix: dci icon cache key miss theme name
...
dci 图标缓存没有加上主题名导致可能在不同的主题时匹配到其他主题缓存的图标
Issue: https://github.com/linuxdeepin/developer-center/issues/4517
2023-08-21 14:49:36 +08:00
YeShanShan
1bbeb9f475
fix: Compiling error in qt6.4
...
QThemeIconEntries changed from QList<QIconLoaderEngineEntry*>
to std::vector<std::unique_ptr<QIconLoaderEngineEntry>>
QFont hasn't include QObject header file.
2023-08-17 16:38:30 +08:00
ck
f08f6ea538
chore: ut build without source
...
- filedrag destroy server to emit serverDestroyed
- compare color sometime failed, convert to rgb first
- ut build without source(cmake -DEnableCov=ON)
2023-08-16 09:28:17 +08:00
houchengqiu
c2b0782d00
refator: rewrite hasUserManual function
...
1.porting dbus interface(ManualExists) implementation to dtk
Log: rewrite hasUserManual function
2023-08-03 11:44:40 +08:00
houchengqiu
3f1960067b
chore: Adaptation for Qt5.11
...
Adaptation for Qt5.11
Log: Adaptation for Qt5.11
2023-08-03 11:44:40 +08:00
ck
07b454ccb7
chore: iconengine tweak and uint test
...
- forward declaration XdgIconLoaderEngine
- xdgiconloader headers position tweak
- XDG colorScheme color support alpha (css color is RGBA not ARGB)
- add ut_XdgIconProxyEngine ut_DIconProxyEngine
2023-07-31 13:29:16 +08:00
ck
afb7340011
feat: load app and qt Translation files
...
- interface: DGuiApplicationHelper::loadTranslator();
- auto load qt_xxx.qm && qtbase_xxx.qm && appName_xxx.qm
- add loadTranslator ut
2023-07-27 11:52:02 +08:00
ck
994133ca16
fix: dplatformtheme fetchPalette crash
...
nullptr check
2023-07-26 17:29:55 +08:00
wangyixue
9523642508
feat: add helper for high dpi pixmap
...
Add loadNxPixmap for high dpi pixmap.
Log: add loadNxPixmap
2023-07-26 14:29:30 +08:00
ck
e7834e1763
fix: DFileDragClient::serverDestroyed nerver emit
...
emit serverDestroyed in ~DFileDragServer()
DDndClientSignalRelay::serverDestroyed emit DFileDragClient::serverDestroyed
add dfiledrag unit test
2023-07-25 08:56:50 +08:00
ck
fa3ca10d03
fix(build): DIconTheme ut failed
...
DIconTheme::createIconEngine always create DIconProxyEngine
so DIconTheme::isBuiltinIcon && DIconTheme::isXdgIcon failed
add DIconProxyEngine::proxyKey() to get proxy iconengine's key
2023-07-21 16:13:51 +08:00
ck
ba55aa6e7d
feat: DIconTheme::findQIcon add fallback icon
...
support fallback icon
2023-07-18 11:00:28 +08:00
wangfei
1cb3939cf9
fix: build failed in qt6 due to proxyengine
...
adjust some about iconproxyengine to build qt6
Log: fix build failed in qt6 due to proxyengine
2023-07-13 13:05:41 +08:00
wangfei
0b63795ee7
chore: add proxyiconengine
...
add proxyiconengine from qt5integration
Log: add proxyicnengine from qt5integration
2023-07-10 17:33:37 +08:00
SPUER
20c5c09315
chore: reduce compilation warnings
...
解决赋值返回警告
解决\l不能解析警告
解决\value不能解析警告
Issue: https://github.com/linuxdeepin/dtk/issues/96
2023-07-07 06:07:15 +00:00
wangfei
b810be77cb
chore: adjust icontheme
...
dciiconEngine is added to createIconEngine interface.
Log: dciiconEngine is added to createIconEngine interface.
2023-07-07 09:54:30 +08:00
wangfei
98b9632f63
chore: add dciiconengine
...
add dciiconengine frome qt5integration
Log: add dciiconengine
2023-07-06 13:11:14 +08:00
ck
d867a02cda
refactor!: deprecate some interfaces in dtk6
...
- DGuiApplicationHelper -7
- DPalette -1
- DPlatformTheme -27 properties
2023-07-06 11:24:23 +08:00
WangFei
2c4cc71e0d
chore: adjust xdgiconproxyengine ( #167 )
...
add difference about xdgiconproxyengine from qt5integration
Log: add difference about xdgiconproxyengine from qt5integration
Co-authored-by: wangfei <wangfei@deepin.org>
2023-07-05 07:51:38 +00:00
WangFei
4350475fe1
chore: adjust builtiniconengine ( #164 )
...
add the difference about builtiniconengine from qt5integration
Log: add the difference about builtiniconengine from qt5integration
Co-authored-by: wangfei <wangfei@deepin.org>
2023-07-05 07:50:57 +00:00
ck
0ad02e6ce7
chore: update dconfig appid
...
1. dconfig meta file installed by libdtkdata.
2. appid switch to org.deepin.dtk.preference
2023-06-25 09:38:21 +08:00
ck
62b66a9f05
fix: ut failed
...
1. dciicon memery leak(ReaderData not delete)
2. DImageHandler memery leak
3. use png instead of svg (no need svg imageiohandler plugin)
2023-06-19 13:13:09 +08:00
ck
dcede1f96d
chore: Adapt Qt6 && Dtk6 compilation
...
Since xdgiconloader is not adapted to Qt6, libxdg is disabled by default when compiling Dtk6
Do not install dconfig file in dtkgui to avoid conficts with dtk6gui
C++ 17 by default
DVERSION ==> DTK_VERSION
cmake_minimum_required 3.13
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-19 13:13:09 +08:00
ck
b683e97cbc
fix(build): suport build with Qt6 && Qt5
...
使用条件编译将选择不同版本 Qt 接口
2023-06-19 13:13:09 +08:00
YeShanShan
3196e5d7a0
fix: App blocked by hasUserManual in live system
...
Maunal dbus service isn't registed in live system firstly, we
should wakeup it instead of blocking UI.
It may be cause app of `longlong` hasn't Manual when click menu
to show Maunal firstly.
Bug: https://pms.uniontech.com/bug-view-197713/.html
Log: 解决在live系统中,帮助手册dbus调用导致应用阻塞
2023-05-05 14:02:59 +08:00
YeShanShan
6dc214c70a
fix: ThemeType is inconsistent
...
We should emit Event to prompt QGuiApplication update QPalette.
if themeType is changed firstly.
2023-04-24 18:54:24 +08:00
YeShanShan
978be55303
fix: App crashed when `setPaletteType` called early
...
ASSERT: "The application ID is empty" if `setPaletteType` is
called before QGuiApplication contrusted.
`q->themeType` will try to use `DConfig`, It's applicationName
is Empty.
2023-04-24 13:58:07 +08:00
YeShanShan
7abf16d31a
fix: Inconsistent themeType when setThemeType
...
When we call setThemeType to DarkType, it will sync DConfig's
themeType, and reset it to UnknowType, and it cause ut failed.
2023-04-23 16:45:24 +08:00
ck
99d184978b
fix: dconfig get appid error
...
在 setApplicationName 前调用 dconfig 会导致 appid 不匹配
导致无法正确读取修改配置.
没有 setApplicationName 时 applicationName 会 fallback
到二进制的名字( argv[0] )
将 docnfig 初始化改到第一次调用 themeType / paletteType 中
Issue: https://github.com/linuxdeepin/developer-center/issues/4117
2023-04-20 19:36:16 +08:00
ck
19492cbfb7
feat: add DontSaveApplciationTheme Attribute
...
保存主题功能让非 widget 应用也能用上, 默认行为记住主题
如果不需要记住请构造 app 前 setAttibute(DontSaveApplicationTheme)
注意:因为可能无法正确获取 appid ,通过 dde-dconfig-editor
设置的主题可能无效,但是应用自行设置的主题可以记住
Log:
2023-04-14 08:47:36 +08:00
ck
6c06cf37cd
chore: IsDeepinEnvironment support DDE
...
add DDE env support
Issue: https://github.com/linuxdeepin/dtkcore/issues/301
2023-04-11 08:47:34 +08:00
wangfei
42edd583a4
chore: adjust palette color values
...
modify six palette color values both light theme and dark theme, repectively.
Log: adjust palette color values
Issue: https://github.com/linuxdeepin/dtkgui/issues/142
2023-04-03 10:12:41 +08:00
ck
a3677d4bbf
chore: install meta file
...
1. move `dconfig_meta_files` to src/CMakeLists.txt
2. add to debian install files
2023-04-03 10:07:03 +08:00
yeshanshan
0faedd5009
fix: Changing search_indicator icon ( #138 )
...
Removing white space margin
Issue: https://github.com/linuxdeepin/dtkwidget/issues/325
Log: It takes efect all SearchEditor.
2023-04-03 02:06:34 +00:00
ck
9e54cba93c
feat: add DIconTheme::createIconEngine
...
DIconTheme::createIconEngine for qt5integration
1. try createBuiltinIconEngine first
2. try createXdgProxyIconEngine or fallback to fromTheme
3. add docs
Warning : do not call from qplatformTheme createIconEngine without
DontFallbackToQIconFromTheme flag
Log: add createIconEngine
2023-03-22 17:33:58 +08:00
ck
2e966e94bf
fix: dci icon image scale calculation error
...
qreal pixmapScale = 48 / 256; // 0
qreal pixmapScale = qreal(48) / 256; // 0.1875
Log: dci image size calculation error
2023-03-10 14:41:18 +08:00
ck
f893e02fdf
chore: update archlinux build
...
1. add DTK_DISABLE_LIBRSVG build option to disable librsvg
2. archlinux DTK_DISABLE_LIBRSVG=ON by default
3. use QSvgRenderer instead of librsvg if option on
Log: archlinux build
2023-02-20 09:30:15 +08:00
zccrs
66ab7451f2
feat: Support animation for DDciIcon
...
See also https://github.com/linuxdeepin/deepin-specifications/pull/1 ,
This implementation complies with the specification by DSG on animation
dci's icons.
New class: DDciIconImage DDciIconImagePlayer DDciIconPlayer
2023-02-14 13:17:17 +08:00
zccrs
7fa65a0792
fix: Don't change color if the HSL values no variation
...
If all the adjust parameters are 0, do not make any changes for the base
color. Because when trying to adjust the HSL value of an RGB spec color,
it will first convert the RGB spec to the HSL spec, and this conversion
will cause some precision loss, and cause the color has changed when
conversion back to the RGB spec.
2023-02-14 13:17:17 +08:00
wangyixue
088bfea481
fix: lost dependency of Qt5Gui
...
Add dependency of Qt5Gui cause dtkgui depends it.
Log: add find_dependency(Qt5Gui)
2023-02-07 06:41:10 +00:00
renbin
3b8ab9c49b
fix: Fix DImageHandler build warnings.
...
Fix DImageHandler build warnings, modified the code according to cppcheck.
Add CMAKE_CXX_FLAGS '-fopenmp'.
Log: Fix DImageHandler build warnings.
Issue: fix #110
Influence: CCMAKE_CXX_FLAGS environment variable
2023-02-07 01:26:00 +00:00
ck
451b85b4b2
fix(build): build failed when cmake < 3.16
...
do not use PkgConfig::libraw
cmake 3.16 changelog
If a full path to the found library can't be determined, but it's still
visible to the linker, pass it through as ``-l<name>``. Previous versions
of CMake failed in this case.
Log: build
Change-Id: I48a03142a0f4778a531e5138ea7489a8f42ce5c5
2023-02-06 18:00:07 +08:00
ck
3135be671d
fix: add edit-clear active icon
...
a74f91cc revert 70cea318...
rebase before push !!
Log: none
Change-Id: I938abc43cd6e44ddd4ea48e5aa76a516a4526cb0
2023-02-06 09:40:09 +08:00
ck
f79aeb8aaa
feat: add scrollBarPolicy interface
...
same as Qt::ScrollBarPolicy
0 show as needed auto hide, default
1 always off
2 always on
Task: https://pms.uniontech.com/task-view-240117.html
Log: scrollbar policy
Change-Id: Ia37f2a5661cb27de568bc3f7ece5a4a6a1fcae97
2023-02-02 13:41:08 +08:00
renbin
e400ddd110
feat: Optional dependencies libfreeimage and libraw.
...
Change the build dependencies, libfreeimage and libraw are not
required by default, except for debian and linglong builds.
Set DTK_DISABLE_EX_IMAGE_FORMAT=ON to not support extended
image format.
Log: Optinal dependencies libfreeimage and libraw.
Influence: Add build package options
2023-02-02 02:33:30 +00:00
renbin
5ca5df6ccf
feat: Support RAW image formats.
...
1. Dynamically load libraw.so to support RAW image fomats.
2. Improve some implementations, Update unit cases and docs.
3. Move image-handler from folder example to tool.
Log: Support RAW image formats.
Influence: Add build dependency libraw-dev.
2023-02-02 02:33:30 +00:00
ck
306baad983
chore: DDciIcon::fromTheme support absolutePath
...
return DDciIcon(fileName) if fileName is full path
Log: none
Influence: none
Change-Id: I6835074c48792877dfb06842402546d7d428fa6c
2023-01-11 15:52:50 +08:00
yeshanshan
f7e76a9706
feat: Add SizeMode support ( #95 )
...
enable SizeMode support by default.
user can set environment `D_DTK_SIZEMODE` to set
SizeMode support.
application can set SizeMode by `setSizeMode` explicitly.
Log: 支持紧凑模式切换
Task: https://pms.uniontech.com/task-view-227385.html
Influence: none
Change-Id: I2eefe254f9bbf380d9ab133c4eb0caa979ed1356
2023-01-06 05:00:41 +00:00
xzl
87f2388f31
docs: add docs and group, update dep5
...
添加文档和分组, 更新分组和dep5文件
Log:
2023-01-04 14:34:51 +08:00
ck
a74f91cc7b
feat: add standard status icons
...
add info/ok/warning builtin svg icons (32x32 scalable)
add ok/alert/waiting/warning dci icons (20x20)
Log: none
Influence: icons
Change-Id: I57a62d452ccc58688dce57202e384a86772dd99b
2023-01-03 18:01:52 +08:00
ck
f0b2a3c536
fix: unexpected reply signature bool
...
reply type is void not bool
Log: none
Influence: none
Change-Id: I5bdbe7ee89aedbb572e12942742225e07922be86
2023-01-03 18:01:29 +08:00
wangyixue
a69ed2efdc
chore: add export target support
...
Export target Dtk::Gui. Users can simply use target_link_libraries.
Log: add export target support
2022-12-29 09:52:49 +08:00
ck
eed4e3faee
fix: no return value on some case
...
no return value after asyncCall
Log: undefined behavior
Influence: none
Change-Id: I15a6aec8a8ab57e446f25fbf91c979acde667903
2022-12-19 13:57:10 +08:00
ck
8e1a76a607
chore: dbus service and path
...
<org_name>.<project_name>.<control_version>
org_name : org.deepin
project_name : dde
control_version : XEventMonitor1
see https://doc.uniontech.com/docs/erAdP6Xj4ySMyvAG
Log: tweek dbus service and path
Influence: dbus service name and path
Change-Id: I50dedca94bc02a6d482463d7ddecf9bc0d13b6ba
2022-12-12 17:49:34 +08:00
ck
2a9847a5a0
chore: use asyncCall instead of call
...
1. use asyncCall instead of call to prevent block gui
2. check sessionBus isConnected instead of isServiceRegistered
Log: none
Influence: none
Change-Id: Idac86416735482269d81432aba2993ceceb5e0e5
2022-12-12 14:19:28 +08:00
renbin
9dc1bb90d1
feat: Add image algorithms, ut and comment.
...
Add image algorithms, unit test cases, dox file comment and example.
Log: Add image algorithms, ut and comment.
2022-12-12 06:16:33 +00:00
renbin
2600e5ea59
feat: Add the DImagehandler class.
...
Add the DImagehandler class, provide functions such as reading image,
rotating image, getting image metadata. DImagehandler dynamically load
libfreeimage to support extended image formats.
Log: Add the DImagehandler class.
Influence: Add build dependency libfreeimage-dev.
2022-12-12 06:16:33 +00:00
ck
70cea31810
fix: edit clearbutton pressed style incorrect
...
QLineEditIconButton(Qt 5.15) get pixmap from Active state
instead of Selected state when button is down
add active state pixmap (note that dstyle will fill
10% opacity black or white on active state)
Bug: https://pms.uniontech.com/bug-view-172425.html
Incluence: QLineEdit clearbutton
Log: none
Change-Id: I182e6ec7b68bd251a3eb935616d2e3f6393d6676
2022-12-12 13:22:08 +08:00
ck
d6cd2c8c63
fix: AreadList metaType override
...
qRegisterMetaType<AreaList>("AreaList");
覆盖导致dock使用接口出现位置异常
cc2a09558b/libdframeworkdbus/types/arealist.cpp (L35)
Bug: https://pms.uniontech.com/bug-view-175747.html
Log: none
Influence: dock hide and show
Change-Id: Ie10bd436ddaa66e0477b5db40d6e36fbea2d0733
2022-12-07 15:49:46 +08:00
ck
f0c7c06e79
fix: uengine not set appname cause crashed
...
uengine app not set appname cause DSGApplication::id() assert
Log: none
Influence: uengine app
2022-12-03 15:19:59 +08:00
ck
36eb4ff565
chore: 适配 XEventMonitor 服务改名
...
修改 XEventMonitor 服务名为 org.deepin.api.XEventMonitor1
Log: 修改XEventMonitor服务名。
Influence: 无。
2022-12-02 13:52:35 +08:00
ck
b6d844990b
feat: construct DDciIconPalette from QPalette
...
add a way to construct DDciIconPalette from QPalette
Log: none
Influence: none
Change-Id: I4e9b9f8bf3a653c066bf92c7ba1a3ef72526e2ac
2022-11-29 11:42:52 +08:00
ck
1e305e8e38
fix: 包含 href 特性的 svg 图标无法显示
...
librsvg2 对 SVG2 的 href 解析有问题,需要改成 xlink:href 规避
当前是临时规避方案,如果后续 librsvg2 升级修复这个问题,可以 revert
https://www.w3.org/TR/2018/CR-SVG2-20181004/types.html#InterfaceSVGURIReference
Task: https://pms.uniontech.com/task-view-218689.html
Influence: 包含href的svg图标
Log: 修复包含href的svg图标无法显示的问题
Change-Id: Idaf0ca9519153cd8fe217aeaaeab250b18f35393
2022-11-25 16:20:41 +08:00