From: Konrad Rosenbaum Date: Sat, 24 Mar 2012 19:27:58 +0000 (+0100) Subject: some debugging for odf editing X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=4b8b007d24f69dd613f27caa146da00dc56dcff9;p=web%2Fkonrad%2Fsmoke.git some debugging for odf editing --- diff --git a/src/dialogs/orderwin.cpp b/src/dialogs/orderwin.cpp index ea0485d..e1b157c 100644 --- a/src/dialogs/orderwin.cpp +++ b/src/dialogs/orderwin.cpp @@ -89,7 +89,7 @@ class MOWTableView:public QTableView //constrain to absolute maximum if(absmax.width()addSpacing(10); vl->update(); - QSize sz=size();qDebug()<<"size"<addWidget(m_table=new MOWTableView,10); m_table->setModel(m_model=new QStandardItemModel(this)); @@ -429,6 +429,7 @@ void MOrderWindow::printBill() QMessageBox::warning(this,tr("Warning"),tr("Unable to get template file (bill). Giving up.")); return; } + qDebug()<<"printing bill using template"<mTestFile=tf.fileName(); + qDebug()<<"created template test file"<mTestFile; } //save the file saveFile(d->mTestFile);