13 #ifndef MAGICSMOKE_ORDERWIN_H
14 #define MAGICSMOKE_ORDERWIN_H
17 #include <QMainWindow>
28 class QStandardItemModel;
49 void printCurrentItem();
53 void printTickets(QList<MOTicket>);
57 void printVouchers(QList<MOVoucher>);
76 void changeVoucherValid();
83 void changeComments();
86 void changeShipping();
93 void changeCustData();
113 QLabel *m_orderid,*m_orderdate,*m_sentdate,*m_state,*m_paid,*m_total,*m_comment,
114 *m_shipmeth,*m_shipprice,*m_daddr,*m_iaddr,*m_soldby,*m_custname,*m_coupon;
116 QStandardItemModel *m_model;
117 QAction*m_res2order,*m_cancel,*m_ship,*m_pay,*m_payv,*m_refund;
118 QMap<QString,int>m_loopiter;
119 QString m_testTemplate;
134 void changeItem(
int);
136 QList<MOTicket> tickets;
137 QList<MOVoucher> vouchers;
161 void changeItem(
int);
163 QList<MOShipping> all;
MShippingChange(QWidget *, MOShipping, int)
creates the dialog
Definition: orderwin.cpp:1042
int price() const
returns the entered price in cent
Definition: orderwin.cpp:1099
MOrderWindow(QWidget *, const MOOrder &)
creates the order window
Definition: orderwin.cpp:103
~MOrderItemView()
Definition: orderwin.cpp:1013
convenience class: renders vouchers directly
Definition: ticketrender.h:77
convenience class: renders vouchers directly
Definition: ticketrender.h:69
this class represents a complete order
Definition: order.h:27
displays an order and allows the user to execute several commands on it
Definition: orderwin.h:32
helper class: allows to change the shipping option
Definition: orderwin.h:147
helper class: displays tickets and vouchers
Definition: orderwin.h:126
void setTestTemplateFile(QString)
used by the ODF editor: sets the template file to use for testing
Definition: orderwin.cpp:220
MOShipping selection() const
returns the selected shipping option, including corrected price
Definition: orderwin.cpp:1090
MOrderItemView(QWidget *, QList< MOTicket >, QList< MOVoucher >)
Definition: orderwin.cpp:991
This class encapsulates shipping types.
Definition: srcMOShipping.h:15