MuseScore  3.4
Music composition and notation
accessibletoolbutton.h
Go to the documentation of this file.
1 
2 #ifndef __ACCESSIBLETOOLBUTTON_H__
3 #define __ACCESSIBLETOOLBUTTON_H__
4 
5 namespace Ms {
6 
7 /*
8  * This class inherits QToolButton and allows tabbing through the tool bar's buttons
9  */
10 class AccessibleToolButton : public QToolButton{
11  Q_OBJECT
12 public:
13  AccessibleToolButton(QWidget* parent, QAction* defaultQAction = 0);
14  void focusInEvent(QFocusEvent* e);
15  void focusOutEvent(QFocusEvent* e);
16  void keyPressEvent(QKeyEvent *e);
17  };
18 
19 }
20 
21 #endif // __ACCESSIBLETOOLBUTTON_H__
AccessibleToolButton(QWidget *parent, QAction *defaultQAction=0)
Definition: accessibletoolbutton.cpp:8
void keyPressEvent(QKeyEvent *e)
Definition: accessibletoolbutton.cpp:36
Definition: aeolus.cpp:26
void focusOutEvent(QFocusEvent *e)
Definition: accessibletoolbutton.cpp:30
Definition: accessibletoolbutton.h:10
void focusInEvent(QFocusEvent *e)
Definition: accessibletoolbutton.cpp:20