notepad--/mytreeview.cpp

14 lines
242 B
C++
Executable File

#include "mytreeview.h"
MyTreeView::MyTreeView(QWidget *parent)
: QTreeView(parent)
{}
MyTreeView::~MyTreeView()
{}
void MyTreeView::getSelectedIndexes(QModelIndexList & selectList)
{
selectList = this->selectedIndexes();
}