cambios cosméticos. protege mejor el cambio de medios.
This commit is contained in:
parent
6a22534686
commit
029bcdc47e
8 changed files with 123 additions and 76 deletions
|
|
@ -2,20 +2,22 @@
|
|||
|
||||
#include <QBoxLayout>
|
||||
#include "dmxPersonality.h"
|
||||
#include "defines.h"
|
||||
|
||||
#define BORDER "#CFB0C9;"
|
||||
#define BACK "#281024;"
|
||||
|
||||
FilterBankWidget::FilterBankWidget(QWidget *parent)
|
||||
: QWidget{parent}
|
||||
{
|
||||
QHBoxLayout *layout = new QHBoxLayout;
|
||||
layout->setAlignment(Qt::AlignHCenter);
|
||||
layout->setContentsMargins(0, 2, 0, 2);
|
||||
layout->setSpacing(0);
|
||||
this->setStyleSheet("border: 2px solid #5a4855;"
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
this->setStyleSheet("border: 1px solid #CFB0C9;"
|
||||
"margin: 0px;"
|
||||
"margin-top: 3px;"
|
||||
"margin-bottom: 3px;"
|
||||
"background-color: #383034;"
|
||||
);
|
||||
"background-color: #080402;"
|
||||
"font-size: 13px;");
|
||||
for (int i = 0; i < 13; i++) {
|
||||
fb[i] = new ClickableDoubleSpinBox;
|
||||
const char *name = dmxChannelToString(i + 9);
|
||||
|
|
@ -27,10 +29,11 @@ FilterBankWidget::FilterBankWidget(QWidget *parent)
|
|||
m_bypass = new QCheckBox;
|
||||
master->addWidget(m_bypass);
|
||||
m_bypass->setText("Bypass");
|
||||
m_bypass->setStyleSheet("QCheckBox { border: 2px solid #2a0825;"
|
||||
m_bypass->setMinimumWidth(MIN_WIDTH / 4);
|
||||
m_bypass->setStyleSheet("QCheckBox { border: 1px solid #CFB0C9;"
|
||||
"margin: 0px;"
|
||||
"background-color: #885074;"
|
||||
"font-size: 7px;}");
|
||||
"background-color: #c82840;"
|
||||
"font-size: 8px;}");
|
||||
connect(m_bypass, SIGNAL(stateChanged(int)), this, SLOT(bypassChanged(int)));
|
||||
master->addWidget(fb[0]);
|
||||
layout->addLayout(master);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue