mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: port context menu to QtQuick
This is for desktop only. We will have to think about what to do on mobile. Either a "hamburger menu" or a "long click" seem to be the most reasonable options. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b099e17042
commit
c1c35ad48b
4 changed files with 84 additions and 15 deletions
|
@ -109,6 +109,8 @@ private:
|
|||
void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
void mouseDoubleClickEvent(QMouseEvent *event) override;
|
||||
void keyPressEvent(QKeyEvent *e) override;
|
||||
void contextMenu(const QPointF pos, const QPoint globalPos);
|
||||
void addSetpointChange(int seconds);
|
||||
|
||||
ChartItemPtr<ToolTipItem> tooltip;
|
||||
void updateTooltip(QPointF pos, bool plannerMode, int animSpeed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue