17 lines
452 B
C++
17 lines
452 B
C++
#include "MainWindow.h"
|
|
#include "RendererWidget.h"
|
|
#include "qslider.h"
|
|
|
|
MainWindow::MainWindow(QWidget *parent)
|
|
: QMainWindow(parent)
|
|
{
|
|
ui.setupUi(this);
|
|
QObject::connect(ui.horizontalSlider, &QSlider::valueChanged,
|
|
ui.openGLWidget, &RendererWidget::setMainLightPitch);
|
|
QObject::connect(ui.horizontalSlider_2, &QSlider::valueChanged,
|
|
ui.openGLWidget, &RendererWidget::setMainLightYaw);
|
|
}
|
|
|
|
MainWindow::~MainWindow()
|
|
{}
|