mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make possible to 'select' an handler by ctrl+click
Make possible to select an handler by ctrl+click on it, this will be used in the future for the shortcut actions, like delete, arrow keys, and such. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
ae08a81739
commit
f457415f7a
2 changed files with 18 additions and 1 deletions
|
@ -28,6 +28,9 @@ public:
|
|||
QGraphicsLineItem *to;
|
||||
int sec;
|
||||
int mm;
|
||||
protected:
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent* event);
|
||||
|
||||
};
|
||||
|
||||
class Ruler : public QGraphicsLineItem{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue