wangfei
0d9e457d13
chore: add unit test about builtinengine
...
add unit test ut_builtinengine about builtinengine
Log: add unit test about builtinengine
2023-07-05 16:12:26 +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
WangFei
3cf033b048
chore: change OUTPUT_DIR variable in cmake ( #163 )
...
change OUTPUT_DIR to CMAKE_CURRENT_BINARY_DIR
Log: change OUTPUT_DIR to CMAKE_CURRENT_BINARY_DIR
Co-authored-by: wangfei <wangfei@deepin.org>
2023-07-04 03:36:24 +00:00
syn
536f1f9dff
chore: ignore doxygen-theme folder
...
Log: 修复编译时加上BUILD_THEME宏后,自动拉取doxygen-theme导致git管理的项目产生污染
Task: https://github.com/linuxdeepin/dtk/issues/99
2023-07-03 17:21:36 +08:00
wangyixue
6588a86d71
chore: update changelog
...
Release 5.6.12.
2023-06-25 16:38:19 +08: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
heyuming
58095a743f
fix: fix build failure due to metasystem change
...
在构建dtkwidget中遇到
Log: 修复因为元系统改变导致的编译失败
2023-06-07 18:32:28 +08:00
deepin-admin-bot
6c4bbde470
chore: Sync by 2e5e092ba3
...
sync by github workflow
Log: none
Influence: none
2023-05-10 02:24:13 +00:00
ck
dd10f593b7
chore: bump version to 5.6.11
...
update changelog
2023-05-08 15:07:16 +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
rewine
6b366af60a
fix: must set CMAKE_INSTALL_PREFIX before GNUInstallDirs
...
Log:
Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs,
Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
2023-05-05 03:51:14 +00:00
chenhongtao
8aee0513e7
fix: reuse lint
...
Log: fix reuse
2023-05-05 03:23:23 +00:00
zccrs
d52cc4c111
chore: add a unit test for DDciIconPlayer
...
Test the non-animation image.
2023-04-26 13:26:13 +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
5327c027c3
chore: update to 5.6.10
...
Log: update changelog
2023-04-17 17:27:00 +08:00
deepin-admin-bot
4bcd6d8474
chore: Sync by 2dd22560f7
...
sync by github workflow
Log: none
Influence: none
2023-04-14 08:41:50 +00:00
deepin-admin-bot
b153abe460
chore: Sync by c5d10d3aeb
...
sync by github workflow
Log: none
Influence: none
2023-04-14 08:32:14 +00: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
ck
99e450c1cd
chore: update to 5.6.9
...
Log: update changelog
2023-04-03 10:28:08 +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
bluesky
cd21667c52
feat: add config file
...
添加自定义UI的配置文件
2023-03-29 02:22:24 +00:00
tsic404
d30876386c
chore(CI): add OBS workflows
...
add OBS workflows and modify PKGBUILD support OBS build
log:
2023-03-29 09:28:15 +08: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
6549a67eb3
chore: update readme and help message
...
update readme and usage
Log: none
Change-Id: Ibf40852aaa8aca2d21f51fdc37657fc79fd33966
2023-03-09 11:30:05 +08:00
wangyixue
419e11629b
chore: update changelog
...
Bump version to 5.6.8.
2023-02-22 15:44:58 +08:00
Felix Yan
8a5e67652c
chore: correct a typo in dci-icon-theme/main.cpp
...
Correct a typo in dci-icon-theme/main.cpp
2023-02-22 15:07:46 +08:00
wangyixue
cca33d94c8
chore: update changelog
...
Release 5.6.6.
Log: update changelog
2023-02-21 11:58:30 +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
wangyixue
5c948aa7ee
fix: qch generate error
...
Correct markdown title level to fix qch generate error.
Log: fix qch generate error
2023-02-15 17:05:28 +08:00
chenhongtao
ebde919132
chore: fix PKGBUILD
...
Dependiencies not plugin and hard link to library should not mark as
optdepends
Log: fix PKGBUILD
2023-02-14 12:55:15 +00: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
ck
e244d5d3fb
chore: quality option must specify
...
1. must specify quality option
2. scaled counts depends on quality params
3. help message tweak
4. update version to 0.0.4
Log: scale quality
Change-Id: Ideecb18175a7d58cb2e94898246df01fe19147b4
2023-02-08 17:38:12 +08:00
ck
c1286c6502
chore: dci-icon-theme tweak
...
1. update version to 0.0.3
2. fix initQuality not init if --quality not set
Log: none
Change-Id: I66f2d494f9e34194ffed17564334b3e29109737a
2023-02-08 09:25:37 +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
5de5c59984
feat: add quality option
...
quility of dci icon scaled image
the higher the quality, the larger the dci icon file size
Log: quality option
Change-Id: Ifdfa51091bb560ad76881366a9c5168daf6cc9ab
2023-02-06 16:56:42 +08:00
ck
7d070dd912
feat: add icon finder for dci-icon-theme
...
dci-icon-theme --find <icon name> or
dci-icon-theme --find <icon name> -t <icon theme name>
output:
"deb" [ "xxx-icon" ]: "/usr/share/dsg/icons/xxx-icon/deb.dci"
Log: none
Change-Id: Ide152e0ba1cba0fb0252ead7304c255a2c0695d4
2023-02-06 13:33:26 +08:00