Maraiah/source/tycho/cc_source/mapprops.cc

32 lines
639 B
C++
Raw Normal View History

#include "tycho.h"
#include "mapprops.h"
#include "../ui/ui_mapprops.h"
#include <QDialogButtonBox>
2019-06-13 18:10:33 -07:00
MapProps::MapProps(QSharedPointer<ProjectModel> _proj, QWidget *parent) :
QDialog(parent),
2019-06-13 18:10:33 -07:00
ui(new Ui::MapProps),
proj(_proj)
{
ui->setupUi(this);
setModal(true);
auto bbox = new QDialogButtonBox(this);
bbox->setStandardButtons(QDialogButtonBox::Cancel | QDialogButtonBox::Ok);
ui->verticalLayout->addWidget(bbox);
connect(bbox, SIGNAL(accepted()), this, SLOT(accept()));
connect(bbox, SIGNAL(rejected()), this, SLOT(reject()));
2019-06-10 09:05:05 -07:00
dbgPrintFunc();
}
MapProps::~MapProps()
{
dbgPrintFunc();
}
// EOF