[Interest] QStackedWidget : hide user controls

Danny Koppel D.Koppel at skf-rif.nl
Fri Jun 14 09:43:53 CEST 2013


Etienne,

I thought that the arrows are only visible in designer. For convenience purposes.

Kind regards,
Danny

Van: interest-bounces+d.koppel=skf-rif.nl at qt-project.org [mailto:interest-bounces+d.koppel=skf-rif.nl at qt-project.org] Namens Etienne Sandré-Chardonnal
Verzonden: vrijdag 14 juni 2013 9:19
Aan: interest at qt-project.org
Onderwerp: [Interest] QStackedWidget : hide user controls

Dear all,
I am using a QStackedWidget with Qt 4.8.1
The documentation states that : "QStackedWidget provides no intrinsic means for the user to switch page. This is typically done through a QComboBox<qthelp://com.trolltech.qt.481/qdoc/qcombobox.html> or a QListWidget<qthelp://com.trolltech.qt.481/qdoc/qlistwidget.html> that stores the titles of the QStackedWidget's pages".
This is exactly what I am trying to do. However, there are two little arrows displayed on the top of the widget that switch the pages and I would like to remove them. The whole thing has to be designed with Qt Designer, so using a custom class with QStackedLayout is not an option.
How can I remove the arrows, and why is this not working as in the documentation? Is it a style issue?

Thanks!

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130614/2f2ddb0d/attachment.html>


More information about the Interest mailing list