equal
deleted
inserted
replaced
47 QListView * listview = dynamic_cast<QListView*>(dist); |
47 QListView * listview = dynamic_cast<QListView*>(dist); |
48 if (button || textfield || checkbox || droplist || slider || tab || listview) |
48 if (button || textfield || checkbox || droplist || slider || tab || listview) |
49 { |
49 { |
50 SDLInteraction::instance().playSoundFile("/Sounds/steps.ogg"); |
50 SDLInteraction::instance().playSoundFile("/Sounds/steps.ogg"); |
51 } |
51 } |
52 |
|
53 return true; |
|
54 } |
52 } |
55 else if (event->type() == QEvent::Leave) |
53 else if (event->type() == QEvent::Leave) |
56 { |
54 { |
57 abstractpage = qobject_cast<AbstractPage*>(ui->Pages->currentWidget()); |
55 abstractpage = qobject_cast<AbstractPage*>(ui->Pages->currentWidget()); |
58 |
56 |
61 abstractpage->setButtonDescription( * abstractpage->getDefaultDescription()); |
59 abstractpage->setButtonDescription( * abstractpage->getDefaultDescription()); |
62 } |
60 } |
63 else |
61 else |
64 abstractpage->setButtonDescription(""); |
62 abstractpage->setButtonDescription(""); |
65 } |
63 } |
66 |
|
67 return false; |
64 return false; |
68 } |
65 } |
69 |
66 |
70 void MouseOverFilter::setUi(Ui_HWForm *uiForm) |
67 void MouseOverFilter::setUi(Ui_HWForm *uiForm) |
71 { |
68 { |