testing sfml window

This commit is contained in:
Clément Le Bihan
2021-05-27 23:18:20 +02:00
parent e32b1d830d
commit 36bb0587c3

View File

@@ -34,7 +34,7 @@ namespace ComSquare::Debugger
this->_window->setAttribute(Qt::WA_DeleteOnClose);
this->_ui.setupUi(this->_window);
//this->_sfWidget = std::make_unique<Renderer::QtSFML>(this->_ui.tab);
//this->_sfWidget = std::make_unique<Renderer::QtSFML>(this->_ui.label_5);
QMainWindow::connect(this->_ui.NbColumns, QOverload<int>::of(&QSpinBox::valueChanged), this, [this](int nb) -> void { this->setNbColumns(nb); });
QMainWindow::connect(this->_ui.ByteSize, QOverload<int>::of(&QSpinBox::valueChanged), this, [this](int nb) -> void { this->setRenderSize(nb); });
QMainWindow::connect(this->_ui.Address, QOverload<int>::of(&QSpinBox::valueChanged), this, [this](int nb) -> void { this->setRamOffset(nb); });