feat: basic geometry spreadsheet model

This commit is contained in:
parker
2025-08-05 22:10:10 +01:00
parent ef372a9630
commit 2c139a5f6a
4 changed files with 56 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#include "Gui/GeometrySpreadsheetPanel/GeometrySpreadsheetPanel.h"
#include "Gui/GeometrySpreadsheetPanel/GeometrySpreadsheetMenuBar.h"
#include "Gui/GeometrySpreadsheetPanel/GeometrySpreadsheetModel.h"
#include <QTableWidget>
#include <QTreeWidget>
#include <QLabel>
@@ -24,6 +25,9 @@ GeometrySpreadsheetPanel::GeometrySpreadsheetPanel(QWidget *parent, Qt::WindowFl
}
)");
t->setFrameStyle(QFrame::NoFrame);
auto model = new GeometrySpreadsheetModel({"hello", "world"});
t->setModel(model);
mainLayout_->addWidget(new GeometrySpreadsheetMenuBar());