mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
	
		
			379 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
	
		
			379 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#ifndef MODELDELEGATES_H
							 | 
						||
| 
								 | 
							
								#define MODELDELEGATES_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <QAbstractItemDelegate>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class StarWidgetsDelegate : public QAbstractItemDelegate {
							 | 
						||
| 
								 | 
							
									Q_OBJECT
							 | 
						||
| 
								 | 
							
								public:
							 | 
						||
| 
								 | 
							
								    virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
							 | 
						||
| 
								 | 
							
								    virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								#endif
							 |