Forum
Sign Up

Sub-menu in Titan Ribbon menu

11 years 10 months ago #1 by Ludek
Hello there,

about two week early I tried to contact your support via mail but unfortunately without response. So I would like to try it here by using forum.

In my existing application where I'm using another Ribbon component I can create following menu:


screencast.com/t/iAKpptcPq3r

and when user select "New", sub-menu is displayed directly in the menu area:


screencast.com/t/q2hgNxtb8zr

but I didn't find any example how to do this using your component. When I tried to add menu object and add child action to this menu using following code:

QMenu* menuTest= popupBar->addMenu(tr("Test..."));

QAction * actTest = menuTest->addAction(QIcon(":/res/save.png"), tr("&Save"));
actTest->setShortcut(tr("Ctrl+S"));
actTest->setToolTip(tr("Save"));
actTest->setStatusTip(tr("Save the active document"));

this sub-menu is displayed like popup-menu and not in the main ribbon menu:


screencast.com/t/lAQEgZyP9V3

Is it possible to create ribbon menu like in the CodeJock component? And if so, could you please point me to any sample?

I'm nearly to finish my product but without that feature I can't release it. I will be grateful for any advice.

Thanks
Ludek

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

More
11 years 10 months ago #2 by Developer Machines
Hello Ludek,
Unfortunately this option is now available in current version. Perhaps you will approach in another widget - BackStageView? Example of use can be found in - ribbonbackstage demo.

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 )