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:
Collaboration diagram for ScCondFormatManagerDlg:

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 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

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::ScCondFormatManagerDlg ( weld::Window pParent,
ScDocument rDoc,
const ScConditionalFormatList pFormatList 

◆ ~ScCondFormatManagerDlg()

ScCondFormatManagerDlg::~ScCondFormatManagerDlg ( )

Member Function Documentation

◆ CondFormatsChanged()

bool ScCondFormatManagerDlg::CondFormatsChanged ( ) const

Definition at line 173 of file condformatmgr.cxx.

References m_bModified.

◆ DECL_LINK() [1/4]

ScCondFormatManagerDlg::DECL_LINK ( AddBtnHdl  ,
weld::Button ,

◆ DECL_LINK() [2/4]

ScCondFormatManagerDlg::DECL_LINK ( EditBtnClickHdl  ,
weld::Button ,

◆ DECL_LINK() [3/4]

ScCondFormatManagerDlg::DECL_LINK ( EditBtnHdl  ,
weld::TreeView ,

◆ DECL_LINK() [4/4]

ScCondFormatManagerDlg::DECL_LINK ( RemoveBtnHdl  ,
weld::Button ,

◆ GetCondFormatSelected()

ScConditionalFormat * ScCondFormatManagerDlg::GetCondFormatSelected ( )

Definition at line 131 of file condformatmgr.cxx.

References m_xCtrlManager.

◆ GetConditionalFormatList()

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

Definition at line 117 of file condformatmgr.cxx.

References m_xFormatList.

◆ SetModified()

void ScCondFormatManagerDlg::SetModified ( )

Definition at line 167 of file condformatmgr.cxx.

References m_bModified, and UpdateButtonSensitivity().

◆ UpdateButtonSensitivity()

void ScCondFormatManagerDlg::UpdateButtonSensitivity ( )

Definition at line 122 of file condformatmgr.cxx.

References m_xBtnEdit, m_xBtnRemove, and m_xFormatList.

Referenced by ScCondFormatManagerDlg(), and SetModified().

Member Data Documentation

◆ m_bModified

bool ScCondFormatManagerDlg::m_bModified

Definition at line 49 of file condformatmgr.hxx.

Referenced by CondFormatsChanged(), and SetModified().

◆ m_xBtnAdd

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

Definition at line 52 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg().

◆ m_xBtnEdit

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

Definition at line 54 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().

◆ m_xBtnRemove

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

Definition at line 53 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().

◆ m_xCtrlManager

std::unique_ptr<ScCondFormatManagerWindow> ScCondFormatManagerDlg::m_xCtrlManager

Definition at line 56 of file condformatmgr.hxx.

Referenced by GetCondFormatSelected().

◆ m_xFormatList

std::unique_ptr<ScConditionalFormatList> ScCondFormatManagerDlg::m_xFormatList

Definition at line 50 of file condformatmgr.hxx.

Referenced by GetConditionalFormatList(), and UpdateButtonSensitivity().

◆ m_xTreeView

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

Definition at line 55 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg().

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