Isis 3 Programmer Reference
Isis::ProjectItemViewMenu Class Reference

QMenu subclass that overrides the closeEvent. More...

#include <ProjectItemViewMenu.h>

Inheritance diagram for Isis::ProjectItemViewMenu:
Inheritance graph
Collaboration diagram for Isis::ProjectItemViewMenu:
Collaboration graph

Signals

void menuClosed ()
 

Public Member Functions

 ProjectItemViewMenu (const QString &title, QWidget *parent=0)
 

Private Member Functions

void closeEvent (QCloseEvent *event)
 Overrides the closeEvent to emit the signal menuClosed(). More...
 

Detailed Description

QMenu subclass that overrides the closeEvent.

Used in views to disable actions when a menu is visible and a user clicks outside of a view.

Author
2018-06-27 Kaitlyn Lee
History:
2018-06-27 Kaitlyn Lee - Original version.

Definition at line 26 of file ProjectItemViewMenu.h.

Member Function Documentation

◆ closeEvent()

void Isis::ProjectItemViewMenu::closeEvent ( QCloseEvent *  event)
private

Overrides the closeEvent to emit the signal menuClosed().

menuClosed() is connected to the slot disableActions() in a view.

Parameters
eventThe close event

Definition at line 20 of file ProjectItemViewMenu.cpp.


The documentation for this class was generated from the following files: