LibreOffice Module starmath (master) 1
|
#include <dialog.hxx>
Public Member Functions | |
SmDistanceDialog (weld::Window *pParent) | |
virtual | ~SmDistanceDialog () override |
void | ReadFrom (const SmFormat &rFormat) |
void | WriteTo (SmFormat &rFormat) |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 (GetFocusHdl, weld::Widget &, void) | |
DECL_LINK (MenuSelectHdl, const OUString &, void) | |
DECL_LINK (DefaultButtonClickHdl, weld::Button &, void) | |
DECL_LINK (CheckBoxClickHdl, weld::Toggleable &, void) | |
void | SetCategory (sal_uInt16 Category) |
Private Attributes | |
std::unique_ptr< weld::Frame > | m_xFrame |
std::unique_ptr< weld::Label > | m_xFixedText1 |
std::unique_ptr< weld::MetricSpinButton > | m_xMetricField1 |
std::unique_ptr< weld::Label > | m_xFixedText2 |
std::unique_ptr< weld::MetricSpinButton > | m_xMetricField2 |
std::unique_ptr< weld::Label > | m_xFixedText3 |
std::unique_ptr< weld::MetricSpinButton > | m_xMetricField3 |
std::unique_ptr< weld::CheckButton > | m_xCheckBox1 |
std::unique_ptr< weld::Label > | m_xFixedText4 |
std::unique_ptr< weld::MetricSpinButton > | m_xMetricField4 |
std::unique_ptr< weld::MenuButton > | m_xMenuButton |
std::unique_ptr< weld::Button > | m_xDefaultButton |
std::unique_ptr< weld::Widget > | m_xBitmap |
weld::Widget * | m_pCurrentImage |
std::unique_ptr< SmCategoryDesc > | m_xCategories [NOCATEGORIES] |
sal_uInt16 | nActiveCategory |
bool | bScaleAllBrackets |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 185 of file dialog.hxx.
SmDistanceDialog::SmDistanceDialog | ( | weld::Window * | pParent | ) |
Definition at line 783 of file dialog.cxx.
References bScaleAllBrackets, CATEGORY_NONE, CM, get(), i, LINK, weld::GenericDialogController::m_xBuilder, m_xCategories, m_xCheckBox1, m_xDefaultButton, weld::GenericDialogController::m_xDialog, m_xFrame, m_xMenuButton, m_xMetricField1, m_xMetricField2, m_xMetricField3, m_xMetricField4, nActiveCategory, and NOCATEGORIES.
|
overridevirtual |
Definition at line 817 of file dialog.cxx.
|
private |
|
private |
|
private |
|
private |
void SmDistanceDialog::ReadFrom | ( | const SmFormat & | rFormat | ) |
Definition at line 821 of file dialog.cxx.
References bScaleAllBrackets, CATEGORY_NONE, DIS_BOTTOMSPACE, DIS_BRACKETSIZE, DIS_BRACKETSPACE, DIS_DENOMINATOR, DIS_FRACTION, DIS_HORIZONTAL, DIS_LEFTSPACE, DIS_LOWERLIMIT, DIS_MATRIXCOL, DIS_MATRIXROW, DIS_NORMALBRACKETSIZE, DIS_NUMERATOR, DIS_OPERATORSIZE, DIS_OPERATORSPACE, DIS_ORNAMENTSIZE, DIS_ORNAMENTSPACE, DIS_RIGHTSPACE, DIS_ROOT, DIS_STROKEWIDTH, DIS_SUBSCRIPT, DIS_SUPERSCRIPT, DIS_TOPSPACE, DIS_UPPERLIMIT, DIS_VERTICAL, SmFormat::GetDistance(), SmFormat::IsScaleNormalBrackets(), m_xCategories, nActiveCategory, and SetCategory().
Referenced by SmDocShell::Execute().
|
private |
Definition at line 670 of file dialog.cxx.
References bScaleAllBrackets, CATEGORY_NONE, EMPTY, SmCategoryDesc::GetMaximum(), SmCategoryDesc::GetMinimum(), GetName(), SmCategoryDesc::GetString(), SmCategoryDesc::GetValue(), HID_SMA_ATTRIBUT_DIST, HID_SMA_BRACKET_DIST, HID_SMA_BRACKET_EXCHEIGHT, HID_SMA_BRACKET_EXCHEIGHT2, HID_SMA_DEFAULT_DIST, HID_SMA_DENOMINATOR_DIST, HID_SMA_FRACLINE_EXCWIDTH, HID_SMA_FRACLINE_LINEWIDTH, HID_SMA_INTERATTRIBUT_DIST, HID_SMA_LEFTBORDER_DIST, HID_SMA_LINE_DIST, HID_SMA_LOWERBORDER_DIST, HID_SMA_LOWERLIMIT_DIST, HID_SMA_MATRIXCOL_DIST, HID_SMA_MATRIXROW_DIST, HID_SMA_NUMERATOR_DIST, HID_SMA_OPERATOR_DIST, HID_SMA_OPERATOR_EXCHEIGHT, HID_SMA_RIGHTBORDER_DIST, HID_SMA_ROOT_DIST, HID_SMA_SUB_DIST, HID_SMA_SUP_DIST, HID_SMA_UPPERBORDER_DIST, HID_SMA_UPPERLIMIT_DIST, i, m_xCategories, m_xCheckBox1, m_xFixedText1, m_xFixedText2, m_xFixedText3, m_xFixedText4, m_xFrame, m_xMenuButton, m_xMetricField1, m_xMetricField2, m_xMetricField3, m_xMetricField4, nActiveCategory, NOCATEGORIES, weld::MetricSpinButton::set_digits(), weld::MetricSpinButton::set_help_id(), weld::Label::set_label(), weld::MetricSpinButton::set_range(), weld::MetricSpinButton::set_sensitive(), weld::Widget::set_sensitive(), weld::MetricSpinButton::set_unit(), weld::MetricSpinButton::set_value(), weld::MetricSpinButton::set_visible(), weld::Widget::set_visible(), SmCategoryDesc::SetValue(), and u.
Referenced by ReadFrom(), and WriteTo().
void SmDistanceDialog::WriteTo | ( | SmFormat & | rFormat | ) |
Definition at line 857 of file dialog.cxx.
References bScaleAllBrackets, DIS_BOTTOMSPACE, DIS_BRACKETSIZE, DIS_BRACKETSPACE, DIS_DENOMINATOR, DIS_FRACTION, DIS_HORIZONTAL, DIS_LEFTSPACE, DIS_LOWERLIMIT, DIS_MATRIXCOL, DIS_MATRIXROW, DIS_NORMALBRACKETSIZE, DIS_NUMERATOR, DIS_OPERATORSIZE, DIS_OPERATORSPACE, DIS_ORNAMENTSIZE, DIS_ORNAMENTSPACE, DIS_RIGHTSPACE, DIS_ROOT, DIS_STROKEWIDTH, DIS_SUBSCRIPT, DIS_SUPERSCRIPT, DIS_TOPSPACE, DIS_UPPERLIMIT, DIS_VERTICAL, GetValue, m_xCategories, nActiveCategory, SmFormat::RequestApplyChanges(), SetCategory(), SmFormat::SetDistance(), and SmFormat::SetScaleNormalBrackets().
Referenced by SmDocShell::Execute().
|
private |
Definition at line 205 of file dialog.hxx.
Referenced by ReadFrom(), SetCategory(), SmDistanceDialog(), and WriteTo().
|
private |
Definition at line 201 of file dialog.hxx.
|
private |
Definition at line 199 of file dialog.hxx.
|
private |
Definition at line 203 of file dialog.hxx.
Referenced by ReadFrom(), SetCategory(), SmDistanceDialog(), and WriteTo().
|
private |
Definition at line 194 of file dialog.hxx.
Referenced by SetCategory(), and SmDistanceDialog().
|
private |
Definition at line 198 of file dialog.hxx.
Referenced by SmDistanceDialog().
|
private |
Definition at line 188 of file dialog.hxx.
Referenced by SetCategory().
|
private |
Definition at line 190 of file dialog.hxx.
Referenced by SetCategory().
|
private |
Definition at line 192 of file dialog.hxx.
Referenced by SetCategory().
|
private |
Definition at line 195 of file dialog.hxx.
Referenced by SetCategory().
|
private |
Definition at line 187 of file dialog.hxx.
Referenced by SetCategory().
|
private |
Definition at line 197 of file dialog.hxx.
Referenced by SetCategory(), and SmDistanceDialog().
|
private |
Definition at line 189 of file dialog.hxx.
Referenced by SetCategory(), and SmDistanceDialog().
|
private |
Definition at line 191 of file dialog.hxx.
Referenced by SetCategory(), and SmDistanceDialog().
|
private |
Definition at line 193 of file dialog.hxx.
Referenced by SetCategory(), and SmDistanceDialog().
|
private |
Definition at line 196 of file dialog.hxx.
Referenced by SetCategory(), and SmDistanceDialog().
|
private |
Definition at line 204 of file dialog.hxx.
Referenced by ReadFrom(), SetCategory(), SmDistanceDialog(), and WriteTo().