Changeset View
Changeset View
Standalone View
Standalone View
sidebar/SidebarMode.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
75 | 75 | | |||
76 | bool actionMenuVisible() const; | 76 | bool actionMenuVisible() const; | ||
77 | 77 | | |||
78 | Q_INVOKABLE QAction *action(const QString &name) const; | 78 | Q_INVOKABLE QAction *action(const QString &name) const; | ||
79 | // QML doesn't understand QIcon, otherwise we could get it from the QAction itself | 79 | // QML doesn't understand QIcon, otherwise we could get it from the QAction itself | ||
80 | Q_INVOKABLE QString actionIconName(const QString &name) const; | 80 | Q_INVOKABLE QString actionIconName(const QString &name) const; | ||
81 | Q_INVOKABLE void requestToolTip(int index, const QRectF &rect); | 81 | Q_INVOKABLE void requestToolTip(int index, const QRectF &rect); | ||
82 | Q_INVOKABLE void requestSubCategoryToolTip(int index, const QRectF &rect); | 82 | Q_INVOKABLE void requestSubCategoryToolTip(int index, const QRectF &rect); | ||
83 | Q_INVOKABLE void requestMostUsedToolTip(int index, const QRectF &rect); | ||||
83 | Q_INVOKABLE void hideToolTip(); | 84 | Q_INVOKABLE void hideToolTip(); | ||
84 | Q_INVOKABLE void hideSubCategoryToolTip(); | 85 | Q_INVOKABLE void hideSubCategoryToolTip(); | ||
86 | Q_INVOKABLE void hideMostUsedToolTip(); | ||||
85 | Q_INVOKABLE void loadMostUsed(int index); | 87 | Q_INVOKABLE void loadMostUsed(int index); | ||
86 | Q_INVOKABLE void showActionMenu(const QPoint &position); | 88 | Q_INVOKABLE void showActionMenu(const QPoint &position); | ||
87 | 89 | | |||
88 | protected: | 90 | protected: | ||
89 | QList<QAbstractItemView*> views() const override; | 91 | QList<QAbstractItemView*> views() const override; | ||
90 | bool eventFilter(QObject* watched, QEvent* event) override; | 92 | bool eventFilter(QObject* watched, QEvent* event) override; | ||
91 | 93 | | |||
92 | private Q_SLOTS: | 94 | private Q_SLOTS: | ||
Show All 16 Lines |