Forum
Sign Up

Problem with showing dialog with inherited style?

13 years 10 months ago #1 by Frank
I try to show an QDialog which was created in the qtdesigner (.ui file) with the color style
of the ribbonbar? The parent is the qtribbon-mainwindow so it should inherit the style from it.

The next problem is the qtcreator when i use the wizzard for creating the dialog - the
ui (and the namespace) makes a problem and won't compile.

An example would be a very nice.

Frank

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

More
13 years 9 months ago - 13 years 9 months ago #2 by Developer Machines
Ribbon style, unfortunately, does not apply to dialog. But in next versions we will consider the initialization of style in all forms.

>>The next problem is the qtcreator when i use the wizzard for creating the dialog - the
>>ui (and the namespace) makes a problem and won't compile.
Could not understand how to reproduce the problem. Can send to me more detailed description and show a compilation error here?
Last edit: 13 years 9 months ago by Developer Machines.

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

More
13 years 8 months ago #3 by Kevin
Does 2.1 now support this? In my app, I create a QDockWidget, and I initialize it as a floating widget. When I dock the widget it inherits the style of the RibbonMainWindow, but when I undock it it loses the style. I would like to pass the selected style on to all QDockWidgets and QDialogs.

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

More
13 years 7 months ago #4 by Developer Machines
Version 2.1 does not supports a number of standard Qt controls, so we limited using of the Office 2007/Ribbon styles in the dialogues and other secondary forms. Now version 2.2 is planned in which these restrictions will be lifted. Version 2.2 is planned within 2 weeks.

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.145 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 )