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 34 of file FilterListBox.hxx.

Constructor & Destructor Documentation

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

Definition at line 184 of file gridwin.cxx.

References eMode, LINK, and xTreeView.

ScFilterListBox::~ScFilterListBox ( )

Definition at line 203 of file gridwin.cxx.

References nAsyncSelectHdl, and Application::RemoveUserEvent().

Member Function Documentation

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

Definition at line 61 of file FilterListBox.hxx.

ScFilterListBox::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
bool   
)
private
ScFilterListBox::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private
ScFilterListBox::DECL_LINK ( AsyncSelectHdl  ,
void ,
void   
)
private
void ScFilterListBox::EndInit ( )

Definition at line 212 of file gridwin.cxx.

References bInit, nPos, nSel, and xTreeView.

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

Definition at line 68 of file FilterListBox.hxx.

References xTreeView.

SCCOL ScFilterListBox::GetCol ( ) const
inline

Definition at line 70 of file FilterListBox.hxx.

References nCol.

ScFilterBoxMode ScFilterListBox::GetMode ( ) const
inline

Definition at line 72 of file FilterListBox.hxx.

References eMode.

SCROW ScFilterListBox::GetRow ( ) const
inline

Definition at line 71 of file FilterListBox.hxx.

References nRow.

bool ScFilterListBox::IsInInit ( ) const
inline

Definition at line 74 of file FilterListBox.hxx.

References bInit.

bool ScFilterListBox::MouseWasCaptured ( ) const
inline

Definition at line 75 of file FilterListBox.hxx.

References bGridHadMouseCaptured.

void ScFilterListBox::popdown ( )
inline

Definition at line 65 of file FilterListBox.hxx.

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

Definition at line 57 of file FilterListBox.hxx.

void ScFilterListBox::SetCancelled ( )
inline

Definition at line 76 of file FilterListBox.hxx.

Member Data Documentation

bool ScFilterListBox::bCancelled
private

Definition at line 44 of file FilterListBox.hxx.

bool ScFilterListBox::bGridHadMouseCaptured
private

Definition at line 45 of file FilterListBox.hxx.

Referenced by MouseWasCaptured().

bool ScFilterListBox::bInit
private

Definition at line 43 of file FilterListBox.hxx.

Referenced by EndInit(), and IsInInit().

ScFilterBoxMode ScFilterListBox::eMode
private

Definition at line 47 of file FilterListBox.hxx.

Referenced by GetMode().

ImplSVEvent* ScFilterListBox::nAsyncSelectHdl
private

Definition at line 48 of file FilterListBox.hxx.

Referenced by ~ScFilterListBox().

SCCOL ScFilterListBox::nCol
private

Definition at line 41 of file FilterListBox.hxx.

Referenced by GetCol().

SCROW ScFilterListBox::nRow
private

Definition at line 42 of file FilterListBox.hxx.

Referenced by GetRow().

sal_uLong ScFilterListBox::nSel
private

Definition at line 46 of file FilterListBox.hxx.

Referenced by EndInit().

VclPtr<ScGridWindow> ScFilterListBox::pGridWin
private

Definition at line 40 of file FilterListBox.hxx.

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

Definition at line 37 of file FilterListBox.hxx.

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

Definition at line 38 of file FilterListBox.hxx.

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

Definition at line 39 of file FilterListBox.hxx.

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


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