Custom Layout in Qt Designer

In any case, we can have custom layouts, for example. as defined in https://doc.qt.io/archives/qt-4.7/examples-layouts.html

inside Qt Designer?

What will be the process of adding such custom layouts to Qt Designer? Can anyone follow the steps involved in such a custom enhancement in Qt Designer.

+6
source share
1 answer

You cannot create your own layout directly inside QtDesigner. Instead, you can write your layout as a plugin for QtDesigner. After that, you can open QtDesigner and simply drop your own layout into the form like any other widget in the Qt collection.

Check out this issue to learn how to write your own Qt plugin. It is not that difficult.

+2
source

Source: https://habr.com/ru/post/885888/


All Articles