7 setWindowTitle(tr(
"CRE settings"));
9 QGridLayout*
layout =
new QGridLayout();
13 layout->addWidget(
new QLabel(tr(
"Map cache directory:"),
this), line, 0);
17 myMapCache->setText(QStandardPaths::standardLocations(QStandardPaths::DataLocation)[0]);
22 QDialogButtonBox* buttons =
new QDialogButtonBox(QDialogButtonBox::Save | QDialogButtonBox::Cancel, Qt::Horizontal,
this);
23 connect(buttons, SIGNAL(accepted()),
this, SLOT(accept()));
24 connect(buttons, SIGNAL(rejected()),
this, SLOT(reject()));
25 layout->addWidget(buttons, line, 0, 1, 2);
CRESettingsDialog(CRESettings *settings)
QString mapCacheDirectory() const