00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "Iguana/Controls/src/IgMatEdMainMenu.h" 00004 #include <classlib/utils/DebugAids.h> 00005 #include <qpopupmenu.h> 00006 00007 //<<<<<< PRIVATE DEFINES >>>>>> 00008 //<<<<<< PRIVATE CONSTANTS >>>>>> 00009 //<<<<<< PRIVATE TYPES >>>>>> 00010 //<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>> 00011 //<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>> 00012 //<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>> 00013 //<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>> 00014 //<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>> 00015 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>> 00016 00017 IgMatEdMainMenu::IgMatEdMainMenu (QWidget *parent) 00018 :QMenuBar (parent), 00019 m_parent (parent), 00020 m_fileMenu (0) 00021 { 00022 ASSERT (m_parent); 00023 m_fileMenu = new QPopupMenu(m_parent); 00024 00025 m_fileMenu->insertItem ("Load G4Material Map",LOAD_G4_MATERIAL_MAP); 00026 m_fileMenu->insertItem ("Save G4Material Map",SAVE_G4_MATERIAL_MAP); 00027 m_fileMenu->insertItem ("Save Materials",SAVE_MATERIALS); 00028 00029 this->insertItem ("&File", m_fileMenu); 00030 }