Audacity 3.2.0
|
#include <PopupMenuTable.h>
Public Member Functions | |
PopupSubMenu (const Identifier &stringId, const TranslatableString &caption_, PopupMenuTable &table) | |
~PopupSubMenu () override | |
Properties | GetProperties () const override |
Public Member Functions inherited from Registry::GroupItem< RegistryTraits > | |
~GroupItem () override=default | |
Public Member Functions inherited from Composite::Builder< detail::GroupItemBase, GroupItem< RegistryTraits >, const Identifier & > | |
auto | push_back (Arg &&arg) -> std::enable_if_t< Traits< detail::GroupItemBase, GroupItem< RegistryTraits > > ::template enables_item_type_v< Arg >, void > |
void | push_back (typename Base::value_type arg) |
Builder (BaseArgs... args, Items &&... items) | |
Variadic constructor. More... | |
Builder (BaseArgs... args, InputIterator begin, InputIterator end) | |
Iterator range constructor, with default transformer. More... | |
Builder (BaseArgs... args, InputIterator begin, InputIterator end, Transformer transformer) | |
Iterator range constructor, with explicit transformer. More... | |
Public Member Functions inherited from MenuRegistry::ItemProperties | |
virtual | ~ItemProperties ()=default |
virtual Properties | GetProperties () const =0 |
Public Attributes | |
TranslatableString | caption |
PopupMenuTable & | table |
Additional Inherited Members | |
Public Types inherited from Composite::Builder< detail::GroupItemBase, GroupItem< RegistryTraits >, const Identifier & > | |
using | BaseType = detail::GroupItemBase |
Public Types inherited from MenuRegistry::ItemProperties | |
enum | Properties { None , Inline , Section , Whole , Extension } |
Definition at line 75 of file PopupMenuTable.h.
PopupSubMenu::PopupSubMenu | ( | const Identifier & | stringId, |
const TranslatableString & | caption_, | ||
PopupMenuTable & | table | ||
) |
|
override |
Definition at line 27 of file PopupMenuTable.cpp.
|
overridevirtual |
Implements MenuRegistry::ItemProperties.
Definition at line 30 of file PopupMenuTable.cpp.
References caption, TranslatableString::empty(), MenuRegistry::ItemProperties::Extension, and MenuRegistry::ItemProperties::Whole.
TranslatableString PopupSubMenu::caption |
Definition at line 78 of file PopupMenuTable.h.
Referenced by GetProperties(), and anonymous_namespace{PopupMenuTable.cpp}::PopupMenuBuilder::PopupMenuBuilder().
PopupMenuTable& PopupSubMenu::table |
Definition at line 79 of file PopupMenuTable.h.