mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added Keyboard Navigation for the Star Widget
Keys up and down to increase / decrease stars and also fixed focus policy for it. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3e3fff262e
commit
f0da41c937
3 changed files with 60 additions and 13 deletions
|
@ -27,7 +27,9 @@ public slots:
|
|||
protected:
|
||||
/*reimp*/ void mouseReleaseEvent(QMouseEvent* );
|
||||
/*reimp*/ void paintEvent(QPaintEvent* );
|
||||
|
||||
/*reimp*/ void focusInEvent(QFocusEvent*);
|
||||
/*reimp*/ void focusOutEvent(QFocusEvent*);
|
||||
/*reimp*/ void keyPressEvent(QKeyEvent*);
|
||||
private:
|
||||
int current;
|
||||
bool readOnly;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue