2019-06-08 19:14:38 -07:00
|
|
|
#include "tycho.h"
|
|
|
|
#include "mapprops.h"
|
|
|
|
#include "../ui/ui_mapprops.h"
|
|
|
|
|
2019-06-10 11:44:25 -07:00
|
|
|
#include <QDialogButtonBox>
|
|
|
|
|
2019-06-08 19:14:38 -07:00
|
|
|
MapProps::MapProps(QWidget *parent) :
|
|
|
|
QDialog(parent),
|
|
|
|
ui(new Ui::MapProps)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
2019-06-10 11:44:25 -07:00
|
|
|
|
|
|
|
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();
|
2019-06-08 19:14:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
MapProps::~MapProps()
|
|
|
|
{
|
|
|
|
dbgPrintFunc();
|
|
|
|
}
|
|
|
|
|
|
|
|
// EOF
|