From: werner s. <wsc...@us...> - 2006-01-02 20:10:59
|
Update of /cvsroot/lmuse/muse/muse/mixer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22622/muse/mixer Modified Files: astrip.cpp strip.cpp Log Message: small beautifications ?! Index: strip.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/muse/mixer/strip.cpp,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** strip.cpp 28 Dec 2005 13:13:26 -0000 1.38 --- strip.cpp 2 Jan 2006 20:10:48 -0000 1.39 *************** *** 67,75 **** label = new QLabel; ! label->setFixedSize(STRIP_WIDTH-1, LABEL_HEIGHT); label->setTextFormat(Qt::PlainText); label->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); label->setLineWidth(2); ! label->setFrameStyle(0x36); updateLabel(); layout->addWidget(label); --- 67,75 ---- label = new QLabel; ! label->setFixedHeight(LABEL_HEIGHT); label->setTextFormat(Qt::PlainText); label->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); label->setLineWidth(2); ! label->setFrameStyle(QFrame::Sunken | QFrame::StyledPanel); updateLabel(); layout->addWidget(label); Index: astrip.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/muse/mixer/astrip.cpp,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** astrip.cpp 31 Dec 2005 11:36:18 -0000 1.78 --- astrip.cpp 2 Jan 2006 20:10:48 -0000 1.79 *************** *** 374,379 **** rack = new EffectRack(this, t); ! rack->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); ! rack->setFixedSize(STRIP_WIDTH, rack->sizeHint().height() + 2); layout->addWidget(rack); --- 374,379 ---- rack = new EffectRack(this, t); ! rack->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); ! rack->setFixedHeight(rack->sizeHint().height() + 2); layout->addWidget(rack); *************** *** 385,389 **** stereo = newStereoButton(this); stereo->setChecked(channel == 2); ! stereo->setFixedSize(STRIP_WIDTH/2-2, LABEL_HEIGHT); connect(stereo, SIGNAL(clicked(bool)), SLOT(stereoToggled(bool))); --- 385,390 ---- stereo = newStereoButton(this); stereo->setChecked(channel == 2); ! stereo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); ! stereo->setFixedHeight(LABEL_HEIGHT); connect(stereo, SIGNAL(clicked(bool)), SLOT(stereoToggled(bool))); *************** *** 394,398 **** pre->setToolTip(tr("pre fader - post fader")); pre->setChecked(t->prefader()); ! pre->setFixedSize(STRIP_WIDTH/2-2, LABEL_HEIGHT); connect(pre, SIGNAL(clicked(bool)), SLOT(preToggled(bool))); --- 395,400 ---- pre->setToolTip(tr("pre fader - post fader")); pre->setChecked(t->prefader()); ! pre->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); ! pre->setFixedHeight(LABEL_HEIGHT); connect(pre, SIGNAL(clicked(bool)), SLOT(preToggled(bool))); *************** *** 442,446 **** sl->setSuffix(tr("dB")); sl->setFrame(true); - sl->setFixedWidth(STRIP_WIDTH-6); sl->setValue(vol); --- 444,447 ---- |