#ifndef PAYDIALOG_H #define PAYDIALOG_H #include #include namespace Ui { class PayDialog; } class PayDialog : public QDialog { Q_OBJECT public: explicit PayDialog(QDecDouble total, QWidget *parent = 0); ~PayDialog(); private slots: void on_recieved_valueChanged(double value); private: Ui::PayDialog *ui; QDecDouble m_total; }; #endif // PAYDIALOG_H