mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
A simple version of QTreeWidget that exposes the index->treewidgetitem call.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include "QIndexTreeWidget.h"
|
||||
|
||||
QIndexTreeWidget::QIndexTreeWidget (QWidget* parent) : QTreeWidget(parent) {
|
||||
}
|
||||
|
||||
QIndexTreeWidget::~QIndexTreeWidget () {
|
||||
}
|
||||
|
||||
QTreeWidgetItem* QIndexTreeWidget::getItemFromIndex (const QModelIndex& index) const {
|
||||
|
||||
return itemFromIndex(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user