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

#include <delcodlg.hxx>

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

Public Member Functions

 ScDeleteContentsDlg (weld::Window *pParent)
 
virtual ~ScDeleteContentsDlg () override
 
void DisableObjects ()
 
InsertDeleteFlags GetDelContentsCmdBits () const
 
- 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 DisableChecks (bool bDelAllChecked)
 
 DECL_LINK (DelAllHdl, weld::Button &, void)
 

Private Attributes

bool m_bObjectsDisabled
 
std::unique_ptr< weld::CheckButtonm_xBtnDelAll
 
std::unique_ptr< weld::CheckButtonm_xBtnDelStrings
 
std::unique_ptr< weld::CheckButtonm_xBtnDelNumbers
 
std::unique_ptr< weld::CheckButtonm_xBtnDelDateTime
 
std::unique_ptr< weld::CheckButtonm_xBtnDelFormulas
 
std::unique_ptr< weld::CheckButtonm_xBtnDelNotes
 
std::unique_ptr< weld::CheckButtonm_xBtnDelAttrs
 
std::unique_ptr< weld::CheckButtonm_xBtnDelObjects
 
std::unique_ptr< weld::Buttonm_xBtnOk
 

Static Private Attributes

static bool bPreviousAllCheck = false
 
static InsertDeleteFlags nPreviousChecks
 

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 26 of file delcodlg.hxx.

Constructor & Destructor Documentation

ScDeleteContentsDlg::ScDeleteContentsDlg ( weld::Window pParent)
ScDeleteContentsDlg::~ScDeleteContentsDlg ( )
overridevirtual

Definition at line 56 of file delcodlg.cxx.

Member Function Documentation

ScDeleteContentsDlg::DECL_LINK ( DelAllHdl  ,
weld::Button ,
void   
)
private
void ScDeleteContentsDlg::DisableChecks ( bool  bDelAllChecked)
private
void ScDeleteContentsDlg::DisableObjects ( )

Definition at line 113 of file delcodlg.cxx.

References m_bObjectsDisabled, and m_xBtnDelObjects.

InsertDeleteFlags ScDeleteContentsDlg::GetDelContentsCmdBits ( ) const

Member Data Documentation

bool ScDeleteContentsDlg::bPreviousAllCheck = false
staticprivate

Definition at line 41 of file delcodlg.hxx.

Referenced by GetDelContentsCmdBits(), and ScDeleteContentsDlg().

bool ScDeleteContentsDlg::m_bObjectsDisabled
private

Definition at line 29 of file delcodlg.hxx.

Referenced by DisableChecks(), and DisableObjects().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelAll
private

Definition at line 31 of file delcodlg.hxx.

Referenced by GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelAttrs
private

Definition at line 37 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelDateTime
private

Definition at line 34 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelFormulas
private

Definition at line 35 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelNotes
private

Definition at line 36 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelNumbers
private

Definition at line 33 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelObjects
private
std::unique_ptr<weld::CheckButton> ScDeleteContentsDlg::m_xBtnDelStrings
private

Definition at line 32 of file delcodlg.hxx.

Referenced by DisableChecks(), GetDelContentsCmdBits(), and ScDeleteContentsDlg().

std::unique_ptr<weld::Button> ScDeleteContentsDlg::m_xBtnOk
private

Definition at line 39 of file delcodlg.hxx.

InsertDeleteFlags ScDeleteContentsDlg::nPreviousChecks
staticprivate

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