nokia - How can I insert a widget into a mainwindow generated by Qt designer? -


I have a main window build with QT Designer and I have a QT Designer (a separate UI file in both).

QWidget

, and as you want your custom widget, type its name / status / name QWidget after doing this, right-click on QWidget And select Promote ... . A dialogue will appear with widgets that can be promoted, at the bottom of that dialog, you can add a new widget for the promotion. Type in the name of the class and include the file information, and add that widget. Then select the entry in the list, and click the Promote button.

At the end of this process, you should be able to compile again, and your custom widget will be where you put it in the main window.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -