Maraiah/tycho/cc/mapprops.cc

27 lines
531 B
C++
Raw Normal View History

#include "tycho.h"
MapProps::MapProps(std::weak_ptr<MapModel> _mapModel, QWidget *parent) :
QDialog(parent),
2019-06-17 03:32:22 -07:00
mapModel(_mapModel)
{
setupUi(this);
setModal(true);
auto bbox = new QDialogButtonBox(this);
bbox->setStandardButtons(QDialogButtonBox::Cancel | QDialogButtonBox::Ok);
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