Shop initial form design

This commit is contained in:
Zdenek Jonak
2016-04-07 22:22:53 +02:00
parent aa5b3cf76f
commit 43b7848420
17 changed files with 798 additions and 3 deletions
+42
View File
@@ -0,0 +1,42 @@
#include "shopform.h"
#include "ui_shopform.h"
#include "directsaleform.h"
#include "temporaryreceiptsaveform.h"
#include "receiptsaveform.h"
#include "receiptloadform.h"
ShopForm::ShopForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::ShopForm)
{
ui->setupUi(this);
}
ShopForm::~ShopForm()
{
delete ui;
}
void ShopForm::on_directSale_clicked()
{
DirectSaleForm *form = new DirectSaleForm(this);
form->show();
}
void ShopForm::on_temporarySaveButton_clicked()
{
TemporaryReceiptSaveForm *form = new TemporaryReceiptSaveForm(this);
form->show();
}
void ShopForm::on_saveButton_clicked()
{
ReceiptSaveForm *form = new ReceiptSaveForm;
form->show();
}
void ShopForm::on_loadButton_clicked()
{
ReceiptLoadForm *form = new ReceiptLoadForm;
form->show();
}