36 lines
988 B
C++
36 lines
988 B
C++
#include "Gui/ParametersPanel/ParametersPanel.h"
|
|
#include <qboxlayout.h>
|
|
#include <QSpinBox>
|
|
#include <qwidget.h>
|
|
#include <QLineEdit>
|
|
|
|
ParametersPanel::ParametersPanel(QWidget *parent, Qt::WindowFlags f)
|
|
: QWidget(parent, f)
|
|
{
|
|
mainLayout_ = new QVBoxLayout();
|
|
parametersLayout_ = new QVBoxLayout();
|
|
bgWidget_ = new QWidget();
|
|
bgWidget_->setLayout(parametersLayout_);
|
|
|
|
bgWidget_->setObjectName("ParametersPanelBg");
|
|
bgWidget_->setStyleSheet(R"(
|
|
QWidget#ParametersPanelBg {
|
|
background-color: #282828;
|
|
border-radius: 10px;
|
|
}
|
|
)"
|
|
);
|
|
|
|
mainLayout_->addLayout(parametersLayout_);
|
|
mainLayout_->addWidget(bgWidget_);
|
|
|
|
parametersLayout_->addWidget(new QSpinBox());
|
|
parametersLayout_->addWidget(new QSpinBox());
|
|
parametersLayout_->addWidget(new QSpinBox());
|
|
parametersLayout_->addWidget(new QLineEdit());
|
|
parametersLayout_->addWidget(new QLineEdit());
|
|
|
|
|
|
setLayout(mainLayout_);
|
|
}
|