mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 21:00:13 +01:00
added info outputted when setting filters
This commit is contained in:
@@ -604,6 +604,12 @@ void AC_MainWindow::comboFilterChanged(int) {
|
|||||||
QTextStream stream(&str);
|
QTextStream stream(&str);
|
||||||
stream << "Filter changed to: " << filters->currentText() << "\n";
|
stream << "Filter changed to: " << filters->currentText() << "\n";
|
||||||
Log(str);
|
Log(str);
|
||||||
|
std::string text = filters->currentText().toStdString();
|
||||||
|
if(text.find("Image") != std::string::npos)
|
||||||
|
Log(tr("Set an Image to use this filter\n"));
|
||||||
|
else if(text.find("SubFilter") != std::string::npos)
|
||||||
|
Log(tr("Set a SubFilter to use this filter\n"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AC_MainWindow::setFilterSingle() {
|
void AC_MainWindow::setFilterSingle() {
|
||||||
@@ -624,6 +630,12 @@ void AC_MainWindow::addClicked() {
|
|||||||
QTextStream stream(&qs);
|
QTextStream stream(&qs);
|
||||||
stream << "Added Filter: " << filters->currentText() << "\n";
|
stream << "Added Filter: " << filters->currentText() << "\n";
|
||||||
Log(qs);
|
Log(qs);
|
||||||
|
std::string text = filters->currentText().toStdString();
|
||||||
|
if(text.find("Image") != std::string::npos)
|
||||||
|
Log(tr("Set an Image to use this filter\n"));
|
||||||
|
else if(text.find("SubFilter") != std::string::npos)
|
||||||
|
Log(tr("Set a SubFilter to use this filter\n"));
|
||||||
|
|
||||||
std::vector<std::pair<int, int>> v;
|
std::vector<std::pair<int, int>> v;
|
||||||
buildVector(v);
|
buildVector(v);
|
||||||
playback->setVector(v);
|
playback->setVector(v);
|
||||||
|
|||||||
@@ -63,6 +63,15 @@ void SearchWindow::add_current() {
|
|||||||
QListWidgetItem *in = search_list->item(index);
|
QListWidgetItem *in = search_list->item(index);
|
||||||
custom_list->addItem(in->text());
|
custom_list->addItem(in->text());
|
||||||
main_window->updateList();
|
main_window->updateList();
|
||||||
|
std::string text = in->text().toStdString();
|
||||||
|
if(text.find("Image") != std::string::npos)
|
||||||
|
main_window->Log(tr("Set an Image to use this filter\n"));
|
||||||
|
else if(text.find("SubFilter") != std::string::npos)
|
||||||
|
main_window->Log(tr("Set a SubFilter to use this filter\n"));
|
||||||
|
QString qtext;
|
||||||
|
QTextStream stream(&qtext);
|
||||||
|
stream << "Filter set to: " << in->text() << "\n";
|
||||||
|
main_window->Log(qtext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user