Isis 3 Programmer Reference
ProjectItemViewMenu.h
1 #ifndef ProjectItemViewMenu_h
2 #define ProjectItemViewMenu_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QMenu>
13 
14 namespace Isis {
15 
26  class ProjectItemViewMenu : public QMenu {
27  Q_OBJECT
28 
29  public:
30  ProjectItemViewMenu(const QString &title, QWidget *parent = 0) : QMenu(title, parent){};
31 
32  signals:
33  void menuClosed();
34 
35  private:
36  void closeEvent(QCloseEvent *event);
37  };
38 }
39 
40 #endif
QWidget
QMenu
Isis::ProjectItemViewMenu::closeEvent
void closeEvent(QCloseEvent *event)
Overrides the closeEvent to emit the signal menuClosed().
Definition: ProjectItemViewMenu.cpp:20
Isis::ProjectItemViewMenu
QMenu subclass that overrides the closeEvent.
Definition: ProjectItemViewMenu.h:26
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16