feat: prototype grid view

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2022-10-02 11:12:14 +02:00
parent 8a4ad82d8d
commit 2e34464948
10 changed files with 148 additions and 33 deletions

View File

@ -24,7 +24,10 @@ class InstanceDelegate : public QStyledItemDelegate {
Q_OBJECT
public:
InstanceDelegate(QObject* parent = 0);
InstanceDelegate(QObject* parent = 0, int iconSize = 48);
void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const override;
private:
int m_iconSize;
};