Forum
Sign Up

QAction in Layout

5 years 4 months ago #1 by Ingo
QAction in Layout was created by Ingo
Hello,
please give me a hint how I can add Actions in the Ribbon to a Layout to organize the look & feel.
I tried now with an high amount of possibilities. Finaly I created single QToolButton widgets and add them to the group, but it seems that this do not work.
So I can add every control to the Ribbon with a layout but finally not the most used QToolButton (Actions). Please help.

Ingo

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

More
5 years 4 months ago #2 by Ingo
Replied by Ingo on topic QAction in Layout
Amazing. No answers here. Also my other question from one year ago got no response. Also no answer from support team.

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

More
5 years 4 months ago #3 by Developer Machines
In current version you can use QLayout to organize widgets on a group without any issue. Like this:
RibbonGroup* group = new RibbonGroup();
QLayout* yourLayout = new YourLayout();
group->setLayout(yourLayout);

But, I'd not suggest to start adjust widgets such way at the moment. In coming version QtitanRibbon 4.0 this code will not have any effect. We will provide another mechanism for managing the widgets based on Microsoft specification, like this msdn.microsoft.com/en-us/library/windows...316927(v=vs.85).aspx

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 MachinesEduard
Time to create page: 0.132 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 )