#include "accommodationform.h" #include "ui_accommodationform.h" #include "dialog.h" AccommodationForm::AccommodationForm(QWidget *parent) : QWidget(parent), ui(new Ui::AccommodationForm) { ui->setupUi(this); } AccommodationForm::~AccommodationForm() { delete ui; } void AccommodationForm::on_pushButton_clicked() { Dialog *d = new Dialog(); d->open(); }