LibreOffice Module starmath (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SmShowSymbolSet Class Referencefinal

#include <dialog.hxx>

Inheritance diagram for SmShowSymbolSet:
[legend]
Collaboration diagram for SmShowSymbolSet:
[legend]

Public Member Functions

 SmShowSymbolSet (std::unique_ptr< weld::ScrolledWindow > pScrolledWindow)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
void calccols (const vcl::RenderContext &rRenderContext)
 
void SelectSymbol (sal_uInt16 nSymbol)
 
sal_uInt16 GetSelectSymbol () const
 
void SetSymbolSet (const SymbolPtrVec_t &rSymbolSet)
 
void SetSelectHdl (const Link< SmShowSymbolSet &, void > &rLink)
 
void SetDblClickHdl (const Link< SmShowSymbolSet &, void > &rLink)
 
- 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 SetScrollBarRange ()
 
Point OffsetPoint (const Point &rPoint) const
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual void Resize () override
 
 DECL_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 

Private Attributes

Size m_aOldSize
 
SymbolPtrVec_t aSymbolSet
 
Link< SmShowSymbolSet &, void > aSelectHdlLink
 
Link< SmShowSymbolSet &, void > aDblClickHdlLink
 
tools::Long nLen
 
sal_Int32 nRows
 
sal_Int32 nColumns
 
tools::Long nXOffset
 
tools::Long nYOffset
 
sal_uInt16 nSelectSymbol
 
std::unique_ptr< weld::ScrolledWindowm_xScrolledWindow
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 

Detailed Description

Definition at line 244 of file dialog.hxx.

Constructor & Destructor Documentation

◆ SmShowSymbolSet()

SmShowSymbolSet::SmShowSymbolSet ( std::unique_ptr< weld::ScrolledWindow pScrolledWindow)

Definition at line 947 of file dialog.cxx.

References LINK, and m_xScrolledWindow.

Member Function Documentation

◆ calccols()

void SmShowSymbolSet::calccols ( const vcl::RenderContext rRenderContext)

◆ DECL_LINK()

SmShowSymbolSet::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private

◆ GetSelectSymbol()

sal_uInt16 SmShowSymbolSet::GetSelectSymbol ( ) const
inline

Definition at line 281 of file dialog.hxx.

References nSelectSymbol.

◆ KeyInput()

bool SmShowSymbolSet::KeyInput ( const KeyEvent rKEvt)
overrideprivatevirtual

◆ MouseButtonDown()

bool SmShowSymbolSet::MouseButtonDown ( const MouseEvent rMEvt)
overrideprivatevirtual

◆ OffsetPoint()

Point SmShowSymbolSet::OffsetPoint ( const Point rPoint) const
private

Definition at line 959 of file dialog.cxx.

References nXOffset, nYOffset, Point::X(), and Point::Y().

Referenced by Paint(), and SelectSymbol().

◆ Paint()

void SmShowSymbolSet::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprivatevirtual

◆ Resize()

void SmShowSymbolSet::Resize ( )
overrideprivatevirtual

◆ SelectSymbol()

void SmShowSymbolSet::SelectSymbol ( sal_uInt16  nSymbol)

◆ SetDblClickHdl()

void SmShowSymbolSet::SetDblClickHdl ( const Link< SmShowSymbolSet &, void > &  rLink)
inline

Definition at line 284 of file dialog.hxx.

References aDblClickHdlLink.

◆ SetDrawingArea()

virtual void SmShowSymbolSet::SetDrawingArea ( weld::DrawingArea pDrawingArea)
inlineoverridevirtual

◆ SetScrollBarRange()

void SmShowSymbolSet::SetScrollBarRange ( )
private

◆ SetSelectHdl()

void SmShowSymbolSet::SetSelectHdl ( const Link< SmShowSymbolSet &, void > &  rLink)
inline

Definition at line 283 of file dialog.hxx.

References aSelectHdlLink.

◆ SetSymbolSet()

void SmShowSymbolSet::SetSymbolSet ( const SymbolPtrVec_t rSymbolSet)

Member Data Documentation

◆ aDblClickHdlLink

Link<SmShowSymbolSet&,void> SmShowSymbolSet::aDblClickHdlLink
private

Definition at line 249 of file dialog.hxx.

Referenced by MouseButtonDown(), and SetDblClickHdl().

◆ aSelectHdlLink

Link<SmShowSymbolSet&,void> SmShowSymbolSet::aSelectHdlLink
private

Definition at line 248 of file dialog.hxx.

Referenced by KeyInput(), MouseButtonDown(), and SetSelectHdl().

◆ aSymbolSet

SymbolPtrVec_t SmShowSymbolSet::aSymbolSet
private

Definition at line 247 of file dialog.hxx.

Referenced by KeyInput(), Paint(), SelectSymbol(), SetScrollBarRange(), and SetSymbolSet().

◆ m_aOldSize

Size SmShowSymbolSet::m_aOldSize
private

Definition at line 246 of file dialog.hxx.

Referenced by Resize(), and SetDrawingArea().

◆ m_xScrolledWindow

std::unique_ptr<weld::ScrolledWindow> SmShowSymbolSet::m_xScrolledWindow
private

◆ nColumns

sal_Int32 SmShowSymbolSet::nColumns
private

Definition at line 251 of file dialog.hxx.

Referenced by calccols(), KeyInput(), MouseButtonDown(), Paint(), SelectSymbol(), and SetScrollBarRange().

◆ nLen

tools::Long SmShowSymbolSet::nLen
private

Definition at line 250 of file dialog.hxx.

Referenced by calccols(), MouseButtonDown(), Paint(), and SelectSymbol().

◆ nRows

sal_Int32 SmShowSymbolSet::nRows
private

Definition at line 251 of file dialog.hxx.

Referenced by calccols(), KeyInput(), MouseButtonDown(), and SetScrollBarRange().

◆ nSelectSymbol

sal_uInt16 SmShowSymbolSet::nSelectSymbol
private

Definition at line 253 of file dialog.hxx.

Referenced by GetSelectSymbol(), KeyInput(), Paint(), and SelectSymbol().

◆ nXOffset

tools::Long SmShowSymbolSet::nXOffset
private

Definition at line 252 of file dialog.hxx.

Referenced by calccols(), MouseButtonDown(), and OffsetPoint().

◆ nYOffset

tools::Long SmShowSymbolSet::nYOffset
private

Definition at line 252 of file dialog.hxx.

Referenced by calccols(), MouseButtonDown(), and OffsetPoint().


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