feat: prototype grid view
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user