MagicSmoke
$VERSION$
|
simple dialog to enter payment data More...
#include <payedit.h>
Public Slots | |
void | setMaximum (qint64) |
set the maximum that can be entered More... | |
void | setValue (qint64) |
set the current money value in cents More... | |
Public Member Functions | |
MPaymentDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
instantiate the dialog More... | |
QString | paydata () const |
returns the currently entered payment data More... | |
QString | paytype () const |
returns the selected payment type More... | |
qint64 | value () const |
returns the currently set money value in cents More... | |
simple dialog to enter payment data
MPaymentDialog::MPaymentDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
instantiate the dialog
References getDefaultPayType(), getPayTypeCache(), and req.
QString MPaymentDialog::paydata | ( | ) | const |
returns the currently entered payment data
QString MPaymentDialog::paytype | ( | ) | const |
returns the selected payment type
|
slot |
set the maximum that can be entered
References MCentSpinBox::setRange().
|
slot |
set the current money value in cents
References MCentSpinBox::setValue().
qint64 MPaymentDialog::value | ( | ) | const |
returns the currently set money value in cents
References MCentSpinBox::value().