Changeset View
Changeset View
Standalone View
Standalone View
src/kitemviews/kstandarditemlistwidget.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | |||||
83 | /** | 83 | /** | ||
84 | * @brief Itemlist widget implementation for KStandardItemView and KStandardItemModel. | 84 | * @brief Itemlist widget implementation for KStandardItemView and KStandardItemModel. | ||
85 | */ | 85 | */ | ||
86 | class DOLPHIN_EXPORT KStandardItemListWidget : public KItemListWidget | 86 | class DOLPHIN_EXPORT KStandardItemListWidget : public KItemListWidget | ||
87 | { | 87 | { | ||
88 | Q_OBJECT | 88 | Q_OBJECT | ||
89 | 89 | | |||
90 | public: | 90 | public: | ||
91 | enum Layout | 91 | enum class Layout | ||
92 | { | 92 | { | ||
93 | IconsLayout, | 93 | Icons, | ||
94 | CompactLayout, | 94 | Compact, | ||
95 | DetailsLayout | 95 | Details | ||
96 | }; | 96 | }; | ||
97 | 97 | | |||
98 | KStandardItemListWidget(KItemListWidgetInformant* informant, QGraphicsItem* parent); | 98 | KStandardItemListWidget(KItemListWidgetInformant* informant, QGraphicsItem* parent); | ||
99 | ~KStandardItemListWidget() override; | 99 | ~KStandardItemListWidget() override; | ||
100 | 100 | | |||
101 | void setLayout(Layout layout); | 101 | void setLayout(Layout layout); | ||
102 | Layout layout() const; | 102 | Layout layout() const; | ||
103 | 103 | | |||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |