开发者

Qt widget com problem

开发者 https://www.devze.com 2023-02-07 05:43 出处:网络
I have a Rectangle widget, anda resize box widget, and a text edit widget.How can I compose themwitho开发者_运维问答ut using layouts ? I want all of them as a single widget.The documentation for how t

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

精彩评论

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