mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-16 03:39:59 +01:00
interface
This commit is contained in:
@@ -28,20 +28,28 @@ void ChromaWindow::createControls() {
|
||||
high_b->setGeometry(95, 90, 50, 20);
|
||||
high_g->setGeometry(170, 90, 50, 20);
|
||||
high_r->setGeometry(245, 90, 50, 20);
|
||||
QLabel *string_low, *string_high;
|
||||
string_low = new QLabel("<b>Low BGR:</b> ", this);
|
||||
string_high = new QLabel("<b>High BGR:</b> ", this);
|
||||
string_low = new QLabel("<b>BGR Low:</b> ", this);
|
||||
string_high = new QLabel("<b>BGR High:</b> ", this);
|
||||
string_low->setGeometry(15, 65, 75, 20);
|
||||
string_high->setGeometry(15, 90, 75, 20);
|
||||
|
||||
button_select_range->setChecked(true);
|
||||
color_keys = new QListWidget(this);
|
||||
color_keys->setGeometry(15, 130, 320-30, 100);
|
||||
color_add = new QPushButton("Add Key", this);
|
||||
color_add->setGeometry(320-10, 130, 75, 20);
|
||||
color_remove = new QPushButton("Remove", this);
|
||||
color_remove->setGeometry(320-10, 155, 75, 20);
|
||||
}
|
||||
|
||||
|
||||
void ChromaWindow::openColorSelectRange() {
|
||||
// set to use range
|
||||
string_low->setText(tr("<b>BGR Low:</b> "));
|
||||
string_high->setText(tr("<b>BGR High:</b>"));
|
||||
}
|
||||
|
||||
void ChromaWindow::openColorSelectTolerance() {
|
||||
// set to use tolerance
|
||||
string_low->setText(tr("<b>Tolerance -</b>"));
|
||||
string_high->setText(tr("<b>Tolerance +</b>"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user