LibreOffice Module sc (master) 1
|
#include <condformatmgr.hxx>
Public Member Functions | |
ScCondFormatManagerDlg (weld::Window *pParent, ScDocument &rDoc, const ScConditionalFormatList *pFormatList) | |
virtual | ~ScCondFormatManagerDlg () override |
std::unique_ptr< ScConditionalFormatList > | GetConditionalFormatList () |
bool | CondFormatsChanged () const |
void | SetModified () |
ScConditionalFormat * | GetCondFormatSelected () |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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< ScConditionalFormatList > | m_xFormatList |
std::unique_ptr< weld::Button > | m_xBtnAdd |
std::unique_ptr< weld::Button > | m_xBtnRemove |
std::unique_ptr< weld::Button > | m_xBtnEdit |
std::unique_ptr< weld::TreeView > | m_xTreeView |
std::unique_ptr< ScCondFormatManagerWindow > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 35 of file condformatmgr.hxx.
ScCondFormatManagerDlg::ScCondFormatManagerDlg | ( | weld::Window * | pParent, |
ScDocument & | rDoc, | ||
const ScConditionalFormatList * | pFormatList | ||
) |
Definition at line 88 of file condformatmgr.cxx.
References SvtViewOptions::Exists(), get(), SvtViewOptions::GetWindowState(), LINK, m_xBtnAdd, m_xBtnEdit, m_xBtnRemove, weld::GenericDialogController::m_xDialog, m_xTreeView, and UpdateButtonSensitivity().
|
overridevirtual |
Definition at line 110 of file condformatmgr.cxx.
References weld::GenericDialogController::m_xDialog, vcl::Pos, and SvtViewOptions::SetWindowState().
bool ScCondFormatManagerDlg::CondFormatsChanged | ( | ) | const |
Definition at line 173 of file condformatmgr.cxx.
References m_bModified.
|
private |
|
private |
|
private |
|
private |
ScConditionalFormat * ScCondFormatManagerDlg::GetCondFormatSelected | ( | ) |
Definition at line 131 of file condformatmgr.cxx.
References m_xCtrlManager.
std::unique_ptr< ScConditionalFormatList > ScCondFormatManagerDlg::GetConditionalFormatList | ( | ) |
Definition at line 117 of file condformatmgr.cxx.
References m_xFormatList.
void ScCondFormatManagerDlg::SetModified | ( | ) |
Definition at line 167 of file condformatmgr.cxx.
References m_bModified, and UpdateButtonSensitivity().
|
private |
Definition at line 122 of file condformatmgr.cxx.
References m_xBtnEdit, m_xBtnRemove, and m_xFormatList.
Referenced by ScCondFormatManagerDlg(), and SetModified().
|
private |
Definition at line 49 of file condformatmgr.hxx.
Referenced by CondFormatsChanged(), and SetModified().
|
private |
Definition at line 52 of file condformatmgr.hxx.
Referenced by ScCondFormatManagerDlg().
|
private |
Definition at line 54 of file condformatmgr.hxx.
Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().
|
private |
Definition at line 53 of file condformatmgr.hxx.
Referenced by ScCondFormatManagerDlg(), and UpdateButtonSensitivity().
|
private |
Definition at line 56 of file condformatmgr.hxx.
Referenced by GetCondFormatSelected().
|
private |
Definition at line 50 of file condformatmgr.hxx.
Referenced by GetConditionalFormatList(), and UpdateButtonSensitivity().
|
private |
Definition at line 55 of file condformatmgr.hxx.
Referenced by ScCondFormatManagerDlg().