Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[QToolbar] Alternative to inserting widget in toolbar



  • I've been using the Qtoolbar to display QLineEdit values and to house QPushbuttons by using the addWidget function. However, this causes the QLineEdit widgets to lose their background transparency and instead have a white background. The QPushbuttons lose their hover and push effects as well. Is there a workaround to this?


  • Lifetime Qt Champion

    Hi,

    Can you show the code you use to do what you described ?


Log in to reply