[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?