aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
blob: 0bf0b35ba8938a4b3be27d2310435d2c94bdd247 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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());
}