LibreOffice Module desktop (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dp_gui::ExtBoxWithBtns_Impl Class Reference
Inheritance diagram for dp_gui::ExtBoxWithBtns_Impl:
[legend]
Collaboration diagram for dp_gui::ExtBoxWithBtns_Impl:
[legend]

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::DrawingAreaGetDrawingArea () 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
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (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
 
ExtMgrDialogm_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 ()
 

Detailed Description

Definition at line 84 of file dp_gui_dialog2.cxx.

Constructor & Destructor Documentation

◆ ExtBoxWithBtns_Impl()

dp_gui::ExtBoxWithBtns_Impl::ExtBoxWithBtns_Impl ( std::unique_ptr< weld::ScrolledWindow xScroll)
explicit

Definition at line 107 of file dp_gui_dialog2.cxx.

Member Function Documentation

◆ Command()

bool dp_gui::ExtBoxWithBtns_Impl::Command ( const CommandEvent rCEvt)
overridevirtual

◆ enableButtons()

void dp_gui::ExtBoxWithBtns_Impl::enableButtons ( bool  bEnable)

◆ InitFromDialog()

void dp_gui::ExtBoxWithBtns_Impl::InitFromDialog ( ExtMgrDialog pParentDialog)

◆ MouseButtonDown()

bool dp_gui::ExtBoxWithBtns_Impl::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

◆ RecalcAll()

void dp_gui::ExtBoxWithBtns_Impl::RecalcAll ( )
overridevirtual

◆ selectEntry()

void dp_gui::ExtBoxWithBtns_Impl::selectEntry ( const tools::Long  nPos)
overridevirtual

◆ SetButtonStatus()

void dp_gui::ExtBoxWithBtns_Impl::SetButtonStatus ( const TEntry_Impl rEntry)
private

◆ ShowPopupMenu()

OUString dp_gui::ExtBoxWithBtns_Impl::ShowPopupMenu ( const Point rPos,
const tools::Long  nPos 
)
private

Member Data Documentation

◆ m_bInterfaceLocked

bool dp_gui::ExtBoxWithBtns_Impl::m_bInterfaceLocked
private

Definition at line 86 of file dp_gui_dialog2.cxx.

Referenced by enableButtons(), and MouseButtonDown().

◆ m_pParent

ExtMgrDialog* dp_gui::ExtBoxWithBtns_Impl::m_pParent
private

Definition at line 88 of file dp_gui_dialog2.cxx.

Referenced by Command(), enableButtons(), InitFromDialog(), RecalcAll(), and SetButtonStatus().


The documentation for this class was generated from the following file: