cutter/src/widgets/CutterTreeView.cpp
karliss e0c80182dd
Improve flag and string widget performance (#2021)
* Deffer vtable refresh.
* Use uniformRowHeight mode
* Adjust StringsWidget column resizing mode.
2020-01-20 20:36:32 +02:00

14 lines
335 B
C++

#include "CutterTreeView.h"
#include "ui_CutterTreeView.h"
CutterTreeView::CutterTreeView(QWidget *parent) :
QTreeView(parent),
ui(new Ui::CutterTreeView())
{
ui->setupUi(this);
this->setSelectionMode(QAbstractItemView::ExtendedSelection);
this->setUniformRowHeights(true);
}
CutterTreeView::~CutterTreeView() {}