diff options
| author | Méven Car <[email protected]> | 2025-10-18 12:35:49 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-10-23 15:41:44 +0000 |
| commit | 36c29512d571236e6c112bf633365221323e9086 (patch) | |
| tree | 885bd35452300c560fef484375eff9268c9be9bf /src/settings/servicemodel.h | |
| parent | 2a3f1badca2a5f21bfb62022d3ff435c7e74cca7 (diff) | |
PreviewSettings: add a tooltip showing the filename of plugins
So users can identify them and distinguish them when two plugins provide
the same mimetype support or help figure out devs where the plugins are
loaded from.
Diffstat (limited to 'src/settings/servicemodel.h')
| -rw-r--r-- | src/settings/servicemodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/servicemodel.h b/src/settings/servicemodel.h index 0abe1fe46..956ddb2bc 100644 --- a/src/settings/servicemodel.h +++ b/src/settings/servicemodel.h @@ -17,6 +17,7 @@ * - Qt::DisplayRole: Name of the service * - Qt::DecorationRole: Icon name of the service * - Qt::CheckStateRole: Specifies whether the service is enabled + * - Qt::Tooltip: a tooltip * - ServiceModel::DesktopEntryNameRole: Name of the desktop-entry of the service * - ServiceModel::Configurable: Specifies whether the service is configurable by the user */ @@ -43,6 +44,7 @@ private: QString icon; QString text; QString desktopEntryName; + QString tooltip; }; QList<ServiceItem> m_items; |
