From 4b8b007d24f69dd613f27caa146da00dc56dcff9 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 24 Mar 2012 20:27:58 +0100 Subject: [PATCH] some debugging for odf editing --- src/dialogs/orderwin.cpp | 9 +++++++-- src/templates/odfedit.cpp | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) 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); -- 1.7.2.5