The AA_UseHighDpiPixmaps attribute is used to control the icon
blurring problem of the high-resolution screen. However, we do
not use this attribute, but expand the standard size of the icon
by default. This is unreasonable. Therefore, we modified the way
to enlarge the icon size to use AA_ After the usehighdpipixmaps
attribute, the icon blurring problem of the high-resolution screen
is solved.
Log:
Bug: https://pms.uniontech.com/bug-view-150309.html
Change-Id: Ie7d476cdec6c2ddea0a6432bc4a8a7d26aab5cac
When migrating dtkwidget code, not all code was added
completely, leaving out how to get services through the
other thread.
Log:
Influence: None
Change-Id: Ib45b596bff68a138df0b0dd50d8fb8ec0c3827c4
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
Register the stream operators when the ddciicon
has been initialized. It is convenient to drag
and drop in the list view and register it into
the meta object.
Log:
Influence: None
Change-Id: I90ba9199bd3139e0423f1a3d8a6897990e697708
After registering the DciIcon as a meta type, it is
convenient for applications to use it on QVariant.
The << and >> operators are provided to facilitate
applications to read and write.
Log:
Influence: None
Change-Id: I0df76a9e5378a46dcb075b2368fd05eb360d074d
In the method of getting icons in QML, only the mode of
the icon needs to be fallback, so change all fallback to
only fallback mode to ensure the consistency of the interface.
Log:
Influence: None
Change-Id: If95c352b77c89fba2e393e542d43f19aff665ba3
When using DciIcon, it is allowed to apply a fallback mechanism
that does not use DciIcon's own. In this case, the target icon
will be found directly by the parameters.
Log:
Influence: None
Change-Id: Ia288e3ba3bd08c2a7729cf9f6154e77e4ad7b512
1. For icons that do not use the palette, it is hoped that the
effect can be achieved by modifying the brightness of icons in
different states. Therefore, it is necessary to add an interface
for DciIcon to determine whether to use the palette.
2. Add the interface to modify the icon style by default, traverse
the pixels of the picture, and uniformly reduce the brightness.
Log:
Influence: None
Change-Id: I2c8592fab72751f887b51d48f346e562f82a51cc
When the picture data is empty, an uninitialized variable generates a
random-size picture, which takes up a lot of memory space. So these
variables must be initialized before they can be used to prevent unknown
problems.
Log:
Influence: Dci Icon
Change-Id: Ife9f6e02f3fe2cc07e9d6f9f39d76b6230c6c930
When looking for icon theme, redundant '/' symbols will
appear in the icon of parsing application.
Log:
Influence: None
Change-Id: Ib55a8d6132eb1ed2aec98918529d59c3dd9c9536
it's convenient for qml moved openUrl from dtkwidget to dtkgui.
Log:
Influence: dtkdeclarative relys on this commit.
Change-Id: I7f720b02e91467a2bfb2bd3608afba8ad0d12312
widgets and quick both use user manual,
so it is moved from DApplication.
Log:
Influence: dtkdeclarative relys on this commit.
Change-Id: Ie2a5fb7edffb9ceeee48d42ba1b396291a4e5539
1. Separate the logic of each step so that the parsing part of each
property does not interfere with each other.
2. Fix the problem of parsing failure when it has `padding` and no
`palette` in the property
Log:
Influence: None
Change-Id: I35c2b807a72d6329a222fbcd99ce5b656e1dc412
Use the '/' to split the icon group name and it's actual icon name.
In the dtkdeclarative and dtkwidget, should be add the application
id for prefix for the icon name, eg: the "test" built-in icon in the
"org.deepin.app" application, when to find it with
DIconTheme::findDciIconFile, the "iconName" argument should is
"org.deepin.app/test".
Influence: 无
Log:
Change-Id: Icc45faf16926993a6281aca5bee995b839c5b462