LibreOffice Module vcl (master)
1
|
#include <iconviewimpl.hxx>
Protected Member Functions | |
tools::Long | GetEntryLine (const SvTreeListEntry *pEntry) const override |
void | CursorUp () override |
void | CursorDown () override |
void | PageDown (sal_uInt16 nDelta) override |
void | PageUp (sal_uInt16 nDelta) override |
void | SyncVerThumb () override |
void | AdjustScrollBars (Size &rSize) override |
![]() | |
tools::Rectangle | GetVisibleArea () const |
void | SetCursor (SvTreeListEntry *pEntry, bool bForceNoSelect=false) |
void | PositionScrollBars (Size &rOSize, sal_uInt16 nMask) |
void | FindMostRight () |
void | FillView () |
void | ShowVerSBar () |
void | StopUserEvent () |
DECL_LINK (MyUserEvent, void *, void) | |
Additional Inherited Members | |
![]() | |
static const Image & | GetDefaultExpandedNodeImage () |
static const Image & | GetDefaultCollapsedNodeImage () |
![]() | |
VclPtr< SvTreeListBox > | m_pView |
VclPtr< ScrollBar > | m_aVerSBar |
SvTreeListEntry * | m_pCursor |
SvTreeListEntry * | m_pCursorOld |
SvTreeListEntry * | m_pStartEntry |
ImplSVEvent * | m_nCurUserEvent |
Size | m_aOutputSize |
LBoxFlags | m_nFlags |
WinBits | m_nStyle |
bool | mbNoAutoCurEntry |
SelectionEngine | m_aSelEng |
sal_uLong | m_nVisibleCount |
bool | m_bInVScrollHdl: 1 |
bool | m_bSimpleTravel: 1 |
tools::Long | m_nNextVerVisSize |
tools::Long | m_nNodeBmpTabDistance |
Definition at line 28 of file iconviewimpl.hxx.
IconViewImpl::IconViewImpl | ( | SvTreeListBox * | pTreeListBox, |
SvTreeList * | pTreeList, | ||
WinBits | nWinStyle | ||
) |
Definition at line 25 of file iconviewimpl.cxx.
Reimplemented from SvImpLBox.
Definition at line 259 of file iconviewimpl.cxx.
References EndScrollSetVisSize, SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), vcl::Window::GetStyle(), SvListView::GetVisibleCount(), vcl::Window::Hide(), SvImpLBox::m_aSelEng, SvImpLBox::m_aVerSBar, SvImpLBox::m_bInVScrollHdl, SvImpLBox::m_nFlags, SvImpLBox::m_nVisibleCount, SvImpLBox::m_pView, SvImpLBox::PositionScrollBars(), ScrollBar::SetPageSize(), tools::Rectangle::SetSize(), SelectionEngine::SetVisibleArea(), ScrollBar::SetVisibleSize(), vcl::Window::Show(), and WB_VSCROLL.
|
overrideprotectedvirtual |
Reimplemented from SvImpLBox.
Definition at line 56 of file iconviewimpl.cxx.
References Filling, SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvImpLBox::GetVisibleArea(), i, SvImpLBox::m_nFlags, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, SvListView::NextVisible(), NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), vcl::Window::Scroll(), and SvImpLBox::ShowCursor().
Referenced by KeyDown().
|
overrideprotectedvirtual |
Reimplemented from SvImpLBox.
Definition at line 30 of file iconviewimpl.cxx.
References tools::Rectangle::AdjustBottom(), Filling, SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvImpLBox::GetVisibleArea(), i, SvImpLBox::m_nFlags, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), SvListView::PrevVisible(), vcl::Window::Scroll(), and SvImpLBox::ShowCursor().
Referenced by KeyUp().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 224 of file iconviewimpl.cxx.
References DBG_ASSERT, SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryCount(), SvTreeListBox::GetEntryHeight(), SvTreeListBox::GetEntryWidth(), SvTreeListBox::GetModel(), SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, and SvListView::NextVisible().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 315 of file iconviewimpl.cxx.
References SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryCount(), SvTreeListBox::GetEntryHeight(), SvTreeListBox::GetEntryWidth(), Size::Height(), SvImpLBox::m_aOutputSize, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, and SvListView::NextVisible().
|
overrideprotectedvirtual |
Reimplemented from SvImpLBox.
Definition at line 204 of file iconviewimpl.cxx.
References SvListView::GetVisiblePos(), SvImpLBox::m_pStartEntry, and SvImpLBox::m_pView.
Referenced by IsEntryInView().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 216 of file iconviewimpl.cxx.
References SvListView::GetAbsPos(), SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvTreeListBox::GetEntryWidth(), SvImpLBox::m_pView, Point, and pos.
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 430 of file iconviewimpl.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::Bottom(), SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvImpLBox::GetVisibleArea(), InPaint, SvTreeListBox::Invalidate(), SvImpLBox::m_nFlags, SvImpLBox::m_pView, tools::Rectangle::SetBottom(), tools::Rectangle::SetTop(), and tools::Rectangle::Top().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 241 of file iconviewimpl.cxx.
References SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), GetEntryLine(), SvListView::IsEntryVisible(), SvImpLBox::m_nVisibleCount, SvImpLBox::m_pStartEntry, and SvImpLBox::m_pView.
Referenced by KeyInput().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 151 of file iconviewimpl.cxx.
References CursorDown(), Filling, ScrollBar::GetPageSize(), ScrollBar::GetThumbPos(), vcl::Window::IsVisible(), SvImpLBox::m_aVerSBar, SvImpLBox::m_nFlags, PageDown(), and ScrollBar::SetThumbPos().
Referenced by KeyInput().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 447 of file iconviewimpl.cxx.
References SvTreeListBox::aDoubleClickHdl, Link< class, class >::Call(), SelectionEngine::CursorPosChanging(), Filling, SvListView::GetAbsPos(), vcl::KeyCode::GetCode(), SvTreeListBox::GetColumnsCount(), KeyEvent::GetKeyCode(), SvTreeListBox::GetModel(), i, IsEntryInView(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), SvImpLBox::IsSelectable(), vcl::KeyCode::IsShift(), KEY_DOWN, KEY_END, KEY_LEFT, KEY_RETURN, KEY_RIGHT, KEY_UP, KeyDown(), SvImpLBox::KeyInput(), KeyUp(), SvTreeList::Last(), SvImpLBox::m_aSelEng, SvImpLBox::m_nFlags, SvImpLBox::m_pCursor, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, SvImpLBox::MakeVisible(), SvListView::NextVisible(), SvListView::PrevVisible(), SvTreeListBox::Select(), SvImpLBox::SetCursor(), and SyncVerThumb().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 176 of file iconviewimpl.cxx.
References CursorUp(), Filling, ScrollBar::GetPageSize(), ScrollBar::GetThumbPos(), vcl::Window::IsVisible(), SvImpLBox::m_aVerSBar, SvImpLBox::m_nFlags, PageUp(), and ScrollBar::SetThumbPos().
Referenced by KeyInput().
|
overrideprotectedvirtual |
Reimplemented from SvImpLBox.
Definition at line 80 of file iconviewimpl.cxx.
References Filling, SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvImpLBox::GetVisibleArea(), SvTreeListBox::Invalidate(), SvImpLBox::m_nFlags, SvImpLBox::m_nVisibleCount, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, SvListView::NextVisible(), NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), vcl::Window::Scroll(), and SvImpLBox::ShowCursor().
Referenced by KeyDown().
|
overrideprotectedvirtual |
Reimplemented from SvImpLBox.
Definition at line 117 of file iconviewimpl.cxx.
References Filling, SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvImpLBox::GetVisibleArea(), SvTreeListBox::Invalidate(), SvImpLBox::m_nFlags, SvImpLBox::m_nVisibleCount, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), SvListView::PrevVisible(), vcl::Window::Scroll(), and SvImpLBox::ShowCursor().
Referenced by KeyUp().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 358 of file iconviewimpl.cxx.
References DeselectAll, Filling, SvTreeListBox::First(), VclPtr< reference_type >::get(), SvTreeListBox::GetColumnsCount(), SvTreeListBox::GetEntryHeight(), SvTreeListBox::GetEntryWidth(), tools::Rectangle::GetHeight(), SelectionEngine::GetSelectionMode(), SvListView::GetVisibleCount(), tools::Rectangle::GetWidth(), InPaint, tools::Rectangle::Left(), LINK, SvImpLBox::m_aSelEng, SvImpLBox::m_aVerSBar, SvImpLBox::m_nCurUserEvent, SvImpLBox::m_nFlags, SvImpLBox::m_nStyle, SvImpLBox::m_pCursor, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, SvImpLBox::mbNoAutoCurEntry, Multiple, n, nCount, SvListView::NextVisible(), Application::PostUserEvent(), OutputDevice::SetClipRegion(), SvImpLBox::SetCursor(), ScrollBar::SetThumbPos(), SvImpLBox::ShowCursor(), SvImpLBox::StopUserEvent(), tools::Rectangle::Top(), and WB_NOINITIALSELECTION.
|
overrideprotectedvirtual |
Reimplemented from SvImpLBox.
Definition at line 331 of file iconviewimpl.cxx.
References SvListView::GetVisiblePos(), SvImpLBox::m_aVerSBar, SvImpLBox::m_pStartEntry, SvImpLBox::m_pView, and ScrollBar::SetThumbPos().
Referenced by KeyInput(), and UpdateAll().
|
overridevirtual |
Reimplemented from SvImpLBox.
Definition at line 342 of file iconviewimpl.cxx.
References SvImpLBox::FillView(), SvImpLBox::FindMostRight(), SvImpLBox::GetVisibleArea(), SvListView::GetVisibleCount(), vcl::Window::HasFocus(), SvTreeListBox::Invalidate(), SvImpLBox::m_aVerSBar, SvImpLBox::m_bSimpleTravel, SvImpLBox::m_pCursor, SvImpLBox::m_pView, SvTreeListBox::Select(), ScrollBar::SetRange(), SvImpLBox::ShowCursor(), SvImpLBox::ShowVerSBar(), and SyncVerThumb().