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
8f4319308b
chore: add unit test
...
- make tests/test-recoverage.sh runable again
- DDciIconPalette
- DNativeSettings
- add a minimal qpa plugin for test
2023-08-02 16:23:10 +08:00
ck
c2b8c1508b
chore: do not show ui in ut
...
use QWidget::createWinId instead of QWidget::show
to create window handle(QWindow)
2023-08-02 16:23:10 +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
deepin-ci-robot
5f457d2225
chore: update changelog
...
Release 5.6.14.
2023-07-27 16:17:11 +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
ck
ff836690e5
chore: remove unused pro files
...
remove pro files
2023-07-12 09:43:34 +08:00
YeShanShan
95f8b5ffd3
refactor: Move dotsPerInch from normal function to slots
...
It exports to qt meta system for qml.
and it doesn't break ABI compatibility depend on
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B#Using_signals_instead_of_virtual_functions
2023-07-12 08:51:48 +08:00
wangfei
0b63795ee7
chore: add proxyiconengine
...
add proxyiconengine from qt5integration
Log: add proxyicnengine from qt5integration
2023-07-10 17:33:37 +08:00
deepin-admin-bot
e17e250fe1
chore: Sync by 559e91167d
...
sync by github workflow
Log: none
Influence: none
2023-07-10 06:30:59 +00: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
724af5ebf3
chore: add unit test about dciiconengine
...
add unit test about dciiconengine
Log: add unit test about dciiconengine
2023-07-07 09:54:54 +08: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
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