#include "techsetviewer.h"
#include "ui_techsetviewer.h"

TechSetViewer::TechSetViewer(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::TechSetViewer)
{
    ui->setupUi(this);
}

TechSetViewer::~TechSetViewer()
{
    delete ui;
}

void TechSetViewer::SetTechSet(const XMaterialTechniqueSet* aTechSet) {
    //ui->listWidget_Ptrs->clear();
    ui->label_Title->setText(aTechSet->GetName());

    // int ptrIndex = 1;
    //for (auto ptr : aTechSet->pointers) {
    //    ui->listWidget_Ptrs->addItem(QString("Pointer %1: %2").arg(ptrIndex).arg(ptr));
    //    ptrIndex++;
    //}
}
