LibreOffice Module sc (master)
1
|
#include <solveroptions.hxx>
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 () |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () 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::ComboBox > | m_xLbEngine |
std::unique_ptr< weld::TreeView > | m_xLbSettings |
std::unique_ptr< weld::Button > | m_xBtnEdit |
std::shared_ptr< ScSolverIntegerDialog > | m_xIntDialog |
std::shared_ptr< ScSolverValueDialog > | m_xValDialog |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 57 of file solveroptions.hxx.
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 | ||
) |
Definition at line 57 of file solveroptions.cxx.
References weld::Check, FillListBox(), LINK, m_xBtnEdit, m_xLbEngine, m_xLbSettings, maEngine, maImplNames, maProperties, maProperties, and ReadFromComponent().
|
overridevirtual |
Definition at line 111 of file solveroptions.cxx.
References m_xIntDialog, m_xValDialog, and RET_CANCEL.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 239 of file solveroptions.cxx.
References ScSolverOptionsString::GetDoubleValue(), ScSolverOptionsString::GetIntValue(), ScGlobal::getLocaleData(), LocaleDataWrapper::getNumDecimalSep(), ScSolverOptionsString::GetText(), ScSolverOptionsString::IsDouble(), weld::GenericDialogController::m_xDialog, m_xIntDialog, m_xLbSettings, m_xValDialog, maProperties, Name, RET_OK, weld::DialogController::runAsync(), ScSolverOptionsString::SetDoubleValue(), and ScSolverOptionsString::SetIntValue().
|
private |
Definition at line 151 of file solveroptions.cxx.
References aPropName, ScUnoHelpFunctions::GetBoolFromAny(), ScGlobal::getLocaleData(), ScSolverUtil::GetSolver(), m_aOptions, m_xLbSettings, maEngine, maProperties, Name, nCount, nPos, weld::toId(), TRISTATE_FALSE, TRISTATE_TRUE, and uno::Any::Value.
Referenced by ScSolverOptionsDialog().
|
inline |
Definition at line 90 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, TRISTATE_TRUE, and uno::Any::Value.
|
private |
Definition at line 234 of file solveroptions.cxx.
References ScSolverUtil::GetDefaults(), maEngine, and maProperties.
Referenced by ScSolverOptionsDialog().
|
private |
Definition at line 63 of file solveroptions.hxx.
Referenced by FillListBox().
|
private |
Definition at line 67 of file solveroptions.hxx.
Referenced by ScSolverOptionsDialog().
|
private |
Definition at line 69 of file solveroptions.hxx.
Referenced by EditOption(), and ~ScSolverOptionsDialog().
|
private |
Definition at line 65 of file solveroptions.hxx.
Referenced by ScSolverOptionsDialog().
|
private |
Definition at line 66 of file solveroptions.hxx.
Referenced by EditOption(), FillListBox(), GetProperties(), and ScSolverOptionsDialog().
|
private |
Definition at line 70 of file solveroptions.hxx.
Referenced by EditOption(), and ~ScSolverOptionsDialog().
|
private |
Definition at line 60 of file solveroptions.hxx.
Referenced by FillListBox(), GetEngine(), ReadFromComponent(), and ScSolverOptionsDialog().
|
private |
Definition at line 59 of file solveroptions.hxx.
Referenced by ScSolverOptionsDialog().
|
private |
Definition at line 61 of file solveroptions.hxx.
Referenced by EditOption(), FillListBox(), GetProperties(), ReadFromComponent(), and ScSolverOptionsDialog().