How to set the location of a widget inside QToolbar ?

  • whenever a widget is created as a child of a toolbar, it is appended at the end. ie the first widget is placed at the left most position and so on.
    How to change the location of this widgets ?
    I am using Qt3

  • In Qt3, I seen no possibility, in Qt4, you could use insertWidget(QAction*, QWidget*) of QToolBar

  • Solved by changing the order of creation of child widget.

    thanks Gerolf

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.