mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-15 19:29:58 +01:00
added user interface to select what to do with a key
This commit is contained in:
@@ -95,6 +95,16 @@ void ChromaWindow::createControls() {
|
||||
select_mode->addItem("Replace with Filter");
|
||||
select_mode->addItem("Replace with Image");
|
||||
|
||||
select_setimage = new QPushButton("Image", this);
|
||||
select_setimage->setGeometry(20, 265, 60, 20);
|
||||
|
||||
select_image_path = new QLabel("Test Path", this);
|
||||
select_image_path->setGeometry(85, 265, 400-85-5, 20);
|
||||
|
||||
keys_enabled = new QCheckBox("Enable", this);
|
||||
keys_enabled->setGeometry(315, 240, 80, 20);
|
||||
|
||||
connect(select_setimage, SIGNAL(clicked()), this, SLOT(setImage()));
|
||||
connect(color_add, SIGNAL(clicked()), this, SLOT(colorAdd()));
|
||||
connect(color_remove, SIGNAL(clicked()), this, SLOT(colorRemove()));
|
||||
connect(color_okay, SIGNAL(clicked()), this, SLOT(colorSet()));
|
||||
@@ -103,6 +113,10 @@ void ChromaWindow::createControls() {
|
||||
}
|
||||
|
||||
|
||||
void ChromaWindow::setImage() {
|
||||
|
||||
}
|
||||
|
||||
void ChromaWindow::openColorSelectRange() {
|
||||
// set to use range
|
||||
string_low->setText(tr("<b>BGR Low:</b> "));
|
||||
|
||||
Reference in New Issue
Block a user