30 lines
575 B
C++
30 lines
575 B
C++
#include "tycho.h"
|
|
#include "mapprops.h"
|
|
|
|
#include <QDialogButtonBox>
|
|
|
|
MapProps::MapProps(QSharedPointer<ProjectModel> _proj, QWidget *parent) :
|
|
QDialog(parent),
|
|
proj(_proj)
|
|
{
|
|
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()));
|
|
|
|
dbgPrintFunc();
|
|
}
|
|
|
|
MapProps::~MapProps()
|
|
{
|
|
dbgPrintFunc();
|
|
}
|
|
|
|
// EOF
|