Miam-Player  0.8.0
A nice music player
miamstyleditemdelegate.h
Go to the documentation of this file.
1 #ifndef MIAMSTYLEDITEMDELEGATE_H
2 #define MIAMSTYLEDITEMDELEGATE_H
3 
4 #include <QStyledItemDelegate>
5 #include <QTableView>
6 #include "miamcore_global.h"
7 
13 class MIAMCORE_LIBRARY MiamStyledItemDelegate : public QStyledItemDelegate
14 {
15  Q_OBJECT
16 private:
17  QAbstractItemView *_itemView;
18  bool _fallback;
19 
20 public:
21  explicit MiamStyledItemDelegate(QAbstractItemView *parent, bool fallback);
22 
23  virtual void paint(QPainter *p, const QStyleOptionViewItem &opt, const QModelIndex &index) const;
24 };
25 
26 #endif // MIAMSTYLEDITEMDELEGATE_H
The MiamStyledItemDelegate class.
Definition: miamstyleditemdelegate.h:13
#define MIAMCORE_LIBRARY
Definition: miamcore_global.h:11