LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
dbaui::SbaGridHeader Class Reference

#include <sbagrid.hxx>

Inheritance diagram for dbaui::SbaGridHeader:
[legend]
Collaboration diagram for dbaui::SbaGridHeader:
[legend]

Public Member Functions

 SbaGridHeader (BrowseBox *pParent)
 
virtual void dispose () override
 
virtual ~SbaGridHeader () override
 
- Public Member Functions inherited from FmGridHeader
 FmGridHeader (BrowseBox *pParent, WinBits nWinBits=WB_STDHEADERBAR|WB_DRAG)
 
virtual ~FmGridHeader () override
 
virtual void dispose () override
 
void triggerColumnContextMenu (const ::Point &_rPreferredPos)
 

Protected Member Functions

virtual void PreExecuteColumnContextMenu (sal_uInt16 nColId, weld::Menu &rMenu, weld::Menu &rInsertMenu, weld::Menu &rChangeMenu, weld::Menu &rShowMenu) override
 
virtual void PostExecuteColumnContextMenu (sal_uInt16 nColId, const weld::Menu &rMenu, const OUString &rExecutionResult) override
 
- Protected Member Functions inherited from FmGridHeader
virtual void Command (const CommandEvent &rCEvt) override
 
virtual void RequestHelp (const HelpEvent &rHEvt) override
 
virtual void Select () override
 
sal_uInt16 GetModelColumnPos (sal_uInt16 nId) const
 
virtual void PreExecuteColumnContextMenu (sal_uInt16 nColId, weld::Menu &rMenu, weld::Menu &rInsertMenu, weld::Menu &rChangeMenu, weld::Menu &rShowMenu)
 
virtual void PostExecuteColumnContextMenu (sal_uInt16 nColId, const weld::Menu &rMenu, const OUString &rExecutionResult)
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt) override
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt) override
 
void notifyColumnSelect (sal_uInt16 nColumnId)
 

Private Member Functions

virtual void StartDrag (sal_Int8 _nAction, const Point &_rPosPixel) override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
 
void ImplStartColumnDrag (sal_Int8 _nAction, const Point &_rMousePos)
 

Detailed Description

Definition at line 152 of file sbagrid.hxx.

Constructor & Destructor Documentation

◆ SbaGridHeader()

SbaGridHeader::SbaGridHeader ( BrowseBox pParent)

Definition at line 477 of file sbagrid.cxx.

References WB_DRAG, and WB_STDHEADERBAR.

◆ ~SbaGridHeader()

SbaGridHeader::~SbaGridHeader ( )
overridevirtual

Definition at line 483 of file sbagrid.cxx.

Member Function Documentation

◆ dispose()

void SbaGridHeader::dispose ( void  )
overridevirtual

Reimplemented from FmGridHeader.

Definition at line 488 of file sbagrid.cxx.

References FmGridHeader::dispose().

◆ ImplStartColumnDrag()

void SbaGridHeader::ImplStartColumnDrag ( sal_Int8  _nAction,
const Point _rMousePos 
)
private

◆ MouseButtonDown()

void SbaGridHeader::MouseButtonDown ( const MouseEvent rMEvt)
overrideprivatevirtual

Definition at line 502 of file sbagrid.cxx.

References MouseEvent::GetClicks(), and MouseEvent::IsLeft().

◆ PostExecuteColumnContextMenu()

void SbaGridHeader::PostExecuteColumnContextMenu ( sal_uInt16  nColId,
const weld::Menu rMenu,
const OUString &  rExecutionResult 
)
overrideprotectedvirtual

Reimplemented from FmGridHeader.

Definition at line 596 of file sbagrid.cxx.

References FmGridHeader::PostExecuteColumnContextMenu().

◆ PreExecuteColumnContextMenu()

void SbaGridHeader::PreExecuteColumnContextMenu ( sal_uInt16  nColId,
weld::Menu rMenu,
weld::Menu rInsertMenu,
weld::Menu rChangeMenu,
weld::Menu rShowMenu 
)
overrideprotectedvirtual

◆ StartDrag()

void SbaGridHeader::StartDrag ( sal_Int8  _nAction,
const Point _rPosPixel 
)
overrideprivatevirtual

Definition at line 494 of file sbagrid.cxx.

References ImplStartColumnDrag().

Referenced by ImplStartColumnDrag().


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