LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxPopupWindowListBox Class Referencefinal
Inheritance diagram for SvxPopupWindowListBox:
[legend]
Collaboration diagram for SvxPopupWindowListBox:
[legend]

Public Member Functions

 SvxPopupWindowListBox (SvxUndoRedoControl *pControl, weld::Widget *pParent, const std::vector< OUString > &rUndoRedoList)
 
virtual void GrabFocus () override
 
- Public Member Functions inherited from WeldToolbarPopup
 WeldToolbarPopup (css::uno::Reference< css::frame::XFrame > xFrame, weld::Widget *pParent, const OUString &rUIFile, const OUString &rId)
 
virtual ~WeldToolbarPopup ()
 
weld::ContainergetTopLevel ()
 
weld::ContainergetContainer ()
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event)
 
virtual void GrabFocus ()=0
 

Private Member Functions

void UpdateRow (int nRow)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (ActivateHdl, weld::TreeView &, bool)
 
 DECL_LINK (MouseMoveHdl, const MouseEvent &, bool)
 
 DECL_LINK (MousePressHdl, const MouseEvent &, bool)
 
 DECL_LINK (MouseReleaseHdl, const MouseEvent &, bool)
 

Private Attributes

rtl::Reference< SvxUndoRedoControlm_xControl
 
std::unique_ptr< weld::TreeViewm_xListBox
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
int m_nSelectedRows
 
int m_nVisRows
 

Additional Inherited Members

- Protected Attributes inherited from WeldToolbarPopup
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Containerm_xContainer
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
rtl::Reference< svt::FrameStatusListenerm_xStatusListener
 

Detailed Description

Definition at line 45 of file lboxctrl.cxx.

Constructor & Destructor Documentation

◆ SvxPopupWindowListBox()

SvxPopupWindowListBox::SvxPopupWindowListBox ( SvxUndoRedoControl pControl,
weld::Widget pParent,
const std::vector< OUString > &  rUndoRedoList 
)

Definition at line 71 of file lboxctrl.cxx.

References LINK, m_nSelectedRows, m_nVisRows, and m_xListBox.

Member Function Documentation

◆ DECL_LINK() [1/5]

SvxPopupWindowListBox::DECL_LINK ( ActivateHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/5]

SvxPopupWindowListBox::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [3/5]

SvxPopupWindowListBox::DECL_LINK ( MouseMoveHdl  ,
const MouseEvent ,
bool   
)
private

◆ DECL_LINK() [4/5]

SvxPopupWindowListBox::DECL_LINK ( MousePressHdl  ,
const MouseEvent ,
bool   
)
private

◆ DECL_LINK() [5/5]

SvxPopupWindowListBox::DECL_LINK ( MouseReleaseHdl  ,
const MouseEvent ,
bool   
)
private

◆ GrabFocus()

virtual void SvxPopupWindowListBox::GrabFocus ( )
inlineoverridevirtual

Implements WeldToolbarPopup.

Definition at line 65 of file lboxctrl.cxx.

References m_xListBox.

◆ UpdateRow()

void SvxPopupWindowListBox::UpdateRow ( int  nRow)
private

Definition at line 114 of file lboxctrl.cxx.

References m_nSelectedRows, m_xControl, and m_xListBox.

Member Data Documentation

◆ m_nSelectedRows

int SvxPopupWindowListBox::m_nSelectedRows
private

Definition at line 50 of file lboxctrl.cxx.

Referenced by SvxPopupWindowListBox(), and UpdateRow().

◆ m_nVisRows

int SvxPopupWindowListBox::m_nVisRows
private

Definition at line 51 of file lboxctrl.cxx.

Referenced by SvxPopupWindowListBox().

◆ m_xControl

rtl::Reference<SvxUndoRedoControl> SvxPopupWindowListBox::m_xControl
private

Definition at line 47 of file lboxctrl.cxx.

Referenced by UpdateRow().

◆ m_xListBox

std::unique_ptr<weld::TreeView> SvxPopupWindowListBox::m_xListBox
private

Definition at line 48 of file lboxctrl.cxx.

Referenced by GrabFocus(), SvxPopupWindowListBox(), and UpdateRow().

◆ m_xScratchIter

std::unique_ptr<weld::TreeIter> SvxPopupWindowListBox::m_xScratchIter
private

Definition at line 49 of file lboxctrl.cxx.


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