mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-21 14:20:03 +01:00
added slots for button click signals
This commit is contained in:
@@ -41,6 +41,9 @@ void ChromaWindow::createControls() {
|
|||||||
color_remove->setGeometry(320-10, 155, 75, 20);
|
color_remove->setGeometry(320-10, 155, 75, 20);
|
||||||
color_okay = new QPushButton(tr("Set Keys"), this);
|
color_okay = new QPushButton(tr("Set Keys"), this);
|
||||||
color_okay->setGeometry(320-10,210, 75, 20);
|
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_low->setText(tr("<b>Tolerance -</b>"));
|
||||||
string_high->setText(tr("<b>Tolerance +</b>"));
|
string_high->setText(tr("<b>Tolerance +</b>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ChromaWindow::colorAdd() {
|
||||||
|
|
||||||
|
}
|
||||||
|
void ChromaWindow::colorRemove() {
|
||||||
|
|
||||||
|
}
|
||||||
|
void ChromaWindow::colorSet() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ public:
|
|||||||
public slots:
|
public slots:
|
||||||
void openColorSelectRange();
|
void openColorSelectRange();
|
||||||
void openColorSelectTolerance();
|
void openColorSelectTolerance();
|
||||||
|
void colorAdd();
|
||||||
|
void colorRemove();
|
||||||
|
void colorSet();
|
||||||
private:
|
private:
|
||||||
void createControls();
|
void createControls();
|
||||||
QRadioButton *button_select_range, *button_select_tolerance;
|
QRadioButton *button_select_range, *button_select_tolerance;
|
||||||
|
|||||||
Reference in New Issue
Block a user