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 OUString &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::TextViewxFiFuncDesc
 
rtl::Reference< comphelper::ConfigurationListenerxConfigListener
 
std::unique_ptr< EnglishFunctionNameChangexConfigChange
 
const ScFuncDescpFuncDesc
 
sal_uInt16 nArgs
 
OUString m_aHelpId
 
::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::ScFunctionWin ( weld::Widget pParent)

Definition at line 47 of file dwfunctr.cxx.

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

◆ ~ScFunctionWin()

ScFunctionWin::~ScFunctionWin ( )
overridevirtual

Definition at line 90 of file dwfunctr.cxx.

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

Member Function Documentation

◆ DECL_LINK() [1/4]

ScFunctionWin::DECL_LINK ( SelComboHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/4]

ScFunctionWin::DECL_LINK ( SelTreeHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [3/4]

ScFunctionWin::DECL_LINK ( SetRowActivatedHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/4]

ScFunctionWin::DECL_LINK ( SetSelectionClickHdl  ,
weld::Button ,
void   
)
private

◆ DoEnter()

void ScFunctionWin::DoEnter ( )
private

◆ InitLRUList()

void ScFunctionWin::InitLRUList ( )

◆ SetDescription()

void ScFunctionWin::SetDescription ( )
private

◆ UpdateFunctionList()

void ScFunctionWin::UpdateFunctionList ( )

◆ UpdateLRUList()

void ScFunctionWin::UpdateLRUList ( )
private

Definition at line 141 of file dwfunctr.cxx.

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

Referenced by DoEnter().

Member Data Documentation

◆ aLRUList

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

Definition at line 57 of file dwfunctr.hxx.

Referenced by InitLRUList(), and UpdateFunctionList().

◆ m_aHelpId

OUString ScFunctionWin::m_aHelpId
private

Definition at line 55 of file dwfunctr.hxx.

Referenced by ScFunctionWin(), and SetDescription().

◆ nArgs

sal_uInt16 ScFunctionWin::nArgs
private

Definition at line 54 of file dwfunctr.hxx.

Referenced by DoEnter(), and ScFunctionWin().

◆ pFuncDesc

const ScFuncDesc* ScFunctionWin::pFuncDesc
private

Definition at line 53 of file dwfunctr.hxx.

Referenced by DoEnter(), and UpdateLRUList().

◆ xCatBox

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

Definition at line 46 of file dwfunctr.hxx.

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

◆ xConfigChange

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

Definition at line 52 of file dwfunctr.hxx.

Referenced by ~ScFunctionWin().

◆ xConfigListener

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

Definition at line 51 of file dwfunctr.hxx.

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

◆ xFiFuncDesc

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

Definition at line 49 of file dwfunctr.hxx.

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

◆ xFuncList

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

◆ xInsertButton

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: