Changeset View
Changeset View
Standalone View
Standalone View
src/kitemviews/kitemlistview.cpp
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | 69 | KItemListView::KItemListView(QGraphicsWidget* parent) : | |||
---|---|---|---|---|---|
97 | m_mousePos(), | 97 | m_mousePos(), | ||
98 | m_autoScrollIncrement(0), | 98 | m_autoScrollIncrement(0), | ||
99 | m_autoScrollTimer(nullptr), | 99 | m_autoScrollTimer(nullptr), | ||
100 | m_header(nullptr), | 100 | m_header(nullptr), | ||
101 | m_headerWidget(nullptr), | 101 | m_headerWidget(nullptr), | ||
102 | m_dropIndicator() | 102 | m_dropIndicator() | ||
103 | { | 103 | { | ||
104 | setAcceptHoverEvents(true); | 104 | setAcceptHoverEvents(true); | ||
105 | setAcceptTouchEvents(true); | ||||
105 | 106 | | |||
106 | m_sizeHintResolver = new KItemListSizeHintResolver(this); | 107 | m_sizeHintResolver = new KItemListSizeHintResolver(this); | ||
107 | 108 | | |||
108 | m_layouter = new KItemListViewLayouter(m_sizeHintResolver, this); | 109 | m_layouter = new KItemListViewLayouter(m_sizeHintResolver, this); | ||
109 | 110 | | |||
110 | m_animation = new KItemListViewAnimation(this); | 111 | m_animation = new KItemListViewAnimation(this); | ||
111 | connect(m_animation, &KItemListViewAnimation::finished, | 112 | connect(m_animation, &KItemListViewAnimation::finished, | ||
112 | this, &KItemListView::slotAnimationFinished); | 113 | this, &KItemListView::slotAnimationFinished); | ||
▲ Show 20 Lines • Show All 2632 Lines • Show Last 20 Lines |