Fixed compiling under new Qt versions
This commit is contained in:
@@ -8,7 +8,7 @@ Matrix4x4Widget::Matrix4x4Widget(QWidget *parent) :
|
|||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
{
|
{
|
||||||
auto layout = new QGridLayout(this);
|
auto layout = new QGridLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setContentsMargins({});
|
||||||
layout->addWidget(m_doubleSpinBox11 = new QDoubleSpinBox(this), 0, 0);
|
layout->addWidget(m_doubleSpinBox11 = new QDoubleSpinBox(this), 0, 0);
|
||||||
layout->addWidget(m_doubleSpinBox12 = new QDoubleSpinBox(this), 0, 1);
|
layout->addWidget(m_doubleSpinBox12 = new QDoubleSpinBox(this), 0, 1);
|
||||||
layout->addWidget(m_doubleSpinBox13 = new QDoubleSpinBox(this), 0, 2);
|
layout->addWidget(m_doubleSpinBox13 = new QDoubleSpinBox(this), 0, 2);
|
||||||
|
@@ -7,7 +7,7 @@ QuaternionWidget::QuaternionWidget(QWidget *parent) :
|
|||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
{
|
{
|
||||||
auto layout = new QHBoxLayout(this);
|
auto layout = new QHBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setContentsMargins({});
|
||||||
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxZ = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxZ = new QDoubleSpinBox(this));
|
||||||
|
@@ -9,7 +9,7 @@ UrlWidget::UrlWidget(QWidget *parent) :
|
|||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
{
|
{
|
||||||
auto layout = new QHBoxLayout(this);
|
auto layout = new QHBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setContentsMargins({});
|
||||||
layout->addWidget(m_lineEdit = new QLineEdit(this));
|
layout->addWidget(m_lineEdit = new QLineEdit(this));
|
||||||
{
|
{
|
||||||
auto toolButton = new QToolButton(this);
|
auto toolButton = new QToolButton(this);
|
||||||
|
@@ -7,7 +7,7 @@ Vector2DWidget::Vector2DWidget(QWidget *parent) :
|
|||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
{
|
{
|
||||||
auto layout = new QHBoxLayout(this);
|
auto layout = new QHBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setContentsMargins({});
|
||||||
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
|
@@ -7,7 +7,7 @@ Vector3DWidget::Vector3DWidget(QWidget *parent) :
|
|||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
{
|
{
|
||||||
auto layout = new QHBoxLayout(this);
|
auto layout = new QHBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setContentsMargins({});
|
||||||
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxZ = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxZ = new QDoubleSpinBox(this));
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
Vector4DWidget::Vector4DWidget(QWidget *parent) : QWidget(parent)
|
Vector4DWidget::Vector4DWidget(QWidget *parent) : QWidget(parent)
|
||||||
{
|
{
|
||||||
auto layout = new QHBoxLayout(this);
|
auto layout = new QHBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setContentsMargins({});
|
||||||
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxX = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxY = new QDoubleSpinBox(this));
|
||||||
layout->addWidget(m_doubleSpinBoxZ = new QDoubleSpinBox(this));
|
layout->addWidget(m_doubleSpinBoxZ = new QDoubleSpinBox(this));
|
||||||
|
Reference in New Issue
Block a user