initial qml stuff

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2022-12-08 14:09:33 +01:00
parent 05d9c2d864
commit ac33b150fa
16 changed files with 161 additions and 38 deletions

View File

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