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

#include <FilterListBox.hxx>

Inheritance diagram for ScFilterListBox:
[legend]
Collaboration diagram for ScFilterListBox:
[legend]

Public Member Functions

 ScFilterListBox (weld::Window *pParent, ScGridWindow *pGrid, SCCOL nNewCol, SCROW nNewRow, ScFilterBoxMode eNewMode)
 
void popup_at_rect (weld::Widget *pParent, const tools::Rectangle &rRect)
 
void connect_closed (const Link< weld::Popover &, void > &rLink)
 
void popdown ()
 
 ~ScFilterListBox ()
 
weld::TreeViewget_widget ()
 
SCCOL GetCol () const
 
SCROW GetRow () const
 
ScFilterBoxMode GetMode () const
 
void EndInit ()
 
bool IsInInit () const
 
bool MouseWasCaptured () const
 
void SetCancelled ()
 

Private Member Functions

 DECL_LINK (SelectHdl, weld::TreeView &, bool)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (AsyncSelectHdl, void *, void)
 

Private Attributes

std::unique_ptr< weld::BuilderxBuilder
 
std::unique_ptr< weld::PopoverxPopover
 
std::unique_ptr< weld::TreeViewxTreeView
 
VclPtr< ScGridWindowpGridWin
 
SCCOL nCol
 
SCROW nRow
 
bool bInit
 
bool bCancelled
 
bool bGridHadMouseCaptured
 
sal_uLong nSel
 
ScFilterBoxMode eMode
 
ImplSVEventnAsyncSelectHdl
 

Detailed Description

Definition at line 36 of file FilterListBox.hxx.

Constructor & Destructor Documentation

◆ ScFilterListBox()

ScFilterListBox::ScFilterListBox ( weld::Window pParent,
ScGridWindow pGrid,
SCCOL  nNewCol,
SCROW  nNewRow,
ScFilterBoxMode  eNewMode 
)

Definition at line 192 of file gridwin.cxx.

References eMode, LINK, and xTreeView.

◆ ~ScFilterListBox()

ScFilterListBox::~ScFilterListBox ( )

Definition at line 211 of file gridwin.cxx.

References nAsyncSelectHdl, and Application::RemoveUserEvent().

Member Function Documentation

◆ connect_closed()

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

Definition at line 63 of file FilterListBox.hxx.

References xPopover.

◆ DECL_LINK() [1/3]

ScFilterListBox::DECL_LINK ( AsyncSelectHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [2/3]

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

◆ DECL_LINK() [3/3]

ScFilterListBox::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
bool   
)
private

◆ EndInit()

void ScFilterListBox::EndInit ( )

Definition at line 220 of file gridwin.cxx.

References bInit, nPos, nSel, and xTreeView.

◆ get_widget()

weld::TreeView & ScFilterListBox::get_widget ( )
inline

Definition at line 70 of file FilterListBox.hxx.

References xTreeView.

◆ GetCol()

SCCOL ScFilterListBox::GetCol ( ) const
inline

Definition at line 72 of file FilterListBox.hxx.

References nCol.

◆ GetMode()

ScFilterBoxMode ScFilterListBox::GetMode ( ) const
inline

Definition at line 74 of file FilterListBox.hxx.

References eMode.

◆ GetRow()

SCROW ScFilterListBox::GetRow ( ) const
inline

Definition at line 73 of file FilterListBox.hxx.

References nRow.

◆ IsInInit()

bool ScFilterListBox::IsInInit ( ) const
inline

Definition at line 76 of file FilterListBox.hxx.

References bInit.

◆ MouseWasCaptured()

bool ScFilterListBox::MouseWasCaptured ( ) const
inline

Definition at line 77 of file FilterListBox.hxx.

References bGridHadMouseCaptured.

◆ popdown()

void ScFilterListBox::popdown ( )
inline

Definition at line 67 of file FilterListBox.hxx.

References xPopover.

◆ popup_at_rect()

void ScFilterListBox::popup_at_rect ( weld::Widget pParent,
const tools::Rectangle rRect 
)
inline

Definition at line 59 of file FilterListBox.hxx.

References xPopover.

◆ SetCancelled()

void ScFilterListBox::SetCancelled ( )
inline

Definition at line 78 of file FilterListBox.hxx.

References bCancelled.

Member Data Documentation

◆ bCancelled

bool ScFilterListBox::bCancelled
private

Definition at line 46 of file FilterListBox.hxx.

Referenced by SetCancelled().

◆ bGridHadMouseCaptured

bool ScFilterListBox::bGridHadMouseCaptured
private

Definition at line 47 of file FilterListBox.hxx.

Referenced by MouseWasCaptured().

◆ bInit

bool ScFilterListBox::bInit
private

Definition at line 45 of file FilterListBox.hxx.

Referenced by EndInit(), and IsInInit().

◆ eMode

ScFilterBoxMode ScFilterListBox::eMode
private

Definition at line 49 of file FilterListBox.hxx.

Referenced by GetMode().

◆ nAsyncSelectHdl

ImplSVEvent* ScFilterListBox::nAsyncSelectHdl
private

Definition at line 50 of file FilterListBox.hxx.

Referenced by ~ScFilterListBox().

◆ nCol

SCCOL ScFilterListBox::nCol
private

Definition at line 43 of file FilterListBox.hxx.

Referenced by GetCol().

◆ nRow

SCROW ScFilterListBox::nRow
private

Definition at line 44 of file FilterListBox.hxx.

Referenced by GetRow().

◆ nSel

sal_uLong ScFilterListBox::nSel
private

Definition at line 48 of file FilterListBox.hxx.

Referenced by EndInit().

◆ pGridWin

VclPtr<ScGridWindow> ScFilterListBox::pGridWin
private

Definition at line 42 of file FilterListBox.hxx.

◆ xBuilder

std::unique_ptr<weld::Builder> ScFilterListBox::xBuilder
private

Definition at line 39 of file FilterListBox.hxx.

◆ xPopover

std::unique_ptr<weld::Popover> ScFilterListBox::xPopover
private

Definition at line 40 of file FilterListBox.hxx.

Referenced by connect_closed(), popdown(), and popup_at_rect().

◆ xTreeView

std::unique_ptr<weld::TreeView> ScFilterListBox::xTreeView
private

Definition at line 41 of file FilterListBox.hxx.

Referenced by EndInit(), get_widget(), and ScFilterListBox().


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