LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CommandListBox Class Referencefinal

#include <CommandPopup.hxx>

Public Member Functions

 CommandListBox (weld::Window *pParent, css::uno::Reference< css::frame::XFrame > const &xFrame)
 
void connect_closed (const Link< weld::Popover &, void > &rLink)
 

Private Member Functions

 DECL_LINK (QueryTooltip, const weld::TreeIter &, OUString)
 
 DECL_LINK (RowActivated, weld::TreeView &, bool)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (TreeViewKeyPress, const KeyEvent &, bool)
 
void dispatchCommandAndClose (OUString const &rCommand)
 

Private Attributes

std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::PopovermxPopover
 
std::unique_ptr< weld::EntrympEntry
 
std::unique_ptr< weld::TreeViewmpCommandTreeView
 
std::vector< CurrentEntrymaCommandList
 
std::unique_ptr< MenuContentHandlermpMenuContentHandler
 

Detailed Description

Definition at line 79 of file CommandPopup.hxx.

Constructor & Destructor Documentation

◆ CommandListBox()

CommandListBox::CommandListBox ( weld::Window pParent,
css::uno::Reference< css::frame::XFrame > const &  xFrame 
)

Member Function Documentation

◆ connect_closed()

void CommandListBox::connect_closed ( const Link< weld::Popover &, void > &  rLink)
inline

Definition at line 99 of file CommandPopup.hxx.

References mxPopover.

◆ DECL_LINK() [1/4]

CommandListBox::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [2/4]

CommandListBox::DECL_LINK ( QueryTooltip  ,
const weld::TreeIter ,
OUString   
)
private

◆ DECL_LINK() [3/4]

CommandListBox::DECL_LINK ( RowActivated  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/4]

CommandListBox::DECL_LINK ( TreeViewKeyPress  ,
const KeyEvent ,
bool   
)
private

◆ dispatchCommandAndClose()

void CommandListBox::dispatchCommandAndClose ( OUString const &  rCommand)
private

Definition at line 275 of file CommandPopup.cxx.

References comphelper::dispatchCommand(), and mxPopover.

Member Data Documentation

◆ maCommandList

std::vector<CurrentEntry> CommandListBox::maCommandList
private

Definition at line 87 of file CommandPopup.hxx.

◆ mpCommandTreeView

std::unique_ptr<weld::TreeView> CommandListBox::mpCommandTreeView
private

Definition at line 85 of file CommandPopup.hxx.

Referenced by CommandListBox().

◆ mpEntry

std::unique_ptr<weld::Entry> CommandListBox::mpEntry
private

Definition at line 84 of file CommandPopup.hxx.

Referenced by CommandListBox().

◆ mpMenuContentHandler

std::unique_ptr<MenuContentHandler> CommandListBox::mpMenuContentHandler
private

Definition at line 88 of file CommandPopup.hxx.

◆ mxBuilder

std::unique_ptr<weld::Builder> CommandListBox::mxBuilder
private

Definition at line 82 of file CommandPopup.hxx.

◆ mxPopover

std::unique_ptr<weld::Popover> CommandListBox::mxPopover
private

Definition at line 83 of file CommandPopup.hxx.

Referenced by CommandListBox(), connect_closed(), and dispatchCommandAndClose().


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