Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
completer_utils.cpp File Reference
#include "completer_utils.h"
#include "card_completer_styler.h"
#include <QCompleter>
#include <QLineEdit>
#include <QObject>
#include <QRegularExpression>
#include <QStringListModel>
#include <libcockatrice/models/database/card/card_completer_proxy_model.h>
#include <libcockatrice/models/database/card/card_search_model.h>
#include <libcockatrice/models/database/card_database_display_model.h>
Include dependency graph for completer_utils.cpp:

Functions

CardCompleterSetup createCardCompleter (CardDatabaseDisplayModel *displayModel, QObject *parent, int maxVisibleItems)
void connectCardCompleterSearch (QLineEdit *edit, const CardCompleterSetup &setup)
QCompleter * createMentionCompleter (QStringListModel *model, QObject *parent)

Function Documentation

◆ connectCardCompleterSearch()

void connectCardCompleterSearch ( QLineEdit * edit,
const CardCompleterSetup & setup )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createCardCompleter()

CardCompleterSetup createCardCompleter ( CardDatabaseDisplayModel * displayModel,
QObject * parent,
int maxVisibleItems )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createMentionCompleter()

QCompleter * createMentionCompleter ( QStringListModel * model,
QObject * parent )
Here is the caller graph for this function: