You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
543 B
35 lines
543 B
#ifndef COST_H
|
|
#define COST_H
|
|
|
|
#include <QDialog>
|
|
#include "message.h"
|
|
|
|
namespace Ui {
|
|
class cost;
|
|
}
|
|
class message;
|
|
class cost : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit cost(QWidget *parent = 0);
|
|
~cost();
|
|
|
|
double T,money,free,max;
|
|
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
void Slot_cost(int time,QString number);
|
|
void Slot_rules(double t,double m,double f,double max);
|
|
|
|
private:
|
|
Ui::cost *ui;
|
|
message *m;
|
|
|
|
signals:
|
|
void Signal_message(QString number,int total,double pay);
|
|
};
|
|
|
|
#endif // COST_H
|