Wang Zichong
1f44c47e55
chore: use another QTranslator::load overload to tidy code
...
使用另一个 QTranslator::load 重载来使代码更简洁,并潜在的支持
QLocale::uiLanguages().
并且添加了一个额外的接口来方便其他项目更方便的调用.
Log:
2025-06-04 09:54:37 +00:00
ck
a0398d03d5
chore: add IsWaylandPlatform attribute
...
only test platformName == wayland
2024-11-08 13:56:17 +08:00
ck
6038e6fcf8
chore: config dtk animations
...
set/unset `D_DTK_DISABLE_ANIMATIONS` according to the dconfig
2024-10-25 15:30:29 +08:00
zhangkun
806457e8bc
feat: Adapt to TreeLand's Titlebar protocol
...
Resolve the issues of DTK application crashing and dual title bar in treeland.
Log: Adapt to TreeLand's Titlebar protocol
Task: https://pms.uniontech.com/task-view-365811.html
2024-10-21 15:59:26 +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
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
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
d867a02cda
refactor!: deprecate some interfaces in dtk6
...
- DGuiApplicationHelper -7
- DPalette -1
- DPlatformTheme -27 properties
2023-07-06 11:24:23 +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
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
Ye ShanShan
27eeedefdf
feat: Moving loadTranslator from dtkwidget
...
moving implement of loadTranslator from dtkwidget,
refact the code's logic.
Log: 加载翻译功能移至dtkgui,以便供dtkdeclarative使用
Bug: https://pms.uniontech.com/bug-view-157977.html
Influence: qml相关应用没有加载翻译
Change-Id: I75483320cbb6f8a1378cb8a93f00da3d8abfc26f
2022-11-03 10:24:56 +08:00
ShootingStarDragons
7f227daf8a
feat(tocmake): tocmake
...
I change the source code from qmake to cmake. Move the files
which will be install to the /usr/include to $root/include, which will
help to mattern match and easylier to do install. and the change will
break the build of qmake
Log: from qmake to cmake
Influence: qmake is breaked
2022-08-17 16:59:12 +08:00