Forum
Sign Up

frozen panel

5 years 8 months ago - 5 years 8 months ago #1 by Jörn
frozen panel was created by Jörn
Hello,

i am using Opencascade. When i add a widget for displaying Opencascade into a panel, this penal freeze and no interaction with this panel are possible.
Here is some code to reproduce the problem:
panel_2 = dockPanelManager()->addDockPanel(tr("Panel 2"), RightDockPanelArea);
panel_2->setObjectName("Panel 2");
QWidget *widget = new QWidget(0, Qt::MSWindowsOwnDC);
panel_2->setWidget(widget);

Of course, it works without Qt::MSWindowsOwnDC, but this flag is necessary for the proper work of Opencascade.

The same problem with QGLWidget:
QGLWidget *widget = new QGLWidget(); //, Qt::MSWindowsOwnDC);
panel_2->setWidget(widget);
Last edit: 5 years 8 months ago by Jörn. Reason: more information

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 )