equal
deleted
inserted
replaced
401 connect(mapper, SIGNAL(mapped(int)), this, SLOT(colorButtonClicked(int))); |
401 connect(mapper, SIGNAL(mapped(int)), this, SLOT(colorButtonClicked(int))); |
402 |
402 |
403 QPushButton * btn = new QPushButton(this); |
403 QPushButton * btn = new QPushButton(this); |
404 gbCLayout->addWidget(btn, (model->rowCount() - 1) / 3 + 1, 0, 1, 3); |
404 gbCLayout->addWidget(btn, (model->rowCount() - 1) / 3 + 1, 0, 1, 3); |
405 btn->setText(tr("Reset to default colors")); |
405 btn->setText(tr("Reset to default colors")); |
|
406 connect(btn, SIGNAL(clicked()), &DataManager::instance(), SLOT(resetColors())); |
406 } |
407 } |
407 |
408 |
408 { |
409 { |
409 IconedGroupBox * gbMisc = new IconedGroupBox(this); |
410 IconedGroupBox * gbMisc = new IconedGroupBox(this); |
410 gbMisc->setIcon(QIcon(":/res/Settings.png")); |
411 gbMisc->setIcon(QIcon(":/res/Settings.png")); |