Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
GameListDelegate.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 5/25/23.
3//
4
5#pragma once
6#ifndef ATLASGAMEMANAGER_GAMELISTDELEGATE_HPP
7#define ATLASGAMEMANAGER_GAMELISTDELEGATE_HPP
8
9#include <QAbstractItemDelegate>
10
11class GameListDelegate final : public QAbstractItemDelegate
12{
13 Q_OBJECT
14
15 public:
16
17 void paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const override;
18 QSize sizeHint( const QStyleOptionViewItem& option, const QModelIndex& index ) const override;
19};
20
21#endif //ATLASGAMEMANAGER_GAMELISTDELEGATE_HPP
Definition GameListDelegate.hpp:12
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition GameListDelegate.cpp:16
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition GameListDelegate.cpp:31