Forum
Sign Up

RibbonManWindow moves when toggle a dockwidget

11 years 1 month ago #1 by Jonas Fornander
Hi,

Main window is moving when I toggle a dockwidget and when the main window is NOT full sized.

I am using RibbonManWindow, RibbonBar and a QMdiArea.

I created a dummy dockwidget:
QDockWidget* dock = new QDockWidget(tr("Test"), this);
dock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
QLabel* lbl = new QLabel();
lbl->setPixmap(QPixmap(":/images/Media/test.png"));
dock->setWidget(lbl);
addDockWidget(Qt::LeftDockWidgetArea, dock);
groupGroups->addAction(dock->toggleViewAction());

When I enable/disable the dockwidget whe ribbonManWindow starts to move a little bit and suddenly it moves the whole window to the upper left corner.

Is it a known issue?

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.119 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )