Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
syntax_help.cpp File Reference
#include "syntax_help.h"
#include <QFile>
#include <QRegularExpression>
#include <QTextStream>
Include dependency graph for syntax_help.cpp:

Functions

static QTextBrowser * createBrowser (const QString &helpFile)
QTextBrowser * createSearchSyntaxHelpWindow (QLineEdit *lineEdit)
QTextBrowser * createDeckSearchSyntaxHelpWindow (QLineEdit *lineEdit)

Function Documentation

◆ createBrowser()

QTextBrowser * createBrowser ( const QString & helpFile)
static

Creates the card search syntax help window

Returns
the QTextBrowser
Here is the caller graph for this function:

◆ createDeckSearchSyntaxHelpWindow()

QTextBrowser * createDeckSearchSyntaxHelpWindow ( QLineEdit * lineEdit)

Creates the deck search syntax help window and connects its anchorClicked signal to the given QLineEdit. The window will automatically close when the QLineEdit is destroyed.

Returns
the QTextBrowser
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createSearchSyntaxHelpWindow()

QTextBrowser * createSearchSyntaxHelpWindow ( QLineEdit * lineEdit)

Creates the card search syntax help window and connects its anchorClicked signal to the given QLineEdit. The window will automatically close when the QLineEdit is destroyed.

Returns
the QTextBrowser
Here is the call graph for this function:
Here is the caller graph for this function: