Changeset View
Changeset View
Standalone View
Standalone View
sidebar/SidebarMode.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
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 hideToolTip(); | 83 | Q_INVOKABLE void hideToolTip(); | ||
84 | Q_INVOKABLE void hideSubCategoryToolTip(); | 84 | Q_INVOKABLE void hideSubCategoryToolTip(); | ||
85 | Q_INVOKABLE void loadMostUsed(int index); | 85 | Q_INVOKABLE void loadMostUsed(int index); | ||
86 | Q_INVOKABLE void showActionMenu(const QPoint &position); | 86 | Q_INVOKABLE void showActionMenu(const QPoint &position); | ||
87 | Q_INVOKABLE void showIntroPage(); | ||||
87 | 88 | | |||
88 | protected: | 89 | protected: | ||
89 | QList<QAbstractItemView*> views() const override; | 90 | QList<QAbstractItemView*> views() const override; | ||
90 | bool eventFilter(QObject* watched, QEvent* event) override; | 91 | bool eventFilter(QObject* watched, QEvent* event) override; | ||
91 | 92 | | |||
92 | private Q_SLOTS: | 93 | private Q_SLOTS: | ||
93 | void changeModule( const QModelIndex& activeModule ); | 94 | void changeModule( const QModelIndex& activeModule ); | ||
94 | void moduleLoaded(); | 95 | void moduleLoaded(); | ||
Show All 14 Lines |