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

#include <dwfunctr.hxx>

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

Public Member Functions

 ScFunctionWin (weld::Widget *pParent)
 
virtual ~ScFunctionWin () override
 
void InitLRUList ()
 
void UpdateFunctionList ()
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 

Private Member Functions

void UpdateLRUList ()
 
void DoEnter ()
 
void SetDescription ()
 
 DECL_LINK (SetRowActivatedHdl, weld::TreeView &, bool)
 
 DECL_LINK (SetSelectionClickHdl, weld::Button &, void)
 
 DECL_LINK (SelComboHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelTreeHdl, weld::TreeView &, void)
 

Private Attributes

std::unique_ptr< weld::ComboBoxxCatBox
 
std::unique_ptr< weld::TreeViewxFuncList
 
std::unique_ptr< weld::ButtonxInsertButton
 
std::unique_ptr< weld::LabelxFiFuncDesc
 
rtl::Reference< comphelper::ConfigurationListenerxConfigListener
 
std::unique_ptr< EnglishFunctionNameChangexConfigChange
 
const ScFuncDescpFuncDesc
 
sal_uInt16 nArgs
 
::std::vector< const formula::IFunctionDescription * > aLRUList
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 42 of file dwfunctr.hxx.

Constructor & Destructor Documentation

ScFunctionWin::ScFunctionWin ( weld::Widget pParent)

Definition at line 47 of file dwfunctr.cxx.

References InitLRUList(), LINK, nArgs, xCatBox, xFiFuncDesc, xFuncList, and xInsertButton.

ScFunctionWin::~ScFunctionWin ( )
overridevirtual

Definition at line 89 of file dwfunctr.cxx.

References xCatBox, xConfigChange, xConfigListener, xFiFuncDesc, xFuncList, and xInsertButton.

Member Function Documentation

ScFunctionWin::DECL_LINK ( SetRowActivatedHdl  ,
weld::TreeView ,
bool   
)
private
ScFunctionWin::DECL_LINK ( SetSelectionClickHdl  ,
weld::Button ,
void   
)
private
ScFunctionWin::DECL_LINK ( SelComboHdl  ,
weld::ComboBox ,
void   
)
private
ScFunctionWin::DECL_LINK ( SelTreeHdl  ,
weld::TreeView ,
void   
)
private
void ScFunctionWin::DoEnter ( )
private
void ScFunctionWin::InitLRUList ( )
void ScFunctionWin::SetDescription ( )
private
void ScFunctionWin::UpdateFunctionList ( )
void ScFunctionWin::UpdateLRUList ( )
private

Definition at line 140 of file dwfunctr.cxx.

References ScModule::InsertEntryToLRUList(), ScFuncDesc::nFIndex, pFuncDesc, and SC_MOD.

Referenced by DoEnter().

Member Data Documentation

::std::vector< const formula::IFunctionDescription*> ScFunctionWin::aLRUList
private

Definition at line 56 of file dwfunctr.hxx.

Referenced by InitLRUList(), and UpdateFunctionList().

sal_uInt16 ScFunctionWin::nArgs
private

Definition at line 54 of file dwfunctr.hxx.

Referenced by DoEnter(), and ScFunctionWin().

const ScFuncDesc* ScFunctionWin::pFuncDesc
private

Definition at line 53 of file dwfunctr.hxx.

Referenced by DoEnter(), and UpdateLRUList().

std::unique_ptr<weld::ComboBox> ScFunctionWin::xCatBox
private

Definition at line 46 of file dwfunctr.hxx.

Referenced by InitLRUList(), ScFunctionWin(), UpdateFunctionList(), and ~ScFunctionWin().

std::unique_ptr<EnglishFunctionNameChange> ScFunctionWin::xConfigChange
private

Definition at line 52 of file dwfunctr.hxx.

Referenced by ~ScFunctionWin().

rtl::Reference<comphelper::ConfigurationListener> ScFunctionWin::xConfigListener
private

Definition at line 51 of file dwfunctr.hxx.

Referenced by DoEnter(), and ~ScFunctionWin().

std::unique_ptr<weld::Label> ScFunctionWin::xFiFuncDesc
private

Definition at line 49 of file dwfunctr.hxx.

Referenced by ScFunctionWin(), SetDescription(), and ~ScFunctionWin().

std::unique_ptr<weld::TreeView> ScFunctionWin::xFuncList
private
std::unique_ptr<weld::Button> ScFunctionWin::xInsertButton
private

Definition at line 48 of file dwfunctr.hxx.

Referenced by ScFunctionWin(), and ~ScFunctionWin().


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