开发者

QT Designer: Using .ui files for other components created with QT Designer

I have created a bunch of widgets with QT designer.

What I would like to know is if these widgets can be used (drag and dropped) with other components I create with QT Designer, without having to export them and compile them as a custom widget, since it seems that the .ui file already contains most of that functionality that I would be exporting with the custom widget interface.

Is this possible, or am I thinking about how components created wit开发者_如何学编程h the Qt Designer can work together wrong?

Thanks all.


Nope. Doesn't work that way. You need to do all the custom widget crap.

I don't usually bother though. I just put what I've supclassed from in the designer and then use the "promotion" feature.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜