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 QlabProductDetail::init() 00011 { 00012 QSqlCursor * vat = new QSqlCursor( "System_taxrates", TRUE ) ; 00013 vat->setFilter( "" ) ; 00014 vat->index( "recid" ) ; 00015 vat->select() ; 00016 while ( vat->next() ) { 00017 vatCombo->insertItem( vat->value( "tax_name" ).toString() ) ; 00018 } 00019 partsTable->setLeftMargin( 0 ) ; 00020 } 00021 00022 void QlabProductDetail::changeCategory() 00023 { 00024 QlabCategorySelector * dialog = new QlabCategorySelector( this, "CatSel" ) ; 00025 if ( dialog->exec() == QDialog::Accepted ) { 00026 qDebug( "Accepted" ) ; 00027 } 00028 } 00029 00030 00031 void QlabProductDetail::checkRef() 00032 { 00033 } 00034 00035 00036 void QlabProductDetail::setField() 00037 { 00038 00039 } 00040 00041 00042 void QlabProductDetail::recalc() 00043 { 00044 00045 } 00046 00047 00048 void QlabProductDetail::cancelChanges() 00049 { 00050 00051 } 00052 00053 00054 void QlabProductDetail::showMore() 00055 { 00056 00057 } 00058 00059 00060 void QlabProductDetail::acceptChanges() 00061 { 00062 00063 } 00064 00065 00066 void QlabProductDetail::printProd() 00067 { 00068 00069 } 00070 00071 00072 void QlabProductDetail::partAdd() 00073 { 00074 00075 } 00076 00077 00078 void QlabProductDetail::partEdit() 00079 { 00080 00081 } 00082 00083 00084 void QlabProductDetail::partDel() 00085 { 00086 00087 }