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.
25 lines
424 B
25 lines
424 B
#include "addtradedialog.h"
|
|
#include "ui_addtradedialog.h"
|
|
#include <QMessageBox>
|
|
#include <QDebug>
|
|
#include "userdata.h"
|
|
|
|
AddTradeDialog::AddTradeDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::AddTradeDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
AddTradeDialog::~AddTradeDialog()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void AddTradeDialog::on_pushButton_OK_clicked()
|
|
{
|
|
UserData::Instanse()->AddTradeRecord();
|
|
this->accept();
|
|
}
|
|
|