diff options
author | Javier <dev.git@javispedro.com> | 2020-09-12 02:21:04 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-09-12 02:21:04 +0200 |
commit | c2eca928c5a7be0444fcb5c41ffe77b557714575 (patch) | |
tree | af7d2ed9e2b018a4ea95329bb944853f41cf088f /notebookmodel.h | |
parent | 20de09ffbaa00ab3adf91e49b847eb0061315b1e (diff) | |
download | scribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.tar.gz scribiu-c2eca928c5a7be0444fcb5c41ffe77b557714575.zip |
when zooming out, place pages on a grid layout
Diffstat (limited to 'notebookmodel.h')
-rw-r--r-- | notebookmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/notebookmodel.h b/notebookmodel.h index 1d69e14..f847c77 100644 --- a/notebookmodel.h +++ b/notebookmodel.h @@ -22,6 +22,7 @@ #include <QtCore/QAbstractItemModel> #include <QtCore/QDir> #include <QtCore/QFileSystemWatcher> +#include <QtGui/QIcon> class NotebookModel : public QAbstractItemModel { @@ -72,6 +73,8 @@ private: QFileSystemWatcher _watcher; QStringList _pens; QHash<QString, QStringList> _notebooks; + + mutable QHash<QString, QIcon> _iconCache; }; #endif // NOTEBOOKMODEL_H |