added slots for button click signals

This commit is contained in:
lostjared
2018-11-10 15:40:28 -08:00
parent ce3936c113
commit 5e3c396f64
2 changed files with 16 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ void ChromaWindow::createControls() {
color_remove->setGeometry(320-10, 155, 75, 20);
color_okay = new QPushButton(tr("Set Keys"), this);
color_okay->setGeometry(320-10,210, 75, 20);
connect(color_add, SIGNAL(clicked()), this, SLOT(colorAdd()));
connect(color_remove, SIGNAL(clicked()), this, SLOT(colorRemove()));
connect(color_okay, SIGNAL(clicked()), this, SLOT(colorSet()));
}
@@ -55,3 +58,13 @@ void ChromaWindow::openColorSelectTolerance() {
string_low->setText(tr("<b>Tolerance -</b>"));
string_high->setText(tr("<b>Tolerance +</b>"));
}
void ChromaWindow::colorAdd() {
}
void ChromaWindow::colorRemove() {
}
void ChromaWindow::colorSet() {
}