Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
PopupSubMenu Struct Reference

#include <PopupMenuTable.h>

Inheritance diagram for PopupSubMenu:
Collaboration diagram for PopupSubMenu:

Public Member Functions

 PopupSubMenu (const Identifier &stringId, const TranslatableString &caption_, PopupMenuTable &table)
 ~PopupSubMenu () override
- Public Member Functions inherited from Registry::ConcreteGroupItem< false >
 ~ConcreteGroupItem ()
bool Transparent () const override
- Public Member Functions inherited from Registry::InlineGroupItem< ComputedItem::DefaultVisitor >
 InlineGroupItem (const Identifier &internalName, Args &&... args)
 GroupItem (const Identifier &internalName, BaseItemPtrs &&items_)
 GroupItem (const GroupItem &) PROHIBITED
- Public Member Functions inherited from Registry::GroupItem
 GroupItem (const Identifier &internalName, BaseItemPtrs &&items_)
 GroupItem (const GroupItem &) PROHIBITED
 ~GroupItem () override=0
virtual bool Transparent () const =0
 BaseItem (const Identifier &internalName)
- Public Member Functions inherited from Registry::BaseItem
 BaseItem (const Identifier &internalName)
virtual ~BaseItem ()
- Public Member Functions inherited from MenuTable::WholeMenu
 WholeMenu (bool extend=false)
virtual ~WholeMenu ()

Public Attributes

TranslatableString caption
- Public Attributes inherited from Registry::GroupItem
BaseItemPtrs items
- Public Attributes inherited from Registry::BaseItem
const Identifier name
OrderingHint orderingHint
- Public Attributes inherited from MenuTable::WholeMenu
bool extension

Detailed Description

Definition at line 66 of file PopupMenuTable.h.

Constructor & Destructor Documentation

◆ PopupSubMenu()

PopupSubMenu::PopupSubMenu ( const Identifier stringId,
const TranslatableString caption_,
PopupMenuTable table 

Definition at line 22 of file PopupMenuTable.cpp.

24 : ConcreteGroupItem< false >{ stringId }
25 , WholeMenu{ caption_.empty() }
26 , caption{ caption_ }
27 , table{ table_ }
WholeMenu(bool extend=false)
PopupMenuTable & table
TranslatableString caption

◆ ~PopupSubMenu()

PopupSubMenu::~PopupSubMenu ( )

Definition at line 19 of file PopupMenuTable.cpp.


Member Data Documentation

◆ caption

TranslatableString PopupSubMenu::caption

Definition at line 69 of file PopupMenuTable.h.

◆ table

PopupMenuTable& PopupSubMenu::table

Definition at line 70 of file PopupMenuTable.h.

The documentation for this struct was generated from the following files: