LibreOffice Module dbaccess (master) 1
|
#include <dbtreelistbox.hxx>
Public Member Functions | |
TreeListBox (std::unique_ptr< weld::TreeView > xTreeView, bool bSQLType) | |
virtual | ~TreeListBox () |
std::unique_ptr< weld::TreeIter > | GetEntryPosByName (std::u16string_view rName, const weld::TreeIter *pStart=nullptr, const IEntryFilter *pFilter=nullptr) const |
std::unique_ptr< weld::TreeIter > | GetRootLevelParent (const weld::TreeIter *pEntry) const |
void | setControlActionListener (IControlActionListener *pListener) |
void | setContextMenuProvider (IContextMenuProvider *pContextMenuProvider) |
weld::TreeView & | GetWidget () |
const weld::TreeView & | GetWidget () const |
TransferDataContainer & | GetDataTransfer () |
sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) |
sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) |
void | SetSelChangeHdl (const Link< LinkParamNone *, void > &_rHdl) |
void | setCopyHandler (const Link< LinkParamNone *, void > &_rHdl) |
void | setPasteHandler (const Link< LinkParamNone *, void > &_rHdl) |
void | setDeleteHandler (const Link< LinkParamNone *, void > &_rHdl) |
Protected Member Functions | |
DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_LINK (SelectHdl, weld::TreeView &, void) | |
DECL_LINK (QueryTooltipHdl, const weld::TreeIter &, OUString) | |
DECL_LINK (CommandHdl, const CommandEvent &, bool) | |
DECL_LINK (DragBeginHdl, bool &, bool) | |
void | implStopSelectionTimer () |
void | implStartSelectionTimer () |
virtual bool | DoChildKeyInput (const KeyEvent &rKEvt) |
Protected Attributes | |
std::unique_ptr< weld::TreeView > | m_xTreeView |
TreeListBoxDropTarget | m_aDropTargetHelper |
std::unique_ptr< weld::TreeIter > | m_xDragedEntry |
IControlActionListener * | m_pActionListener |
IContextMenuProvider * | m_pContextMenuProvider |
Private Member Functions | |
DECL_LINK (OnTimeOut, Timer *, void) | |
Private Attributes | |
Timer | m_aTimer |
rtl::Reference< TransferDataContainer > | m_xHelper |
Link< LinkParamNone *, void > | m_aSelChangeHdl |
Link< LinkParamNone *, void > | m_aCopyHandler |
Link< LinkParamNone *, void > | m_aPasteHandler |
Link< LinkParamNone *, void > | m_aDeleteHandler |
Definition at line 56 of file dbtreelistbox.hxx.
dbaui::TreeListBox::TreeListBox | ( | std::unique_ptr< weld::TreeView > | xTreeView, |
bool | bSQLType | ||
) |
Definition at line 108 of file dbtreelistbox.cxx.
References DND_ACTION_COPY, LINK, m_aTimer, m_xHelper, m_xTreeView, Timer::SetInvokeHandler(), and Timer::SetTimeout().
|
virtual |
Definition at line 183 of file dbtreelistbox.cxx.
sal_Int8 dbaui::TreeListBox::AcceptDrop | ( | const AcceptDropEvent & | rEvt | ) |
Definition at line 236 of file dbtreelistbox.cxx.
References DND_ACTION_MOVE, DND_ACTION_NONE, GetEntryPosByName(), m_aDropTargetHelper, m_pActionListener, m_xDragedEntry, m_xTreeView, AcceptDropEvent::maPosPixel, AcceptDropEvent::mnAction, and dbaui::IControlActionListener::queryDrop().
Referenced by dbaui::TreeListBoxDropTarget::AcceptDrop().
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in dbaui::InterimDBTreeListBox.
Definition at line 131 of file dbtreelistbox.cxx.
sal_Int8 dbaui::TreeListBox::ExecuteDrop | ( | const ExecuteDropEvent & | rEvt | ) |
Definition at line 285 of file dbtreelistbox.cxx.
References DND_ACTION_NONE, dbaui::IControlActionListener::executeDrop(), m_pActionListener, and m_xTreeView.
Referenced by dbaui::TreeListBoxDropTarget::ExecuteDrop().
|
inline |
Definition at line 105 of file dbtreelistbox.hxx.
References m_xHelper.
Referenced by dbaui::OApplicationController::requestDrag().
std::unique_ptr< weld::TreeIter > dbaui::TreeListBox::GetEntryPosByName | ( | std::u16string_view | rName, |
const weld::TreeIter * | pStart = nullptr , |
||
const IEntryFilter * | pFilter = nullptr |
||
) | const |
Definition at line 187 of file dbtreelistbox.cxx.
References aName, dbaui::IEntryFilter::includeEntry(), and m_xTreeView.
Referenced by AcceptDrop(), and dbaui::OAppDetailPageHelper::selectElements().
std::unique_ptr< weld::TreeIter > dbaui::TreeListBox::GetRootLevelParent | ( | const weld::TreeIter * | pEntry | ) | const |
Definition at line 485 of file dbtreelistbox.cxx.
References m_xTreeView.
|
inline |
Definition at line 102 of file dbtreelistbox.hxx.
References m_xTreeView.
Referenced by dbaui::TreeListBoxDropTarget::AcceptDrop(), and dbaui::InterimDBTreeListBox::InterimDBTreeListBox().
|
inline |
Definition at line 103 of file dbtreelistbox.hxx.
References m_xTreeView.
|
protected |
Definition at line 172 of file dbtreelistbox.cxx.
References implStopSelectionTimer(), m_aTimer, and Timer::Start().
|
protected |
Definition at line 166 of file dbtreelistbox.cxx.
References Task::IsActive(), m_aTimer, and Task::Stop().
Referenced by dbaui::InterimDBTreeListBox::dispose(), and implStartSelectionTimer().
|
inline |
Definition at line 100 of file dbtreelistbox.hxx.
References m_pContextMenuProvider.
Referenced by dbaui::OAppDetailPageHelper::setupTree().
|
inline |
Definition at line 99 of file dbtreelistbox.hxx.
References m_pActionListener.
Referenced by dbaui::OAppDetailPageHelper::setupTree().
|
inline |
Definition at line 111 of file dbtreelistbox.hxx.
References m_aCopyHandler.
Referenced by dbaui::OAppDetailPageHelper::setupTree().
|
inline |
Definition at line 113 of file dbtreelistbox.hxx.
References m_aDeleteHandler.
Referenced by dbaui::OAppDetailPageHelper::setupTree().
|
inline |
Definition at line 112 of file dbtreelistbox.hxx.
References m_aPasteHandler.
Referenced by dbaui::OAppDetailPageHelper::setupTree().
|
inline |
Definition at line 110 of file dbtreelistbox.hxx.
References m_aSelChangeHdl.
Referenced by dbaui::OAppDetailPageHelper::setupTree().
|
private |
Definition at line 77 of file dbtreelistbox.hxx.
Referenced by setCopyHandler().
|
private |
Definition at line 79 of file dbtreelistbox.hxx.
Referenced by setDeleteHandler().
|
protected |
Definition at line 60 of file dbtreelistbox.hxx.
Referenced by AcceptDrop().
|
private |
Definition at line 78 of file dbtreelistbox.hxx.
Referenced by setPasteHandler().
|
private |
Definition at line 76 of file dbtreelistbox.hxx.
Referenced by SetSelChangeHdl().
|
private |
Definition at line 73 of file dbtreelistbox.hxx.
Referenced by implStartSelectionTimer(), implStopSelectionTimer(), and TreeListBox().
|
protected |
Definition at line 63 of file dbtreelistbox.hxx.
Referenced by AcceptDrop(), ExecuteDrop(), and setControlActionListener().
|
protected |
Definition at line 64 of file dbtreelistbox.hxx.
Referenced by setContextMenuProvider().
|
protected |
Definition at line 62 of file dbtreelistbox.hxx.
Referenced by AcceptDrop().
|
private |
Definition at line 74 of file dbtreelistbox.hxx.
Referenced by GetDataTransfer(), and TreeListBox().
|
protected |
Definition at line 59 of file dbtreelistbox.hxx.
Referenced by AcceptDrop(), dbaui::OTableTreeListBox::checkedButton_noBroadcast(), dbaui::OTableTreeListBox::checkWildcard(), dbaui::InterimDBTreeListBox::dispose(), ExecuteDrop(), dbaui::OTableTreeListBox::getAllObjectsEntry(), GetEntryPosByName(), GetRootLevelParent(), GetWidget(), dbaui::OTableTreeListBox::isFolderEntry(), dbaui::OTableTreeListBox::isWildcardChecked(), dbaui::OTableTreeListBox::OTableTreeListBox(), and TreeListBox().