开发者

Qt widget com problem

I have a Rectangle widget, and a resize box widget, and a text edit widget. How can I compose them witho开发者_运维问答ut using layouts ? I want all of them as a single widget.


The documentation for how to do a manual layout is in Qt Layout Management here.

Are you sure you can't use one of the standard layouts? You can make a custom widget with three children positioned inside using a layout (or layouts) and your new custom widget will still be just a single widget.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜