Changeset View
Changeset View
Standalone View
Standalone View
sidebar/ToolTips/tooltipmanager.cpp
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 51 | Private() : | |||
---|---|---|---|---|---|
54 | timer(nullptr), | 54 | timer(nullptr), | ||
55 | delay(300) | 55 | delay(300) | ||
56 | { } | 56 | { } | ||
57 | 57 | | |||
58 | KToolTipWidget *tooltip; | 58 | KToolTipWidget *tooltip; | ||
59 | QWidget* view; | 59 | QWidget* view; | ||
60 | QAbstractItemModel *model; | 60 | QAbstractItemModel *model; | ||
61 | QTimer* timer; | 61 | QTimer* timer; | ||
62 | QModelIndex item; | 62 | QPersistentModelIndex item; | ||
63 | QRect itemRect; | 63 | QRect itemRect; | ||
64 | int delay; | 64 | int delay; | ||
65 | ToolTipPosition toolTipPosition; | 65 | ToolTipPosition toolTipPosition; | ||
66 | }; | 66 | }; | ||
67 | 67 | | |||
68 | ToolTipManager::ToolTipManager(QAbstractItemModel *model, QWidget* parent, ToolTipPosition toolTipPosition) | 68 | ToolTipManager::ToolTipManager(QAbstractItemModel *model, QWidget* parent, ToolTipPosition toolTipPosition) | ||
69 | : QObject(parent) | 69 | : QObject(parent) | ||
70 | , d(new ToolTipManager::Private) | 70 | , d(new ToolTipManager::Private) | ||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |