Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.14.2
-
None
-
windows10 64位.
Description
Make a custom control. Using the Qlist container, after dragging out the control on the UI, adding elements to the Qlist is normal on the UI. After running, the elements inside are reset.
I made a bug reproduction video and uploaded it to youtube.
BugVideo
制作了一个自定义控件,继承pushbutton,新建了一个Qlist<WatchType>mWatchType;
在使用控件时,在UI中拖出myButton 添加Qlist mWathchType 元素.程序运行后,添加的元素,只有当前显示的元素,还保留着,其它元素都被重置.
附件中有自定义控件的源码.