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, const OUString &rEngine, 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 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

 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 ( weld::Window pParent,
const css::uno::Sequence< OUString > &  rImplNames,
const css::uno::Sequence< OUString > &  rDescriptions,
const OUString &  rEngine,
const css::uno::Sequence< css::beans::PropertyValue > &  rProperties 
)
ScSolverOptionsDialog::~ScSolverOptionsDialog ( )
overridevirtual

Definition at line 111 of file solveroptions.cxx.

References assert(), m_xIntDialog, m_xValDialog, and RET_CANCEL.

Member Function Documentation

ScSolverOptionsDialog::DECL_LINK ( EngineSelectHdl  ,
weld::ComboBox ,
void   
)
private
ScSolverOptionsDialog::DECL_LINK ( SettingsSelHdl  ,
weld::TreeView ,
void   
)
private
ScSolverOptionsDialog::DECL_LINK ( SettingsDoubleClickHdl  ,
weld::TreeView ,
bool   
)
private
ScSolverOptionsDialog::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private
void ScSolverOptionsDialog::EditOption ( )
private
void ScSolverOptionsDialog::FillListBox ( )
private
const OUString& ScSolverOptionsDialog::GetEngine ( ) const
inline

Definition at line 91 of file solveroptions.hxx.

References maEngine.

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

Definition at line 121 of file solveroptions.cxx.

References m_xLbSettings, maProperties, rValue, and TRISTATE_TRUE.

void ScSolverOptionsDialog::ReadFromComponent ( )
private

Definition at line 233 of file solveroptions.cxx.

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

Referenced by ScSolverOptionsDialog().

Member Data Documentation

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

Definition at line 64 of file solveroptions.hxx.

Referenced by FillListBox().

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

Definition at line 68 of file solveroptions.hxx.

Referenced by ScSolverOptionsDialog().

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

Definition at line 70 of file solveroptions.hxx.

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

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

Definition at line 66 of file solveroptions.hxx.

Referenced by ScSolverOptionsDialog().

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

Definition at line 67 of file solveroptions.hxx.

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

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

Definition at line 71 of file solveroptions.hxx.

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

OUString ScSolverOptionsDialog::maEngine
private

Definition at line 61 of file solveroptions.hxx.

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

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

Definition at line 60 of file solveroptions.hxx.

Referenced by ScSolverOptionsDialog().

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

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