mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-22 14:50:01 +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_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() {
|
||||
|
||||
}
|
||||
|
||||
@@ -11,6 +11,9 @@ public:
|
||||
public slots:
|
||||
void openColorSelectRange();
|
||||
void openColorSelectTolerance();
|
||||
void colorAdd();
|
||||
void colorRemove();
|
||||
void colorSet();
|
||||
private:
|
||||
void createControls();
|
||||
QRadioButton *button_select_range, *button_select_tolerance;
|
||||
|
||||
Reference in New Issue
Block a user