![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <printing_selector_card_search_widget.h>
Public Member Functions | |
| PrintingSelectorCardSearchWidget (PrintingSelector *parent) | |
| Constructs a PrintingSelectorCardSearchWidget for searching cards by set name or set code. | |
| QString | getSearchText () |
| Retrieves the current text in the search bar. | |
Private Attributes | |
| QHBoxLayout * | layout |
| PrintingSelector * | parent |
| QLineEdit * | searchBar |
| QTimer * | searchDebounceTimer |
|
explicit |
Constructs a PrintingSelectorCardSearchWidget for searching cards by set name or set code.
This widget provides a search bar that allows users to search for cards by either their set name or set code. It uses a debounced timer to trigger the search action after the user stops typing.
| parent | The parent PrintingSelector widget that will handle the search results. |
| QString PrintingSelectorCardSearchWidget::getSearchText | ( | ) |
Retrieves the current text in the search bar.
|
private |
|
private |
|
private |
|
private |