ba51e53080
modified: mscore/accessibletoolbutton.h
16 lines
387 B
C++
16 lines
387 B
C++
|
|
namespace Ms {
|
|
|
|
/*
|
|
* This class inherits QToolButton and allows tabbing through the tool bar's buttons
|
|
*/
|
|
class AccessibleToolButton : public QToolButton{
|
|
Q_OBJECT
|
|
public:
|
|
AccessibleToolButton(QWidget* parent, QAction* defaultQAction );
|
|
void focusInEvent(QFocusEvent* e);
|
|
void focusOutEvent(QFocusEvent* e);
|
|
void keyPressEvent(QKeyEvent *e);
|
|
};
|
|
|
|
}
|