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