LibreOffice Module dbaccess (master) 1
|
#include <sbagrid.hxx>
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) |
Definition at line 152 of file sbagrid.hxx.
SbaGridHeader::SbaGridHeader | ( | BrowseBox * | pParent | ) |
Definition at line 477 of file sbagrid.cxx.
References WB_DRAG, and WB_STDHEADERBAR.
|
overridevirtual |
Definition at line 483 of file sbagrid.cxx.
|
overridevirtual |
Reimplemented from FmGridHeader.
Definition at line 488 of file sbagrid.cxx.
References FmGridHeader::dispose().
Definition at line 515 of file sbagrid.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::Contains(), HEADERBAR_ITEM_NOTFOUND, Height, nId, FmGridHeader::notifyColumnSelect(), StartDrag(), X, Point::X(), and Point::Y().
Referenced by StartDrag().
|
overrideprivatevirtual |
Definition at line 502 of file sbagrid.cxx.
References MouseEvent::GetClicks(), and MouseEvent::IsLeft().
|
overrideprotectedvirtual |
Reimplemented from FmGridHeader.
Definition at line 596 of file sbagrid.cxx.
References FmGridHeader::PostExecuteColumnContextMenu().
|
overrideprotectedvirtual |
Reimplemented from FmGridHeader.
Definition at line 545 of file sbagrid.cxx.
References DBA_RES, getField(), FmGridHeader::GetModelColumnPos(), weld::Menu::insert(), weld::Menu::insert_separator(), nPos, FmGridHeader::PreExecuteColumnContextMenu(), PROPERTY_TYPE(), weld::Menu::set_sensitive(), weld::Menu::set_visible(), and TRISTATE_INDET.
|
overrideprivatevirtual |
Definition at line 494 of file sbagrid.cxx.
References ImplStartColumnDrag().
Referenced by ImplStartColumnDrag().