implement equalizer widget. access to legacy equalizer is now possible

This commit is contained in:
Thomas Frauendorfer 2008-02-04 18:26:36 +01:00
parent 47d8e323ab
commit ac44b4efc6
6 changed files with 168 additions and 21 deletions

View file

@ -217,6 +217,7 @@ MainDisplay::SetupToggleButtons (void)
{
QSettings s;
m_eq = new ToggleButton (this, Skin::EQ_ON_0, Skin::EQ_ON_1,
Skin::EQ_OFF_0, Skin::EQ_OFF_1);
m_eq->move(219, 58);
@ -225,7 +226,7 @@ MainDisplay::SetupToggleButtons (void)
m_mw->getEQ (), SLOT (setVisible (bool)));
connect (m_mw->getEQ (), SIGNAL (visibilityChanged (bool)),
m_eq, SLOT (setChecked (bool)));
m_eq->setEnabled(false); // FIXME: Disabled for now, equalizer doesn't work yet
m_pls = new ToggleButton (this, Skin::PLS_ON_0, Skin::PLS_ON_1,
Skin::PLS_OFF_0, Skin::PLS_OFF_1);
@ -245,7 +246,7 @@ MainDisplay::SetupToggleButtons (void)
m_repeat = new ToggleButton (this, Skin::REPEAT_ON_0, Skin::REPEAT_ON_1,
Skin::REPEAT_OFF_0, Skin::REPEAT_OFF_1);
m_repeat->move(210, 89);
// m_repeat->setEnabled(false); // FIXME: Disabled button for now, not yet implemented
m_repeat->setEnabled(false); // FIXME: Disabled button for now, not yet implemented
}