From: konrad Date: Sat, 25 Dec 2010 11:25:46 +0000 (+0000) Subject: start of audit dialog X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=10f720d2f5890a99e4d1c432bc96d1b2c64c057d;p=web%2Fkonrad%2Fsmoke.git start of audit dialog git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@676 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/dialogs/dialogs.pri b/src/dialogs/dialogs.pri index 6d9abe6..1b40913 100644 --- a/src/dialogs/dialogs.pri +++ b/src/dialogs/dialogs.pri @@ -11,7 +11,8 @@ HEADERS += \ dialogs/pricecatdlg.h \ dialogs/aclwin.h \ dialogs/flagedit.h \ - dialogs/wizard.h + dialogs/wizard.h \ + dialogs/orderauditdlg.h SOURCES += \ dialogs/configdialog.cpp \ @@ -26,6 +27,7 @@ SOURCES += \ dialogs/pricecatdlg.cpp \ dialogs/aclwin.cpp \ dialogs/flagedit.cpp \ - dialogs/wizard.cpp + dialogs/wizard.cpp \ + dialogs/orderauditdlg.cpp INCLUDEPATH += ./dialogs \ No newline at end of file diff --git a/src/dialogs/orderauditdlg.cpp b/src/dialogs/orderauditdlg.cpp new file mode 100644 index 0000000..aabe424 --- /dev/null +++ b/src/dialogs/orderauditdlg.cpp @@ -0,0 +1,19 @@ +// +// C++ Implementation: orderaudit dialog +// +// Description: +// +// +// Author: Konrad Rosenbaum , (C) 2010-2011 +// +// Copyright: See README/COPYING files that come with this distribution +// +// + +#include "orderauditdlg.h" + +MOrderAuditDialog::MOrderAuditDialog(const MTGetOrderAudit& audit, QWidget* parent) + : QDialog(parent) +{ + +} diff --git a/src/dialogs/orderauditdlg.h b/src/dialogs/orderauditdlg.h new file mode 100644 index 0000000..dbe3a42 --- /dev/null +++ b/src/dialogs/orderauditdlg.h @@ -0,0 +1,27 @@ +// +// C++ Interface: orderaudit dialog +// +// Description: +// +// +// Author: Konrad Rosenbaum , (C) 2010-2011 +// +// Copyright: See README/COPYING files that come with this distribution +// +// + +#ifndef MAGICSMOKE_ORDERAUDITDLG_H +#define MAGICSMOKE_ORDERAUDITDLG_H + +#include + +class MTGetOrderAudit; + +class MOrderAuditDialog:public QDialog +{ + Q_OBJECT + public: + MOrderAuditDialog(const MTGetOrderAudit&audit,QWidget*parent=0); +}; + +#endif diff --git a/src/dialogs/orderwin.cpp b/src/dialogs/orderwin.cpp index f273b4a..5d6ac60 100644 --- a/src/dialogs/orderwin.cpp +++ b/src/dialogs/orderwin.cpp @@ -4,7 +4,7 @@ // Description: // // -// Author: Konrad Rosenbaum , (C) 2008 +// Author: Konrad Rosenbaum , (C) 2008-2011 // // Copyright: See README/COPYING files that come with this distribution // @@ -14,6 +14,7 @@ #include "labeldlg.h" #include "misc.h" #include "odtrender.h" +#include "orderauditdlg.h" #include "orderwin.h" #include "ticketrender.h" #include "msinterface.h" @@ -1092,7 +1093,15 @@ void MOrderWindow::voucherAudit() void MOrderWindow::orderAudit() { MTGetOrderAudit oa=req->queryGetOrderAudit(m_order.orderid()); - qDebug()<<"order lines"<