summaryrefslogblamecommitdiffstats
path: root/qt-ui/divelistview.cpp
blob: 0bf0b35ba8938a4b3be27d2310435d2c94bdd247 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                         
                         
                           
                       

                                                               
                                   
                                                                                
 
/*
 * divelistview.cpp
 *
 * classes for the divelist of Subsurface
 *
 */
#include "divelistview.h"
#include "models.h"
#include "modeldelegates.h"
#include <QApplication>
#include <QHeaderView>

DiveListView::DiveListView(QWidget *parent) : QTreeView(parent)
{
	setUniformRowHeights(true);
	setItemDelegateForColumn(TreeItemDT::RATING, new StarWidgetsDelegate());
}