1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:47:34 +00:00

BrowserSettings: Add setting for search engine

This commit is contained in:
Sam Atkins 2021-11-25 12:26:54 +00:00 committed by Andreas Kling
parent e927048754
commit 11466c5316
4 changed files with 152 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include <LibGUI/CheckBox.h>
#include <LibGUI/ComboBox.h>
#include <LibGUI/SettingsWindow.h>
#include <LibGUI/TextBox.h>
@ -23,4 +24,11 @@ private:
RefPtr<GUI::TextBox> m_homepage_url_textbox;
RefPtr<GUI::CheckBox> m_show_bookmarks_bar_checkbox;
RefPtr<GUI::CheckBox> m_auto_close_download_windows_checkbox;
bool m_is_custom_search_engine { false };
RefPtr<GUI::CheckBox> m_enable_search_engine_checkbox;
RefPtr<GUI::Widget> m_search_engine_combobox_group;
RefPtr<GUI::ComboBox> m_search_engine_combobox;
RefPtr<GUI::Widget> m_custom_search_engine_group;
RefPtr<GUI::TextBox> m_custom_search_engine_textbox;
};