PDA

View Full Version : ui widget erro:warning



saman_artorious
16th July 2012, 11:37
I am creating some new Dialogue boxes in my project using ui designer. When I run the project, I get the following
error:warnings:


dialog_cam_wd.ui:-1: error: Warning: Z-order assignment: 'gridLayoutWidget' is not a valid widget.
dialog_cam_wd.ui:-1: error: Warning: Z-order assignment: 'horizontalLayoutWidget' is not a valid widget.
dialog_cam_wd.ui:-1: error: Warning: Z-order assignment: 'horizontalSpacer' is not a valid widget.


How can I fix it?

Cloudfr
30th October 2012, 15:12
You just have to edit your ui file, delete these lines :

<zorder>gridLayoutWidget</zorder>
<zorder>horizontalLayoutWidget</zorder>
<zorder>horizontalSpacer</zorder>

Layout are not widget, that's why you can't edit order ... (eg deginer -> edit tab order ..)