LibreOffice Module desktop (master) 1
|
Public Member Functions | |
ExtBoxWithBtns_Impl (std::unique_ptr< weld::ScrolledWindow > xScroll) | |
void | InitFromDialog (ExtMgrDialog *pParentDialog) |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual bool | Command (const CommandEvent &rCEvt) override |
virtual void | RecalcAll () override |
virtual void | selectEntry (const tools::Long nPos) override |
void | enableButtons (bool bEnable) |
Public Member Functions inherited from dp_gui::ExtensionBox_Impl | |
ExtensionBox_Impl (std::unique_ptr< weld::ScrolledWindow > xScroll) | |
virtual | ~ExtensionBox_Impl () override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual bool | MouseMove (const MouseEvent &rMEvt) override |
virtual bool | KeyInput (const KeyEvent &rKEvt) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rPaintRect) override |
virtual void | Resize () override |
virtual OUString | RequestHelp (tools::Rectangle &rRect) override |
virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) override |
TEntry_Impl const & | GetEntryData (tools::Long nPos) |
tools::Long | GetEntryCount () const |
tools::Rectangle | GetEntryRect (const tools::Long nPos) const |
bool | HasActive () const |
tools::Long | PointToPos (const Point &rPos) |
virtual void | RecalcAll () |
void | RemoveUnlocked () |
virtual void | selectEntry (const tools::Long nPos) |
void | addEntry (const css::uno::Reference< css::deployment::XPackage > &xPackage, bool bLicenseMissing=false) |
void | updateEntry (const css::uno::Reference< css::deployment::XPackage > &xPackage) |
void | removeEntry (const css::uno::Reference< css::deployment::XPackage > &xPackage) |
void | prepareChecking () |
void | checkEntries () |
void | setExtensionManager (TheExtensionManager *pManager) |
sal_Int32 | getItemCount () const |
sal_Int32 | getSelIndex () const |
Public Member Functions inherited from weld::CustomWidgetController | |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0 |
virtual void | Resize () |
virtual bool | MouseButtonDown (const MouseEvent &) |
virtual bool | MouseMove (const MouseEvent &) |
virtual bool | MouseButtonUp (const MouseEvent &) |
virtual void | GetFocus () |
virtual void | LoseFocus () |
virtual void | StyleUpdated () |
virtual bool | Command (const CommandEvent &) |
virtual bool | KeyInput (const KeyEvent &) |
virtual tools::Rectangle | GetFocusRect () |
virtual FactoryFunction | GetUITestFactory () const |
virtual OUString | RequestHelp (tools::Rectangle &) |
virtual OUString | GetHelpText () const |
Size const & | GetOutputSizePixel () const |
void | SetOutputSizePixel (const Size &rSize) |
virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) |
weld::DrawingArea * | GetDrawingArea () const |
void | Invalidate () |
void | Invalidate (const tools::Rectangle &rRect) |
virtual void | Show () |
virtual void | Hide () |
void | SetCursor (void *pData) |
void | GrabFocus () |
bool | HasFocus () const |
bool | HasChildFocus () const |
bool | IsVisible () const |
bool | IsReallyVisible () const |
bool | IsEnabled () const |
void | Enable () const |
void | Disable () const |
bool | IsActive () const |
int | GetTextHeight () const |
int | GetTextWidth (const OUString &rText) const |
OUString | GetAccessibleName () const |
OUString | GetAccessibleDescription () const |
void | CaptureMouse () |
bool | IsMouseCaptured () const |
Point | GetPointerPosPixel () const |
void | EnableRTL (bool bEnable) |
bool | IsRTLEnabled () const |
void | ReleaseMouse () |
void | SetPointer (PointerStyle ePointerStyle) |
void | SetHelpId (const OUString &rHelpId) |
void | SetAccessibleName (const OUString &rName) |
void | SetInputContext (const InputContext &rInputContext) |
void | SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth) |
virtual int | GetSurroundingText (OUString &) |
virtual bool | DeleteSurroundingText (const Selection &) |
css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () const |
void | SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants) |
virtual bool | StartDrag () |
void | set_size_request (int nWidth, int nHeight) |
void | queue_resize () |
CustomWidgetController () | |
virtual | ~CustomWidgetController () |
CustomWidgetController (CustomWidgetController const &)=default | |
CustomWidgetController (CustomWidgetController &&)=default | |
CustomWidgetController & | operator= (CustomWidgetController const &)=default |
CustomWidgetController & | operator= (CustomWidgetController &&)=default |
Private Member Functions | |
void | SetButtonStatus (const TEntry_Impl &rEntry) |
OUString | ShowPopupMenu (const Point &rPos, const tools::Long nPos) |
Private Attributes | |
bool | m_bInterfaceLocked |
ExtMgrDialog * | m_pParent |
Additional Inherited Members | |
Public Types inherited from dp_gui::ExtensionBox_Impl | |
enum | { ENTRY_NOTFOUND = -1 } |
Static Public Member Functions inherited from weld::CustomWidgetController | |
static bool | IsUpdateMode () |
Definition at line 84 of file dp_gui_dialog2.cxx.
|
explicit |
Definition at line 107 of file dp_gui_dialog2.cxx.
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Definition at line 196 of file dp_gui_dialog2.cxx.
References weld::CustomWidgetController::Command(), dp_gui::DialogHelper::decBusy(), dp_gui::ExtMgrDialog::enablePackage(), CommandEvent::GetCommand(), weld::GenericDialogController::getDialog(), dp_gui::ExtensionBox_Impl::GetEntryData(), CommandEvent::GetMousePosPixel(), dp_gui::DialogHelper::incBusy(), m_pParent, m_xPackage, nPos, dp_gui::ExtensionBox_Impl::PointToPos(), dp_gui::ExtMgrDialog::removePackage(), weld::DialogController::run(), ShowPopupMenu(), and dp_gui::ExtMgrDialog::updatePackage().
void dp_gui::ExtBoxWithBtns_Impl::enableButtons | ( | bool | bEnable | ) |
Definition at line 264 of file dp_gui_dialog2.cxx.
References dp_gui::ExtMgrDialog::enableEnableButton(), dp_gui::ExtMgrDialog::enableOptionsButton(), dp_gui::ExtMgrDialog::enableRemoveButton(), dp_gui::ExtensionBox_Impl::ENTRY_NOTFOUND, dp_gui::ExtensionBox_Impl::GetEntryData(), dp_gui::ExtensionBox_Impl::getSelIndex(), m_bInterfaceLocked, m_pParent, nIndex, and SetButtonStatus().
void dp_gui::ExtBoxWithBtns_Impl::InitFromDialog | ( | ExtMgrDialog * | pParentDialog | ) |
Definition at line 114 of file dp_gui_dialog2.cxx.
References dp_gui::ExtMgrDialog::getExtensionManager(), m_pParent, and dp_gui::ExtensionBox_Impl::setExtensionManager().
|
overridevirtual |
Reimplemented from dp_gui::ExtensionBox_Impl.
Definition at line 257 of file dp_gui_dialog2.cxx.
References m_bInterfaceLocked, and dp_gui::ExtensionBox_Impl::MouseButtonDown().
|
overridevirtual |
Reimplemented from dp_gui::ExtensionBox_Impl.
Definition at line 121 of file dp_gui_dialog2.cxx.
References dp_gui::ExtMgrDialog::enableEnableButton(), dp_gui::ExtMgrDialog::enableOptionsButton(), dp_gui::ExtMgrDialog::enableRemoveButton(), dp_gui::ExtensionBox_Impl::ENTRY_NOTFOUND, dp_gui::ExtensionBox_Impl::GetEntryData(), dp_gui::ExtensionBox_Impl::getSelIndex(), m_pParent, dp_gui::ExtensionBox_Impl::RecalcAll(), and SetButtonStatus().
|
overridevirtual |
Reimplemented from dp_gui::ExtensionBox_Impl.
Definition at line 141 of file dp_gui_dialog2.cxx.
References dp_gui::ExtensionBox_Impl::getSelIndex(), dp_gui::ExtensionBox_Impl::HasActive(), nPos, and dp_gui::ExtensionBox_Impl::selectEntry().
|
private |
Definition at line 149 of file dp_gui_dialog2.cxx.
References dp_gui::ExtMgrDialog::enableButtontoEnable(), dp_gui::ExtMgrDialog::enableEnableButton(), dp_gui::ExtMgrDialog::enableOptionsButton(), dp_gui::ExtMgrDialog::enableRemoveButton(), m_pParent, dp_gui::NOT_AVAILABLE, and dp_gui::REGISTERED.
Referenced by enableButtons(), and RecalcAll().
|
private |
Definition at line 224 of file dp_gui_dialog2.cxx.
References Application::CreateBuilder(), DpResId(), weld::CustomWidgetController::GetDrawingArea(), dp_gui::ExtensionBox_Impl::GetEntryData(), dp_gui::ExtensionBox_Impl::getItemCount(), dp_gui::NOT_AVAILABLE, nPos, and dp_gui::REGISTERED.
Referenced by Command().
|
private |
Definition at line 86 of file dp_gui_dialog2.cxx.
Referenced by enableButtons(), and MouseButtonDown().
|
private |
Definition at line 88 of file dp_gui_dialog2.cxx.
Referenced by Command(), enableButtons(), InitFromDialog(), RecalcAll(), and SetButtonStatus().