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

Definition at line 105 of file condformatmgr.cxx.

Member Function Documentation

bool ScCondFormatManagerDlg::CondFormatsChanged ( ) const

Definition at line 165 of file condformatmgr.cxx.

References m_bModified.

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

Definition at line 123 of file condformatmgr.cxx.

References m_xCtrlManager.

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

Definition at line 109 of file condformatmgr.cxx.

References m_xFormatList.

void ScCondFormatManagerDlg::SetModified ( )

Definition at line 159 of file condformatmgr.cxx.

References m_bModified, and UpdateButtonSensitivity().

void ScCondFormatManagerDlg::UpdateButtonSensitivity ( )

Definition at line 114 of file condformatmgr.cxx.

References m_xBtnEdit, m_xBtnRemove, and m_xFormatList.

Referenced by ScCondFormatManagerDlg(), and SetModified().

Member Data Documentation

bool ScCondFormatManagerDlg::m_bModified

Definition at line 49 of file condformatmgr.hxx.

Referenced by CondFormatsChanged(), and SetModified().

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

Definition at line 52 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg().

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

Definition at line 54 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().

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

Definition at line 53 of file condformatmgr.hxx.

Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().

std::unique_ptr<ScCondFormatManagerWindow> ScCondFormatManagerDlg::m_xCtrlManager

Definition at line 56 of file condformatmgr.hxx.

Referenced by GetCondFormatSelected().

std::unique_ptr<ScConditionalFormatList> ScCondFormatManagerDlg::m_xFormatList

Definition at line 50 of file condformatmgr.hxx.

Referenced by GetConditionalFormatList(), and UpdateButtonSensitivity().

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: