I would like for my toolbar to be movable (i.e. I can't just set one area only to be the allowed area), but to start off in the right toolbar area instead of the top....

I am using QT 4.1

I tried set orientation, but that keeps the toolbar in the same position, just changes the position of the moving handle....

I also tried
Qt Code:
  1. this->setCorner(Qt::BottomRightCorner, Qt::TopDockWidgetArea);
To copy to clipboard, switch view to plain text mode 

but I get an assert failure

Qt Code:
  1. ASSERT failure in QMainWindow::setCorner: "'area' is not valid for 'corner'", file widgets/qmainwindow.cpp, line 452
  2. Aborted
To copy to clipboard, switch view to plain text mode 

and I can't 100% tell if it is the function I want anyway....because it seems that I can't specify a single toolbar to be in a different position to the other one.....

thanks