Some crumbs will get out of panel frame border of DCrumbEdit when it's
too long or there are too many crumbs showing in a vertical line (often
happens when scrolling).
Draw border first and then draw viewport, set viewport margins.
Bug: https://pms.uniontech.com/bug-view-174437.html
Log: fix crumbs out of border
Influence: DCrumbEdit
Implements the DImageViewer interface, including rotate, scale, gesture.
Add unit test cases and interface comment.
Log: Implements DImageViewer rotate, scale and gesture.
Implements the DImageViewer interface, including set image and clear.
And implements the DGraphicsitem classes, add unit test cases, update comment.
Log: Implements DImageViewer set image and clear.
This reverts commit 907f56b554.
icons.qrc can not delete : undefined symbol: _Z20qInitResources_iconsv
mv dci file from icons.qrc to dtk-icon-theme.qrc
Log: undefined symbol
Bug: https://pms.uniontech.com/bug-view-174963.html
Influence: symbol
QStyledItemDelagate::eventFilter can filter the object's Tab
key event, here We only need a Paint Event to post
UpdateWidgetVisibleEvent, and updateWidgetVisible, so we remove
the eventFilter of AbstractItemView
Log: DStyleItemDelegate拦截了QListView的部分事件,导致listview的Tab
事件和焦点异常
Bug: https://pms.uniontech.com/bug-view-164547.html
Influence: 使用了DListView的应用,其listview的tab键,焦点事件可能
异常,
Change-Id: I1d4d8c836b5c6b27e021a5d632b969daf3f5b348
old dtkwidget assume menu is not empty, but now it's not, and
we revert this code.
Moving addDefaultMenuItems from `showMenu` to `showEvent`,
because some applications get menuItems and assert they are not
empty before `showMenu`.
delay to check UserManual avoid to request dbus in `showEvent`.
Log: 升级后DTitleBar提供的menu可能没有默认菜单项,导致部分应用异常,改回
原来版本的逻辑
Bug: https://pms.uniontech.com/bug-view-170639.html
Influence: 升级dtkwidget导致包管理器使用安装功能时崩溃
Change-Id: Ifae616c8ba5af3a2e28b1dbb00009e0a2872a989
DStanardAction's widget is not be repaint when the item moved
to unvisual area, it causes widget is show in origin position.
We manually hide those widget which in unvisual area after
itemdelegate painting.
Using qApp::postEvent to execute function after the PaintEvent.
Add QPointer to watch the valid of widget
Log: DStandardAction设置了widget,在item移动到不显示的区域后,没有被重
绘,导致widget仍然显示,并且位置显示错误,解决action中widget被删除程序崩
溃的bug
Influence: 使用了DListView的应用,在item位置被移动后,原来位置仍然显示
之前的控件
Change-Id: Iedac60be4039ea451da52fd04defc1c446a487f7
we remove DStandardItem::clone due to incompatible in V23,
item->clone() call QStandardItem's function actually, so it
isn't a DStandardItem, but the clone's intention need to be test.
it doesn't need to cherry-pick to master.
Log: 单元测试失败
Bug: https://pms.uniontech.com/bug-view-156901.html
Influence: 无
Change-Id: Ibac6bc721104bb0bc2f16c3a63a12fbc20e88f22
when calling the dbus in BlockWithGui mode , the event will
be passed to the edit, causing the edit to gain focus, and
the edit will lose focus when the menu pops up.
so Let the bullets fly
Bug: https://pms.uniontech.com/bug-view-154857.html
Log:
Inlfluence: DSearchEdit-ContextMenu-Focus
Change-Id: Ic2ee354e78dd2f2382da3d8c7877926f465d1946