QTfrontend/ui/page/pageoptions.cpp
changeset 7681 26978d581070
parent 7680 46a91cbed8db
child 7700 fc44e4e33d1c
equal deleted inserted replaced
7680:46a91cbed8db 7681:26978d581070
   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"));