LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
CuiAboutConfigTabPage Class Reference

#include <optaboutconfig.hxx>

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

Public Member Functions

 CuiAboutConfigTabPage (weld::Window *pParent)
 
virtual ~CuiAboutConfigTabPage () override
 
void InsertEntry (const OUString &rPropertyPath, const OUString &rProp, const OUString &rStatus, const OUString &rType, const OUString &rValue, const weld::TreeIter *pParentEntry, bool bInsertToPrefBox, bool bIsReadOnly)
 
void Reset ()
 
void FillItems (const css::uno::Reference< css::container::XNameAccess > &xNameAccess, const weld::TreeIter *pParentEntry=nullptr, int lineage=0, bool bLoadAll=false)
 
void FillItemSet ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Static Public Member Functions

static css::uno::Reference< css::container::XNameAccess > getConfigAccess (const OUString &sNodePath, bool bUpdate)
 
- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 

Private Member Functions

void AddToModifiedVector (const std::shared_ptr< Prop_Impl > &rProp)
 
void InsertEntry (const prefBoxEntry &rEntry)
 
 DECL_LINK (QueryTooltip, const weld::TreeIter &rIter, OUString)
 
 DECL_LINK (StandardHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DoubleClickHdl_Impl, weld::TreeView &, bool)
 
 DECL_LINK (ResetBtnHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SearchHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ExpandingHdl_Impl, const weld::TreeIter &, bool)
 
 DECL_LINK (HeaderBarClick, int, void)
 

Static Private Member Functions

static std::vector< OUString > commaStringToSequence (std::u16string_view rCommaSepString)
 

Private Attributes

std::unique_ptr< weld::Buttonm_xResetBtn
 
std::unique_ptr< weld::Buttonm_xEditBtn
 
std::unique_ptr< weld::Buttonm_xSearchBtn
 
std::unique_ptr< weld::Entrym_xSearchEdit
 
std::unique_ptr< weld::TreeViewm_xPrefBox
 
std::unique_ptr< weld::TreeIterm_xScratchIter
 
std::vector< std::unique_ptr< UserData > > m_vectorUserData
 
std::vector< prefBoxEntrym_modifiedPrefBoxEntries
 
std::vector< std::shared_ptr< Prop_Impl > > m_vectorOfModified
 
i18nutil::SearchOptions2 m_options
 
std::vector< prefBoxEntrym_prefBoxEntries
 
bool m_bSorted
 

Additional Inherited Members

- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 33 of file optaboutconfig.hxx.

Constructor & Destructor Documentation

◆ CuiAboutConfigTabPage()

CuiAboutConfigTabPage::CuiAboutConfigTabPage ( weld::Window pParent)
explicit

◆ ~CuiAboutConfigTabPage()

CuiAboutConfigTabPage::~CuiAboutConfigTabPage ( )
overridevirtual

Definition at line 228 of file optaboutconfig.cxx.

Member Function Documentation

◆ AddToModifiedVector()

void CuiAboutConfigTabPage::AddToModifiedVector ( const std::shared_ptr< Prop_Impl > &  rProp)
private

Definition at line 555 of file optaboutconfig.cxx.

References m_vectorOfModified.

◆ commaStringToSequence()

std::vector< OUString > CuiAboutConfigTabPage::commaStringToSequence ( std::u16string_view  rCommaSepString)
staticprivate

Definition at line 576 of file optaboutconfig.cxx.

References o3tl::getToken(), index, and u.

◆ DECL_LINK() [1/7]

CuiAboutConfigTabPage::DECL_LINK ( DoubleClickHdl_Impl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/7]

CuiAboutConfigTabPage::DECL_LINK ( ExpandingHdl_Impl  ,
const weld::TreeIter ,
bool   
)
private

◆ DECL_LINK() [3/7]

CuiAboutConfigTabPage::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
private

◆ DECL_LINK() [4/7]

CuiAboutConfigTabPage::DECL_LINK ( QueryTooltip  ,
const weld::TreeIter rIter,
OUString   
)
private

◆ DECL_LINK() [5/7]

CuiAboutConfigTabPage::DECL_LINK ( ResetBtnHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/7]

CuiAboutConfigTabPage::DECL_LINK ( SearchHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/7]

CuiAboutConfigTabPage::DECL_LINK ( StandardHdl_Impl  ,
weld::Button ,
void   
)
private

◆ FillItems()

void CuiAboutConfigTabPage::FillItems ( const css::uno::Reference< css::container::XNameAccess > &  xNameAccess,
const weld::TreeIter pParentEntry = nullptr,
int  lineage = 0,
bool  bLoadAll = false 
)

◆ FillItemSet()

void CuiAboutConfigTabPage::FillItemSet ( )

Definition at line 276 of file optaboutconfig.cxx.

References getConfigAccess(), and m_vectorOfModified.

Referenced by IMPL_LINK_NOARG().

◆ getConfigAccess()

Reference< XNameAccess > CuiAboutConfigTabPage::getConfigAccess ( const OUString &  sNodePath,
bool  bUpdate 
)
static

Definition at line 527 of file optaboutconfig.cxx.

Referenced by FillItemSet(), IMPL_LINK_NOARG(), and Reset().

◆ InsertEntry() [1/2]

void CuiAboutConfigTabPage::InsertEntry ( const OUString &  rPropertyPath,
const OUString &  rProp,
const OUString &  rStatus,
const OUString &  rType,
const OUString &  rValue,
const weld::TreeIter pParentEntry,
bool  bInsertToPrefBox,
bool  bIsReadOnly 
)

◆ InsertEntry() [2/2]

void CuiAboutConfigTabPage::InsertEntry ( const prefBoxEntry rEntry)
private

◆ Reset()

void CuiAboutConfigTabPage::Reset ( void  )

Member Data Documentation

◆ m_bSorted

bool CuiAboutConfigTabPage::m_bSorted
private

Definition at line 52 of file optaboutconfig.hxx.

Referenced by Reset().

◆ m_modifiedPrefBoxEntries

std::vector<prefBoxEntry> CuiAboutConfigTabPage::m_modifiedPrefBoxEntries
private

Definition at line 45 of file optaboutconfig.hxx.

Referenced by FillItems(), and Reset().

◆ m_options

i18nutil::SearchOptions2 CuiAboutConfigTabPage::m_options
private

Definition at line 49 of file optaboutconfig.hxx.

Referenced by CuiAboutConfigTabPage().

◆ m_prefBoxEntries

std::vector<prefBoxEntry> CuiAboutConfigTabPage::m_prefBoxEntries
private

Definition at line 50 of file optaboutconfig.hxx.

Referenced by InsertEntry(), and Reset().

◆ m_vectorOfModified

std::vector< std::shared_ptr< Prop_Impl > > CuiAboutConfigTabPage::m_vectorOfModified
private

Definition at line 46 of file optaboutconfig.hxx.

Referenced by AddToModifiedVector(), FillItemSet(), and Reset().

◆ m_vectorUserData

std::vector< std::unique_ptr<UserData> > CuiAboutConfigTabPage::m_vectorUserData
private

Definition at line 43 of file optaboutconfig.hxx.

Referenced by FillItems(), and InsertEntry().

◆ m_xEditBtn

std::unique_ptr<weld::Button> CuiAboutConfigTabPage::m_xEditBtn
private

Definition at line 37 of file optaboutconfig.hxx.

Referenced by CuiAboutConfigTabPage().

◆ m_xPrefBox

std::unique_ptr<weld::TreeView> CuiAboutConfigTabPage::m_xPrefBox
private

Definition at line 40 of file optaboutconfig.hxx.

Referenced by CuiAboutConfigTabPage(), FillItems(), InsertEntry(), and Reset().

◆ m_xResetBtn

std::unique_ptr<weld::Button> CuiAboutConfigTabPage::m_xResetBtn
private

Definition at line 36 of file optaboutconfig.hxx.

Referenced by CuiAboutConfigTabPage().

◆ m_xScratchIter

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

Definition at line 41 of file optaboutconfig.hxx.

Referenced by FillItems(), and InsertEntry().

◆ m_xSearchBtn

std::unique_ptr<weld::Button> CuiAboutConfigTabPage::m_xSearchBtn
private

Definition at line 38 of file optaboutconfig.hxx.

Referenced by CuiAboutConfigTabPage().

◆ m_xSearchEdit

std::unique_ptr<weld::Entry> CuiAboutConfigTabPage::m_xSearchEdit
private

Definition at line 39 of file optaboutconfig.hxx.


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