fixed audio mixer board spacing problem
This commit is contained in:
parent
35b26094ae
commit
7f9f480400
2 changed files with 4 additions and 7 deletions
|
@ -30,9 +30,8 @@
|
|||
|
||||
/* Implementation *************************************************************/
|
||||
CChannelFader::CChannelFader ( QWidget* pNW,
|
||||
QHBoxLayout* pNPtLy,
|
||||
QString sName ) :
|
||||
pParentLayout ( pNPtLy )
|
||||
QHBoxLayout* pParentLayout,
|
||||
QString sName )
|
||||
{
|
||||
// create new GUI control objects and store pointers to them
|
||||
pMainGrid = new QGridLayout ( 2, 1 );
|
||||
|
@ -107,7 +106,7 @@ CAudioMixerBoard::CAudioMixerBoard ( QWidget* parent,
|
|||
setFrameShadow ( QFrame::Sunken );
|
||||
|
||||
// add hboxlayout with horizontal spacer
|
||||
pMainLayout = new QHBoxLayout ( this, 11, 6 );
|
||||
pMainLayout = new QHBoxLayout ( this, 11, 0 );
|
||||
pMainLayout->addItem ( new QSpacerItem ( 0, 0, QSizePolicy::Expanding ) );
|
||||
|
||||
// create all mixer controls and make them invisible
|
||||
|
|
|
@ -49,7 +49,7 @@ class CChannelFader : public QObject
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CChannelFader ( QWidget* pNW, QHBoxLayout* pNPtLy, QString sName );
|
||||
CChannelFader ( QWidget* pNW, QHBoxLayout* pParentLayout, QString sName );
|
||||
~CChannelFader()
|
||||
{
|
||||
pLabel->close();
|
||||
|
@ -71,8 +71,6 @@ protected:
|
|||
QSlider* pFader;
|
||||
QLabel* pLabel;
|
||||
|
||||
QHBoxLayout* pParentLayout;
|
||||
|
||||
public slots:
|
||||
void OnValueChanged ( int value );
|
||||
|
||||
|
|
Loading…
Reference in a new issue