#include <optiondlg.hxx>


Public Member Functions | |
| OptionDialog (SolverImpl *p) | |
| virtual | ~OptionDialog () throw () |
| virtual bool | doneRangeSelection () const |
| virtual void | close () |
| virtual const rtl::OUString | getDialogName () const |
| virtual void | setVisible (bool b) |
| OptModelType | getModelType () const |
| void | setModelType (OptModelType type) |
| bool | isVarPositive () const |
| void | setVarPositive (bool b) |
| bool | isVarInteger () const |
| void | setVarInteger (bool b) |
Private Member Functions | |
| void | initialize () |
| void | registerListeners () |
| void | unregisterListeners () throw () |
Private Attributes | |
| ::std::auto_ptr < OptionDialogImpl > | m_pImpl |
Definition at line 43 of file optiondlg.hxx.
| scsolver::OptionDialog::OptionDialog | ( | SolverImpl * | p | ) |
| scsolver::OptionDialog::~OptionDialog | ( | ) | throw () [virtual] |
Definition at line 107 of file optiondlg.cxx.
| bool scsolver::OptionDialog::doneRangeSelection | ( | ) | const [virtual] |
This method is called when a range selection is finished. If the dialog does not contain a range selection widget pair, just leave this method empty.
Implements scsolver::BaseDialog.
Definition at line 165 of file optiondlg.cxx.
| void scsolver::OptionDialog::close | ( | ) | [virtual] |
Implements scsolver::BaseDialog.
Definition at line 170 of file optiondlg.cxx.
References setVisible().
| const rtl::OUString scsolver::OptionDialog::getDialogName | ( | ) | const [virtual] |
Must return a unique name that identifies its dialog type. Should be deprecated and its use in a nested-if or switch statement is discouraged because it is not very elegant and non-safe.
Implements scsolver::BaseDialog.
Definition at line 175 of file optiondlg.cxx.
References scsolver::ascii().
| void scsolver::OptionDialog::setVisible | ( | bool | b | ) | [virtual] |
Implements scsolver::BaseDialog.
Definition at line 180 of file optiondlg.cxx.
References scsolver::BaseDialog::setVisibleDefault().
Referenced by scsolver::OptionBtnListener::actionPerformed(), close(), scsolver::SolverDialog::close(), and scsolver::OptionDlgOKAction::execute().
| OptModelType scsolver::OptionDialog::getModelType | ( | ) | const |
Definition at line 185 of file optiondlg.cxx.
References scsolver::ascii(), scsolver::BaseDialog::getWidgetByName(), scsolver::OPTMODELTYPE_LP, and scsolver::OPTMODELTYPE_NLP.
Referenced by scsolver::OptionDlgOKAction::execute().
| void scsolver::OptionDialog::setModelType | ( | OptModelType | type | ) |
Definition at line 193 of file optiondlg.cxx.
References scsolver::ascii(), scsolver::BaseDialog::getWidgetByName(), scsolver::OPTMODELTYPE_LP, and scsolver::OPTMODELTYPE_MILP.
Referenced by scsolver::OptionBtnListener::actionPerformed().
| bool scsolver::OptionDialog::isVarPositive | ( | ) | const |
Definition at line 203 of file optiondlg.cxx.
References scsolver::ascii(), and scsolver::BaseDialog::getWidgetByName().
Referenced by scsolver::OptionDlgOKAction::execute().
| void scsolver::OptionDialog::setVarPositive | ( | bool | b | ) |
Definition at line 210 of file optiondlg.cxx.
References scsolver::ascii(), and scsolver::BaseDialog::getWidgetByName().
| bool scsolver::OptionDialog::isVarInteger | ( | ) | const |
Definition at line 217 of file optiondlg.cxx.
References scsolver::ascii(), and scsolver::BaseDialog::getWidgetByName().
Referenced by scsolver::OptionDlgOKAction::execute().
| void scsolver::OptionDialog::setVarInteger | ( | bool | b | ) |
Definition at line 224 of file optiondlg.cxx.
References scsolver::ascii(), and scsolver::BaseDialog::getWidgetByName().
| void scsolver::OptionDialog::initialize | ( | ) | [private] |
Definition at line 111 of file optiondlg.cxx.
References scsolver::BaseDialog::addButton(), scsolver::BaseDialog::addCheckBox(), scsolver::BaseDialog::addFixedLine(), scsolver::ascii(), scsolver::BaseDialog::getResStr(), scsolver::BaseDialog::initializeDefault(), and registerListeners().
Referenced by OptionDialog().
| void scsolver::OptionDialog::registerListeners | ( | ) | [private] |
Definition at line 143 of file optiondlg.cxx.
References scsolver::ascii(), m_pImpl, and scsolver::BaseDialog::registerListener().
Referenced by initialize().
| void scsolver::OptionDialog::unregisterListeners | ( | ) | throw () [private] |
Definition at line 158 of file optiondlg.cxx.
References scsolver::ascii(), m_pImpl, and scsolver::BaseDialog::unregisterListener().
::std::auto_ptr<OptionDialogImpl> scsolver::OptionDialog::m_pImpl [private] |
Reimplemented from scsolver::BaseDialog.
Definition at line 86 of file optiondlg.hxx.
Referenced by registerListeners(), and unregisterListeners().
1.5.3