|
LibreOffice Module sd (master) 1
|
dialog to adjust snap- lines and points More...
#include <dlgsnap.hxx>
Public Member Functions | |
| SdSnapLineDlg (weld::Window *pWindow, const SfxItemSet &rInAttrs, ::sd::View const *pView) | |
| dialog to adjust grid (scarcely ESO!) More... | |
| virtual | ~SdSnapLineDlg () override |
| void | GetAttr (SfxItemSet &rOutAttrs) |
| fills provided item sets with dialog box attributes More... | |
| void | HideRadioGroup () |
| void | HideDeleteBtn () |
| void | SetInputFields (bool bEnableX, bool bEnableY) |
| disable X or Y input fields More... | |
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 (ClickHdl, weld::Button &, void) | |
| DECL_LINK (ToggleHdl, weld::Toggleable &, void) | |
Private Attributes | |
| int | nXValue |
| int | nYValue |
| Fraction | aUIScale |
| std::unique_ptr< weld::Label > | m_xFtX |
| std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldX |
| std::unique_ptr< weld::Label > | m_xFtY |
| std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldY |
| std::unique_ptr< weld::Widget > | m_xRadioGroup |
| std::unique_ptr< weld::RadioButton > | m_xRbPoint |
| std::unique_ptr< weld::RadioButton > | m_xRbVert |
| std::unique_ptr< weld::RadioButton > | m_xRbHorz |
| std::unique_ptr< weld::Button > | m_xBtnDelete |
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 |
dialog to adjust snap- lines and points
Definition at line 35 of file dlgsnap.hxx.
| SdSnapLineDlg::SdSnapLineDlg | ( | weld::Window * | pWindow, |
| const SfxItemSet & | rInAttrs, | ||
| ::sd::View const * | pView | ||
| ) |
dialog to adjust grid (scarcely ESO!)
Definition at line 36 of file dlgsnap.cxx.
References aUIScale, tools::Rectangle::Bottom(), CM, DBG_ASSERT, SfxItemSet::Get(), sd::View::GetDoc(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SdrPaintView::GetSdrPageView(), SdrModel::GetUIUnit(), SdrDragView::GetWorkArea(), tools::Rectangle::Left(), LINK, OutputDevice::LogicToLogic(), SdrPageView::LogicToPagePos(), m_xBtnDelete, m_xMtrFldX, m_xMtrFldY, m_xRbHorz, m_xRbPoint, m_xRbVert, map, n1, n2, n3, n4, nXValue, nYValue, tools::Rectangle::Right(), SetFieldUnit(), SetMetricValue(), tools::Rectangle::Top(), value, Point::X(), and Point::Y().
|
overridevirtual |
Definition at line 101 of file dlgsnap.cxx.
|
private |
|
private |
| void SdSnapLineDlg::GetAttr | ( | SfxItemSet & | rOutAttrs | ) |
fills provided item sets with dialog box attributes
Definition at line 129 of file dlgsnap.cxx.
References aUIScale, GetCoreValue(), Horizontal, m_xMtrFldX, m_xMtrFldY, m_xRbHorz, m_xRbVert, nXValue, nYValue, Point, SfxItemSet::Put(), and Vertical.
|
inline |
Definition at line 62 of file dlgsnap.hxx.
References m_xBtnDelete.
| void SdSnapLineDlg::HideRadioGroup | ( | ) |
Definition at line 145 of file dlgsnap.cxx.
References m_xRadioGroup.
| void SdSnapLineDlg::SetInputFields | ( | bool | bEnableX, |
| bool | bEnableY | ||
| ) |
disable X or Y input fields
Definition at line 153 of file dlgsnap.cxx.
References m_xFtX, m_xFtY, m_xMtrFldX, m_xMtrFldY, nXValue, and nYValue.
|
private |
Definition at line 40 of file dlgsnap.hxx.
Referenced by GetAttr(), and SdSnapLineDlg().
|
private |
Definition at line 50 of file dlgsnap.hxx.
Referenced by HideDeleteBtn(), and SdSnapLineDlg().
|
private |
Definition at line 42 of file dlgsnap.hxx.
Referenced by SetInputFields().
|
private |
Definition at line 44 of file dlgsnap.hxx.
Referenced by SetInputFields().
|
private |
Definition at line 43 of file dlgsnap.hxx.
Referenced by GetAttr(), SdSnapLineDlg(), and SetInputFields().
|
private |
Definition at line 45 of file dlgsnap.hxx.
Referenced by GetAttr(), SdSnapLineDlg(), and SetInputFields().
|
private |
Definition at line 46 of file dlgsnap.hxx.
Referenced by HideRadioGroup().
|
private |
Definition at line 49 of file dlgsnap.hxx.
Referenced by GetAttr(), and SdSnapLineDlg().
|
private |
Definition at line 47 of file dlgsnap.hxx.
Referenced by SdSnapLineDlg().
|
private |
Definition at line 48 of file dlgsnap.hxx.
Referenced by GetAttr(), and SdSnapLineDlg().
|
private |
Definition at line 38 of file dlgsnap.hxx.
Referenced by GetAttr(), SdSnapLineDlg(), and SetInputFields().
|
private |
Definition at line 39 of file dlgsnap.hxx.
Referenced by GetAttr(), SdSnapLineDlg(), and SetInputFields().