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

#include <condformatmgr.hxx>

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

Public Member Functions

 ScCondFormatManagerDlg (weld::Window *pParent, ScDocument &rDoc, const ScConditionalFormatList *pFormatList)
 
virtual ~ScCondFormatManagerDlg () override
 
std::unique_ptr< ScConditionalFormatListGetConditionalFormatList ()
 
bool CondFormatsChanged () const
 
void SetModified ()
 
ScConditionalFormatGetCondFormatSelected ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void UpdateButtonSensitivity ()
 
 DECL_LINK (RemoveBtnHdl, weld::Button &, void)
 
 DECL_LINK (EditBtnClickHdl, weld::Button &, void)
 
 DECL_LINK (AddBtnHdl, weld::Button &, void)
 
 DECL_LINK (EditBtnHdl, weld::TreeView &, bool)
 

Private Attributes

bool m_bModified
 
std::unique_ptr< ScConditionalFormatListm_xFormatList
 
std::unique_ptr< weld::Buttonm_xBtnAdd
 
std::unique_ptr< weld::Buttonm_xBtnRemove
 
std::unique_ptr< weld::Buttonm_xBtnEdit
 
std::unique_ptr< weld::TreeViewm_xTreeView
 
std::unique_ptr< ScCondFormatManagerWindowm_xCtrlManager
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 35 of file condformatmgr.hxx.

Constructor & Destructor Documentation

ScCondFormatManagerDlg::ScCondFormatManagerDlg ( weld::Window pParent,
ScDocument rDoc,
const ScConditionalFormatList pFormatList 
)
ScCondFormatManagerDlg::~ScCondFormatManagerDlg ( )
overridevirtual

Definition at line 102 of file condformatmgr.cxx.

Member Function Documentation

bool ScCondFormatManagerDlg::CondFormatsChanged ( ) const

Definition at line 162 of file condformatmgr.cxx.

References m_bModified.

ScCondFormatManagerDlg::DECL_LINK ( RemoveBtnHdl  ,
weld::Button ,
void   
)
private
ScCondFormatManagerDlg::DECL_LINK ( EditBtnClickHdl  ,
weld::Button ,
void   
)
private
ScCondFormatManagerDlg::DECL_LINK ( AddBtnHdl  ,
weld::Button ,
void   
)
private
ScCondFormatManagerDlg::DECL_LINK ( EditBtnHdl  ,
weld::TreeView ,
bool   
)
private
ScConditionalFormat * ScCondFormatManagerDlg::GetCondFormatSelected ( )

Definition at line 120 of file condformatmgr.cxx.

References m_xCtrlManager.

std::unique_ptr< ScConditionalFormatList > ScCondFormatManagerDlg::GetConditionalFormatList ( )

Definition at line 106 of file condformatmgr.cxx.

References m_xFormatList.

void ScCondFormatManagerDlg::SetModified ( )

Definition at line 156 of file condformatmgr.cxx.

References m_bModified, and UpdateButtonSensitivity().

void ScCondFormatManagerDlg::UpdateButtonSensitivity ( )
private

Definition at line 111 of file condformatmgr.cxx.

References m_xBtnEdit, m_xBtnRemove, and m_xFormatList.

Referenced by ScCondFormatManagerDlg(), and SetModified().

Member Data Documentation

bool ScCondFormatManagerDlg::m_bModified
private

Definition at line 49 of file condformatmgr.hxx.

Referenced by CondFormatsChanged(), and SetModified().

std::unique_ptr<weld::Button> ScCondFormatManagerDlg::m_xBtnAdd
private

Definition at line 52 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg().

std::unique_ptr<weld::Button> ScCondFormatManagerDlg::m_xBtnEdit
private

Definition at line 54 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().

std::unique_ptr<weld::Button> ScCondFormatManagerDlg::m_xBtnRemove
private

Definition at line 53 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().

std::unique_ptr<ScCondFormatManagerWindow> ScCondFormatManagerDlg::m_xCtrlManager
private

Definition at line 56 of file condformatmgr.hxx.

Referenced by GetCondFormatSelected().

std::unique_ptr<ScConditionalFormatList> ScCondFormatManagerDlg::m_xFormatList
private

Definition at line 50 of file condformatmgr.hxx.

Referenced by GetConditionalFormatList(), and UpdateButtonSensitivity().

std::unique_ptr<weld::TreeView> ScCondFormatManagerDlg::m_xTreeView
private

Definition at line 55 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg().


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