Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LineEditCompleter Class Reference

#include <line_edit_completer.h>

Inheritance diagram for LineEditCompleter:
[legend]
Collaboration diagram for LineEditCompleter:
[legend]

Signals

void cardPartialChanged (const QString &partial)

Public Member Functions

 LineEditCompleter (QWidget *parent=nullptr)
void addCompleter (QCompleter *c, CompleterTrigger trigger)
bool hasVisibleCompleterPopup () const
void hideCompleterPopups ()
Public Member Functions inherited from LineEditUnfocusable
 LineEditUnfocusable (QWidget *parent=nullptr)
 LineEditUnfocusable (const QString &contents, QWidget *parent=nullptr)

Protected Member Functions

void keyPressEvent (QKeyEvent *event) override
void focusOutEvent (QFocusEvent *e) override
Protected Member Functions inherited from LineEditUnfocusable
void keyPressEvent (QKeyEvent *event) override
bool eventFilter (QObject *watched, QEvent *event) override

Private Slots

void insertCompletion (const QString &text)

Private Member Functions

void insertCompletion (QCompleter *completer, const QString &completion)

Private Attributes

QList< CompleterInfocompleters

Constructor & Destructor Documentation

◆ LineEditCompleter()

LineEditCompleter::LineEditCompleter ( QWidget * parent = nullptr)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ addCompleter()

void LineEditCompleter::addCompleter ( QCompleter * c,
CompleterTrigger trigger )
Here is the call graph for this function:

◆ cardPartialChanged

void LineEditCompleter::cardPartialChanged ( const QString & partial)
signal
Here is the caller graph for this function:

◆ focusOutEvent()

void LineEditCompleter::focusOutEvent ( QFocusEvent * e)
overrideprotected
Here is the call graph for this function:

◆ hasVisibleCompleterPopup()

bool LineEditCompleter::hasVisibleCompleterPopup ( ) const

◆ hideCompleterPopups()

void LineEditCompleter::hideCompleterPopups ( )
Here is the caller graph for this function:

◆ insertCompletion [1/2]

void LineEditCompleter::insertCompletion ( const QString & text)
privateslot
Here is the call graph for this function:

◆ insertCompletion() [2/2]

void LineEditCompleter::insertCompletion ( QCompleter * completer,
const QString & completion )
private
Here is the caller graph for this function:

◆ keyPressEvent()

void LineEditCompleter::keyPressEvent ( QKeyEvent * event)
overrideprotected
Here is the call graph for this function:

Member Data Documentation

◆ completers

QList<CompleterInfo> LineEditCompleter::completers
private

The documentation for this class was generated from the following files: