QtGUI: Add buttton to toggle the filter.

This commit is contained in:
FernandoS27
2021-10-21 02:05:16 +02:00
committed by Fernando Sahmkow
parent 9e065b9c7d
commit 2eff80b47f
5 changed files with 61 additions and 1 deletions

View File

@ -302,6 +302,7 @@ private:
void MigrateConfigFiles();
void UpdateWindowTitle(std::string_view title_name = {}, std::string_view title_version = {},
std::string_view gpu_vendor = {});
void UpdateFilterText();
void UpdateStatusBar();
void UpdateGPUAccuracyButton();
void UpdateStatusButtons();
@ -336,6 +337,7 @@ private:
QPushButton* gpu_accuracy_button = nullptr;
QPushButton* renderer_status_button = nullptr;
QPushButton* dock_status_button = nullptr;
QPushButton* filter_status_button = nullptr;
QTimer status_bar_update_timer;
std::unique_ptr<Config> config;