SwitchButtonhandlerWidth is different,
It's SwitchButtonGroove's width is 40 in CompactMode, and 50 in NormalMode,
It's just by 5 / 3 * PM_SwitchButtonHandleWidth.
Issue: https://github.com/linuxdeepin/dtkwidget/issues/326
if windowmanager not support blur window effect
do not set `Qt::WA_TranslucentBackground` attribute
setblurEnabled will not work
Issue: https://github.com/linuxdeepin/dtkwidget/issues/358
Log: fix Dialog translucent background
1. add obsolete interfaces about acknowledgement
2. remove redundant code about acknowledgement
Log: remove redundant code about acknowledgement in daboutdialog
Add interface updateDialogSettingInfo, apps can update print dialog
settings at construction time.
Add docs and UT, fix a bug that may cause a memory leak.
Log: DPrintPreviewDialog add update setting interface.
Influence: Add update setting interface.
give the explicit result code (accept or reject) when pressing print button
or cancel button of dprintpreviewdialog.
Log: modify the result code of dprintpreviewdialog to accept or reject
Influence: dprintpreviewdialog
Change-Id: Ic6ee36b7fc805ed16762bc203001d1248211fb1e
This is a supplement for 9b6e608005
It's default assignment constructor will call buillt
dtkwidget's `dciIcon` conftructor, but `dciIcon` object is a
unassignment space, it causes app crashed.
Older version CMake find_dependency has a defeat that COMPONENTS
find will fail. Find single dependency separately to avoid this issue.
Log: fix find_dependency error
obsolete old interface sidebarVisible due to spelling mistake
Log: rename sidebarVisble to sidebarVisible
Influence: sidebar
Change-Id: I7c932f4fc8f43db2271d3562d446b4f663e11ad4
change background widget's visibility when the signal of expandChanged is emitted
Log: resolve the issue that background widget is always shown when sidebar is hidden
Influence: sidebar
Change-Id: I0a2fc73614aecfb736f52f00cb6ca07459f48fb7
update the interface doc of dfeaturedisplaydialog
Log: update the doc of dfeaturedisplaydialog
Influence: doc
Change-Id: I238fa7c5675bd3d51e3a7112fbe8ed549b3d3d51
It was introduced in e4fdfe5b36 .
It cause incompatible that DStyleOptionButton add a member
variable `dciIcon`.
App is crashed if libdtkwidget5 is different between App built
and running loaded, (app builds with 5.5, but loads 5.6 version).
We shouldn't add member variable that defined in .h and which
breaks abi.
If this case has exist, we can Use DApplication::builtDtkVersion()
to avoid to accessing the member in some lower version.
We are lucky, because we have `features` to avoid to accessing
`dciIcon` member in lower version.
FloatingButton doesn't need add DciIcon to features, because
DDciIcon has execute this code.
Log: none
Influence: App crash in some case
Change-Id: Iff4d596c6f90fa82f0d93ec9db0118d8d0bffa40
It lossed when qmake to cmake, and it causes DApplication::
buildDtkVersion function is error, because it's value is assigned
when builing application.
Log: none
Influence: none
Change-Id: Ie636df17c485f7d43cd5458cf3a2f2627388a07a
when no feature item is added, hide the entrance in about daboutdialog
Log: fix the issue about feature dialog has no content
Influence: feature display
Change-Id: Id13ce0b84ede3d084f219cfbd35e1d2a94e3b4bc
* remove redundant "dtkwidget" in include directory;
* improve cmake, modify some variable names, use file() to collect
source files for scalability;
* add full target_link_libraries support.
Log: add full target_link_libraries support
Influence: all projects who include headers directly by path