Modify the toolbar at run-time?

Discussion forum for contributors and developers who are using the QCAD ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Post Reply
Full Member
Posts: 77
Joined: Fri Apr 17, 2015 6:40 am

Modify the toolbar at run-time?

Post by pietro_72_ » Mon Jun 12, 2017 11:39 am


Can I change the toolbar depending on the option you choose on a QComboBox on the same toolbar?

User avatar
Site Admin
Posts: 7024
Joined: Fri Mar 30, 2007 6:07 am

Re: Modify the toolbar at run-time?

Post by andrew » Mon Jun 12, 2017 12:04 pm

Yes, you can use the QToolBar API to remove widgets from a toolbar or add new widgets.

Post Reply

Return to “QCAD Developers and Contributors”