I need to name my class in qt-designer, Unfortunately after each change in qt-designer and genertaing *.ui file, i should change <class> MyClass</class> by hand.

My question is, How change my class name by qt-designer , not by hand?

有帮助吗?

解决方案

To make Qt Designer generate ui files with custom names, you need to set the object names for your dialogs/windows/widgets. You can do that in Qt Designers Property Editor, after selecting an object.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top