Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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]

Public Member Functions

 LineEditCompleter (QWidget *parent=nullptr)
void setCompleter (QCompleter *)
void setCompletionList (QStringList)
Public Member Functions inherited from LineEditUnfocusable
 LineEditUnfocusable (QWidget *parent=nullptr)
 LineEditUnfocusable (const QString &contents, QWidget *parent=nullptr)

Protected Member Functions

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

Private Slots

void insertCompletion (QString)

Private Member Functions

QString cursorWord (const QString &line) const

Private Attributes

QCompleter * c

Constructor & Destructor Documentation

◆ LineEditCompleter()

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

Member Function Documentation

◆ cursorWord()

QString LineEditCompleter::cursorWord ( const QString & line) const
private
Here is the caller graph for this function:

◆ focusOutEvent()

void LineEditCompleter::focusOutEvent ( QFocusEvent * e)
protected

◆ insertCompletion

void LineEditCompleter::insertCompletion ( QString arg)
privateslot
Here is the caller graph for this function:

◆ keyPressEvent()

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

◆ setCompleter()

void LineEditCompleter::setCompleter ( QCompleter * completer)
Here is the call graph for this function:

◆ setCompletionList()

void LineEditCompleter::setCompletionList ( QStringList completionList)

Member Data Documentation

◆ c

QCompleter* LineEditCompleter::c
private

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