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

#include <scendlg.hxx>

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

Public Member Functions

 ScNewScenarioDlg (weld::Window *pParent, const OUString &rName, bool bEdit, bool bSheetProtected)
 
virtual ~ScNewScenarioDlg () override
 
void SetScenarioData (const OUString &rName, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags)
 
void GetScenarioData (OUString &rName, OUString &rComment, Color &rColor, ScScenarioFlags &rFlags) const
 
- 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

 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_LINK (EnableHdl, weld::Toggleable &, void)
 

Private Attributes

OUString aDefScenarioName
 
bool bIsEdit
 
std::unique_ptr< weld::Entrym_xEdName
 
std::unique_ptr< weld::TextViewm_xEdComment
 
std::unique_ptr< weld::CheckButtonm_xCbShowFrame
 
std::unique_ptr< ColorListBoxm_xLbColor
 
std::unique_ptr< weld::CheckButtonm_xCbTwoWay
 
std::unique_ptr< weld::CheckButtonm_xCbCopyAll
 
std::unique_ptr< weld::CheckButtonm_xCbProtect
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::Labelm_xAltTitle
 
std::unique_ptr< weld::Labelm_xCreatedFt
 
std::unique_ptr< weld::Labelm_xOnFt
 

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 28 of file scendlg.hxx.

Constructor & Destructor Documentation

◆ ScNewScenarioDlg()

ScNewScenarioDlg::ScNewScenarioDlg ( weld::Window pParent,
const OUString &  rName,
bool  bEdit,
bool  bSheetProtected 
)

Definition at line 37 of file scendlg.cxx.

References weld::GenericDialogController::m_xDialog.

◆ ~ScNewScenarioDlg()

ScNewScenarioDlg::~ScNewScenarioDlg ( )
overridevirtual

Definition at line 88 of file scendlg.cxx.

Member Function Documentation

◆ DECL_LINK() [1/2]

ScNewScenarioDlg::DECL_LINK ( EnableHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

ScNewScenarioDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ GetScenarioData()

void ScNewScenarioDlg::GetScenarioData ( OUString &  rName,
OUString &  rComment,
Color rColor,
ScScenarioFlags rFlags 
) const

◆ SetScenarioData()

void ScNewScenarioDlg::SetScenarioData ( const OUString &  rName,
const OUString &  rComment,
const Color rColor,
ScScenarioFlags  nFlags 
)

Member Data Documentation

◆ aDefScenarioName

OUString ScNewScenarioDlg::aDefScenarioName
private

Definition at line 40 of file scendlg.hxx.

Referenced by GetScenarioData().

◆ bIsEdit

bool ScNewScenarioDlg::bIsEdit
private

Definition at line 41 of file scendlg.hxx.

◆ m_xAltTitle

std::unique_ptr<weld::Label> ScNewScenarioDlg::m_xAltTitle
private

Definition at line 50 of file scendlg.hxx.

◆ m_xBtnOk

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

Definition at line 49 of file scendlg.hxx.

◆ m_xCbCopyAll

std::unique_ptr<weld::CheckButton> ScNewScenarioDlg::m_xCbCopyAll
private

Definition at line 47 of file scendlg.hxx.

Referenced by GetScenarioData().

◆ m_xCbProtect

std::unique_ptr<weld::CheckButton> ScNewScenarioDlg::m_xCbProtect
private

Definition at line 48 of file scendlg.hxx.

Referenced by GetScenarioData(), and SetScenarioData().

◆ m_xCbShowFrame

std::unique_ptr<weld::CheckButton> ScNewScenarioDlg::m_xCbShowFrame
private

Definition at line 44 of file scendlg.hxx.

Referenced by GetScenarioData(), and SetScenarioData().

◆ m_xCbTwoWay

std::unique_ptr<weld::CheckButton> ScNewScenarioDlg::m_xCbTwoWay
private

Definition at line 46 of file scendlg.hxx.

Referenced by GetScenarioData(), and SetScenarioData().

◆ m_xCreatedFt

std::unique_ptr<weld::Label> ScNewScenarioDlg::m_xCreatedFt
private

Definition at line 51 of file scendlg.hxx.

◆ m_xEdComment

std::unique_ptr<weld::TextView> ScNewScenarioDlg::m_xEdComment
private

Definition at line 43 of file scendlg.hxx.

Referenced by GetScenarioData(), and SetScenarioData().

◆ m_xEdName

std::unique_ptr<weld::Entry> ScNewScenarioDlg::m_xEdName
private

Definition at line 42 of file scendlg.hxx.

Referenced by GetScenarioData(), and SetScenarioData().

◆ m_xLbColor

std::unique_ptr<ColorListBox> ScNewScenarioDlg::m_xLbColor
private

Definition at line 45 of file scendlg.hxx.

Referenced by GetScenarioData(), and SetScenarioData().

◆ m_xOnFt

std::unique_ptr<weld::Label> ScNewScenarioDlg::m_xOnFt
private

Definition at line 52 of file scendlg.hxx.


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