Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

labkiosk.ui.h

00001 /****************************************************************************
00002 ** ui.h extension file, included from the uic-generated form implementation.
00003 **
00004 ** If you wish to add, delete or rename functions or slots use
00005 ** Qt Designer which will update this file, preserving your code. Create an
00006 ** init() function in place of a constructor, and a destroy() function in
00007 ** place of a destructor.
00008 *****************************************************************************/
00009 
00010 void LabKiosk::init()
00011 {
00012     menuList->setColumnWidth( 1, 0 ) ;
00013     menuList->setColumnWidth( 2, 0 ) ;
00014     menuList->setColumnWidthMode( 0, QListView::Maximum ) ;
00015     
00016     menuList->setSelected( menuList->firstChild(), FALSE ) ;
00017 }
00018 
00019 
00020 
00021 void LabKiosk::doubleClicked( QListViewItem * item )
00022 {
00023     QString want = item->text( 2 ).stripWhiteSpace() ;
00024     if ( !want.isEmpty() ) {
00025         if ( want == "ProdManage" ) {
00026             
00027         } else if ( want == "ProdPressRec" ) {
00028             PressManager * dialog = new PressManager( this, "PressManager", TRUE ) ;
00029             dialog->setMode( 0 ) ;
00030             dialog->exec() ;
00031             delete dialog ;
00032         } else if ( want == "ProdTobaccoRec" ) {
00033             
00034         } else if ( want == "ProdStdRec" ) {
00035             
00036         } else if ( want == "ProdPressReturn" ) {
00037             PressManager * dialog = new PressManager( this, "PressManager", TRUE ) ;
00038             dialog->setMode( 1 ) ;
00039             dialog->exec() ;
00040             delete dialog ;
00041         } else if ( want == "ProdTobaccoReturn" ) {
00042             
00043         } else if ( want == "ProdStdReturn" ) {
00044             
00045         } else if ( want == "InvReportVend" ) {
00046             
00047         } else if ( want == "InvReportCats" ) {
00048             
00049         } else if ( want == "InvCatMgr" ) {
00050             
00051         } else if ( want == "InvCatsReport" ) {
00052         } else if ( want == "CustCreate" ) {
00053         } else if ( want == "CustLiableEdit" ) {
00054         } else if ( want == "CustEdit" ) {
00055         } else if ( want == "CustRemove" ) {
00056         } else if ( want == "CustLiableReport" ) {
00057         } else if ( want == "CustBuyReport" ) {
00058         } else if ( want == "CustBaseReport" ) {
00059         } else if ( want == "VendCreate" ) {
00060         } else if ( want == "VendEdit" ) {
00061         } else if ( want == "VendRemove" ) {
00062         } else if ( want == "VendSellReport" ) {
00063         } else if ( want == "VendBaseReport" ) {
00064         }
00065     }
00066 }

 

L.A.B. Project © 2001-2004 LAB Project & DJ Anubis