1#ifndef __GPUFILTER_HPP__
2#define __GPUFILTER_HPP__
21#include <QSortFilterProxyModel>
23#include <QStandardItemModel>
34 explicit GPUFilterDialog(
const QString &executablePath, QWidget *parent =
nullptr);
47 void settingsApplied(
bool enabled,
const QString &filterArgument,
int bufferSize);
bool isGPUFilterEnabled() const
Return whether GPU filtering is enabled.
QSortFilterProxyModel * proxyModel
QPushButton * removeButton
QListWidget * selectedFiltersList
QString getFilterArgument() const
Build CLI argument payload for the selected filter state.
QStringList getSelectedFilterIndices() const
Return selected filter indices in playback order.
QComboBox * filterComboBox
QPushButton * clearButton
int getBufferSize() const
Return frame-buffer depth used by filter chain.
QLineEdit * searchLineEdit
QMap< QString, int > filterNameToIndex
QCheckBox * enableCheckBox
void filterSearchChanged(const QString &text)
GPUFilterDialog(const QString &executablePath, QWidget *parent=nullptr)
QPushButton * cancelButton
QSpinBox * bufferSizeSpinBox
void loadFiltersFromExecutable()
void settingsApplied(bool enabled, const QString &filterArgument, int bufferSize)
Emitted when settings should be applied without closing the dialog.
QPushButton * applyButton
QStandardItemModel * filterModel