diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/model/GpgKeyTableProxyModel.h (renamed from src/core/model/GpgKeyTableProxyModel.h) | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/core/model/GpgKeyTableProxyModel.h b/src/ui/model/GpgKeyTableProxyModel.h index 573d938b..dd086ba9 100644 --- a/src/core/model/GpgKeyTableProxyModel.h +++ b/src/ui/model/GpgKeyTableProxyModel.h @@ -28,14 +28,14 @@ #pragma once -#include <utility> +#include <QFont> +#include <QFontMetrics> #include "core/model/GpgKeyTableModel.h" -namespace GpgFrontend { +namespace GpgFrontend::UI { -class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel - : public QSortFilterProxyModel { +class GpgKeyTableProxyModel : public QSortFilterProxyModel { Q_OBJECT public: using KeyFilter = std::function<bool(const GpgKey &)>; @@ -97,6 +97,9 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyTableProxyModel QString filter_keywords_; QList<QString> favorite_key_ids_; KeyFilter custom_filter_; + + QFont default_font_; + QFontMetrics default_metrics_; }; -} // namespace GpgFrontend
\ No newline at end of file +} // namespace GpgFrontend::UI
\ No newline at end of file |