New profile: add event manipulation to context menu

This got lost when we switched to the new profile.
Remove event works. Hide events does call hide() on the DiveEventItem but
for some reason it stays visible. I'll hope for one of the more
experienced Qt people to fix that.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-03-15 21:12:34 -07:00
parent cb41f34826
commit 401aa210ff
3 changed files with 80 additions and 8 deletions

View file

@ -74,6 +74,10 @@ slots: // Necessary to call from QAction's signals.
void setEmptyState();
void setProfileState();
void changeGas();
void addBookmark();
void hideEvents();
void unhideEvents();
void removeEvent();
protected:
virtual void resizeEvent(QResizeEvent *event);