O
O
Oleg Seledets2020-04-22 23:33:31
Qt
Oleg Seledets, 2020-04-22 23:33:31

Implementation of the menu as in Office?

Good afternoon. I work in Qt Creator, with the help of which components you can implement a menu similar to the one in Microsoft Office.

Menu
5ea0a87eaa345113314692.png

As I understand the menu itself, this is tabWidget + Styles.
But the following is important to me, depending on the tab, the area under the menu should change.
For example:
After clicking the first tab, Table Widget should appear under the menu.
After clicking the second tab Elements to display reports.
etc.
If you stretch the tabwidget to the entire workspace and pin buttons for the menu at the top, then there will be no visual distinction between the workspace and the menu. How can this problem be solved?
And question 2, is it possible to collapse the menu so that only the tabs are visible, or is this better done by resizing the tabWidget?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-04-22
@oleg_seledets

Tyrk
https://github.com/martijnkoopman/Qt-Ribbon-Widget
and original source
https://docs.microsoft.com/en-us/windows/win32/uxg...
https://docs.microsoft.com/ enus/windows/win32/win...

I
Igor Makhov, 2020-04-22
@Igorgro

There is QTitanRibbon, but it is paid

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question