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

#include <solveroptions.hxx>

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

Public Member Functions

 ScSolverOptionsDialog (weld::Window *pParent, const css::uno::Sequence< OUString > &rImplNames, const css::uno::Sequence< OUString > &rDescriptions, OUString aEngine, const css::uno::Sequence< css::beans::PropertyValue > &rProperties)
 
virtual ~ScSolverOptionsDialog () override
 
const OUString & GetEngine () const
 
const css::uno::Sequence< css::beans::PropertyValue > & GetProperties ()
 
- 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 (EngineSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (SettingsSelHdl, weld::TreeView &, void)
 
 DECL_LINK (SettingsDoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
void ReadFromComponent ()
 
void FillListBox ()
 
void EditOption ()
 

Private Attributes

css::uno::Sequence< OUString > maImplNames
 
OUString maEngine
 
css::uno::Sequence< css::beans::PropertyValue > maProperties
 
std::vector< std::unique_ptr< ScSolverOptionsString > > m_aOptions
 
std::unique_ptr< weld::ComboBoxm_xLbEngine
 
std::unique_ptr< weld::TreeViewm_xLbSettings
 
std::unique_ptr< weld::Buttonm_xBtnEdit
 
std::shared_ptr< ScSolverIntegerDialogm_xIntDialog
 
std::shared_ptr< ScSolverValueDialogm_xValDialog
 

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 58 of file solveroptions.hxx.

Constructor & Destructor Documentation

◆ ScSolverOptionsDialog()

ScSolverOptionsDialog::ScSolverOptionsDialog ( weld::Window pParent,
const css::uno::Sequence< OUString > &  rImplNames,
const css::uno::Sequence< OUString > &  rDescriptions,
OUString  aEngine,
const css::uno::Sequence< css::beans::PropertyValue > &  rProperties 
)

◆ ~ScSolverOptionsDialog()

ScSolverOptionsDialog::~ScSolverOptionsDialog ( )
overridevirtual

Definition at line 112 of file solveroptions.cxx.

References m_xIntDialog, m_xValDialog, and RET_CANCEL.

Member Function Documentation

◆ DECL_LINK() [1/4]

ScSolverOptionsDialog::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

ScSolverOptionsDialog::DECL_LINK ( EngineSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/4]

ScSolverOptionsDialog::DECL_LINK ( SettingsDoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/4]

ScSolverOptionsDialog::DECL_LINK ( SettingsSelHdl  ,
weld::TreeView ,
void   
)
private

◆ EditOption()

void ScSolverOptionsDialog::EditOption ( )
private

◆ FillListBox()

void ScSolverOptionsDialog::FillListBox ( )
private

◆ GetEngine()

const OUString & ScSolverOptionsDialog::GetEngine ( ) const
inline

Definition at line 91 of file solveroptions.hxx.

References maEngine.

◆ GetProperties()

const uno::Sequence< beans::PropertyValue > & ScSolverOptionsDialog::GetProperties ( )

Definition at line 122 of file solveroptions.cxx.

References m_xLbSettings, maProperties, TRISTATE_TRUE, and uno::Any::Value.

◆ ReadFromComponent()

void ScSolverOptionsDialog::ReadFromComponent ( )
private

Definition at line 235 of file solveroptions.cxx.

References ScSolverUtil::GetDefaults(), maEngine, and maProperties.

Referenced by ScSolverOptionsDialog().

Member Data Documentation

◆ m_aOptions

std::vector<std::unique_ptr<ScSolverOptionsString> > ScSolverOptionsDialog::m_aOptions
private

Definition at line 64 of file solveroptions.hxx.

Referenced by FillListBox().

◆ m_xBtnEdit

std::unique_ptr<weld::Button> ScSolverOptionsDialog::m_xBtnEdit
private

Definition at line 68 of file solveroptions.hxx.

Referenced by ScSolverOptionsDialog().

◆ m_xIntDialog

std::shared_ptr<ScSolverIntegerDialog> ScSolverOptionsDialog::m_xIntDialog
private

Definition at line 70 of file solveroptions.hxx.

Referenced by EditOption(), and ~ScSolverOptionsDialog().

◆ m_xLbEngine

std::unique_ptr<weld::ComboBox> ScSolverOptionsDialog::m_xLbEngine
private

Definition at line 66 of file solveroptions.hxx.

Referenced by ScSolverOptionsDialog().

◆ m_xLbSettings

std::unique_ptr<weld::TreeView> ScSolverOptionsDialog::m_xLbSettings
private

Definition at line 67 of file solveroptions.hxx.

Referenced by EditOption(), FillListBox(), GetProperties(), and ScSolverOptionsDialog().

◆ m_xValDialog

std::shared_ptr<ScSolverValueDialog> ScSolverOptionsDialog::m_xValDialog
private

Definition at line 71 of file solveroptions.hxx.

Referenced by EditOption(), and ~ScSolverOptionsDialog().

◆ maEngine

OUString ScSolverOptionsDialog::maEngine
private

Definition at line 61 of file solveroptions.hxx.

Referenced by FillListBox(), GetEngine(), ReadFromComponent(), and ScSolverOptionsDialog().

◆ maImplNames

css::uno::Sequence<OUString> ScSolverOptionsDialog::maImplNames
private

Definition at line 60 of file solveroptions.hxx.

Referenced by ScSolverOptionsDialog().

◆ maProperties

css::uno::Sequence<css::beans::PropertyValue> ScSolverOptionsDialog::maProperties
private

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