mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DolphinQt: Use non-autodismissable menus in menu bar.
A new class that derives from `QMenu` has been introduced. Menus of this `NonAutodismissibleMenu` type will stay visible when a _checkable_ action is triggered. This is convenient in menus that feature a series of check boxes that toggle visibility of third components (e.g. the **List Columns** menu), allowing the user to toggle several actions at once. For now, the new type is used in the top menu bar.
This commit is contained in:

committed by
Admiral H. Curtiss

parent
db425ef3a1
commit
2eeb2fd2b9
@ -314,6 +314,8 @@ add_executable(dolphin-emu
|
||||
QtUtils/ImageConverter.h
|
||||
QtUtils/ModalMessageBox.cpp
|
||||
QtUtils/ModalMessageBox.h
|
||||
QtUtils/NonAutodismissibleMenu.cpp
|
||||
QtUtils/NonAutodismissibleMenu.h
|
||||
QtUtils/NonDefaultQPushButton.cpp
|
||||
QtUtils/NonDefaultQPushButton.h
|
||||
QtUtils/ParallelProgressDialog.h
|
||||
|
Reference in New Issue
Block a user