diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-24 20:15:34 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-24 20:15:34 -0700 |
commit | 086a7e19f099c6c9b9529afb2360300e534876bf (patch) | |
tree | 1ab5d7313e406ef8e07091a528792d17fbc7149f /launcher/ui/widgets/ModListView.h | |
parent | 74e7c13a177afdb503a642cb9c97d71e72249291 (diff) | |
download | PrismLauncher-086a7e19f099c6c9b9529afb2360300e534876bf.tar.gz PrismLauncher-086a7e19f099c6c9b9529afb2360300e534876bf.tar.bz2 PrismLauncher-086a7e19f099c6c9b9529afb2360300e534876bf.zip |
feat: Column on left, hideable
- columns are hideable (saves to settings)
- image column moved to left
- datamodals can provide resize modes
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/widgets/ModListView.h')
-rw-r--r-- | launcher/ui/widgets/ModListView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/widgets/ModListView.h b/launcher/ui/widgets/ModListView.h index 881e092f..3f0b3b0e 100644 --- a/launcher/ui/widgets/ModListView.h +++ b/launcher/ui/widgets/ModListView.h @@ -14,6 +14,7 @@ */ #pragma once +#include <QHeaderView> #include <QTreeView> class ModListView: public QTreeView @@ -22,4 +23,5 @@ class ModListView: public QTreeView public: explicit ModListView ( QWidget* parent = 0 ); virtual void setModel ( QAbstractItemModel* model ); + virtual void setResizeModes (const QList<QHeaderView::ResizeMode>& modes); }; |