void AiMenuBar::enabledChilds ( bool  e  ) 

enable and desable child's

Parameters:
e : enable child's ( for supporting *BAD* users manipulation =) Oops! )

Definition at line 304 of file aimenubar.cpp.

00305 {
00306     //~ file menu
00307     {
00308         QAction * fileSave  = this->findChild< QAction * >( "fileSave");
00309         QAction * fileSaveAs= this->findChild< QAction * >( "fileSaveAs");
00310         QAction * filePrint = this->findChild< QAction * >( "filePrint");
00311         QAction * fileClear = this->findChild< QAction * >( "fileClear");
00312 
00313         fileSave->setEnabled    ( e );
00314         fileSaveAs->setEnabled  ( e );
00315         filePrint->setEnabled   ( e );
00316         fileClear->setEnabled   ( e );
00317     }
00318 
00319     //~ zoom menu
00320     {
00321         QMenu * zoomMenu = this->findChild< QMenu * >( "zoomMenu" ) ;
00322         zoomMenu->setEnabled    ( e );
00323     }
00324 
00325     //~ image menu
00326     {
00327         QMenu * imageMenu = this->findChild< QMenu * >( "imageMenu" ) ;
00328         imageMenu->setEnabled   ( e );
00329     }
00330 }

 All Classes Namespaces Files Functions Variables Typedefs

Generated on Sat Feb 27 08:33:20 2010 for AiFractals by  doxygen 1.6.1