LibreOffice Module svx (master)
1
|
#include <colrctrl.hxx>
Private Member Functions | |
void | FillValueSet () |
DECL_LINK (SelectHdl, ValueSet *, void) | |
virtual void | GetFocus () override |
This function is called when the window gets the focus. More... | |
virtual bool | Close () override |
Private Attributes | |
XColorListRef | pColorList |
std::unique_ptr< SvxColorValueSet_docking > | xColorSet |
std::unique_ptr< weld::CustomWeld > | xColorSetWin |
Friends | |
class | SvxColorChildWindow |
Additional Inherited Members | |
![]() | |
SfxChildAlignment | CalcAlignment (const Point &rPos, tools::Rectangle &rRect) |
virtual Size | CalcDockingSize (SfxChildAlignment) |
virtual SfxChildAlignment | CheckAlignment (SfxChildAlignment, SfxChildAlignment) |
virtual void | Resize () override |
virtual bool | PrepareToggleFloatingMode () override |
virtual void | ToggleFloatingMode () override |
virtual void | StartDocking () override |
virtual bool | Docking (const Point &rPos, tools::Rectangle &rRect) override |
virtual void | EndDocking (const tools::Rectangle &rRect, bool bFloatMode) override |
virtual void | Resizing (Size &rSize) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | Move () override |
SAL_DLLPRIVATE SfxChildWindow * | GetChildWindow_Impl () |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 69 of file colrctrl.hxx.
SvxColorDockingWindow::SvxColorDockingWindow | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pCW, | ||
vcl::Window * | pParent | ||
) |
Definition at line 181 of file colrctrl.cxx.
References FillValueSet(), SfxBindings::GetDispatcher(), SvxColorValueSet::getEntryEdgeLength(), SfxDispatcher::GetFrame(), SfxShell::GetItem(), SfxViewShell::GetObjectShell(), SfxShell::GetViewShell(), Size::Height(), HID_COLOR_CTL_COLORS, HID_CTRL_COLOR, LINK, pColorList, Size::setHeight(), Size::setWidth(), SfxListener::StartListening(), SvxResId(), Size::Width(), and xColorSet.
|
overridevirtual |
Definition at line 234 of file colrctrl.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 285 of file colrctrl.cxx.
References SfxDockingWindow::Close(), SfxDispatcher::ExecuteList(), SfxDockingWindow::GetBindings(), and SfxBindings::GetDispatcher().
Reimplemented from SfxDockingWindow.
Definition at line 239 of file colrctrl.cxx.
References SfxDockingWindow::dispose(), SfxListener::EndListening(), SfxDockingWindow::GetBindings(), xColorSet, and xColorSetWin.
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 405 of file colrctrl.cxx.
References SfxDockingWindow::EventNotify(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), NotifyEvent::GetKeyEvent(), NotifyEvent::GetType(), and KEY_ESCAPE.
|
private |
Definition at line 259 of file colrctrl.cxx.
References COL_BLACK, COL_WHITE, SvxColorValueSet::getEntryEdgeLength(), Size::Height(), pColorList, Point, SvxResId(), Size::Width(), and xColorSet.
Referenced by Notify(), and SvxColorDockingWindow().
|
overrideprivatevirtual |
This function is called when the window gets the focus.
It grabs the focus to the color value set so that it can be controlled with the keyboard.
Definition at line 394 of file colrctrl.cxx.
References xColorSet.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 247 of file colrctrl.cxx.
References FillValueSet(), SfxPoolItemHint::GetObject(), and pColorList.
|
friend |
Definition at line 71 of file colrctrl.hxx.
|
private |
Definition at line 74 of file colrctrl.hxx.
Referenced by FillValueSet(), Notify(), and SvxColorDockingWindow().
|
private |
Definition at line 75 of file colrctrl.hxx.
Referenced by dispose(), FillValueSet(), GetFocus(), and SvxColorDockingWindow().
|
private |
Definition at line 76 of file colrctrl.hxx.
Referenced by dispose().