it causes paint error when load unsupport image format, we add
output some information.
we can install package `qt5-image-formats-plugins`.
it's need to support `webp` image for some dci icon.
Log: 添加dciicon图标解析失败导致无法绘制时的警告信息
Influence: none
Change-Id: Ief27263af5caa74c4a9f0436ebdf8759ea39bd82
QMetaMethod::invoke will test whether object is an instance
of the QMetaObject by Q_ASSERT(mobj->cast(object)),
but invokeOnGadge will not, and their role seem to be the same,
we only use DirectConnection to invoke it.
DPlatformTheme is inherits DNativeSettings, and it's metaobject
is changed to DNativeSettings in qt5platform-plugin.
Log: 调用invoke会做assert判断,导致当qt为debug编译时,改变主题会导致程序崩溃
Influence: 当qt为debug编译时,改变主题会导致程序崩溃
Change-Id: I9133430ba6f3df4c4a806ff9fa96ba8ec8213ce4
DPlatformTheme is invalid when DGuiApplicationHelper::instance()
is called before QApplication constructed. it causes application
theme can't follow change by control-center setted.
for example:
```c++
DGuiApplicationHelper::instance();
QApplication a(argc, argv);
```
it also reports warning info about `Must construct a QGuiApplication
before accessing a platform function` in QGuiApplication.
Log: 延迟DPlantfromTheme构造
Bug: https://pms.uniontech.com/bug-view-160485.html
Influence: 先调用DGuiApplicationHelper::instance()可能有影响,
若先构造QApplication,与之前逻辑一致
Change-Id: I91297fb47c38c1ebb6d97f9c62915aa5d5557624
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