Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
TabEdhRec Class Reference

#include <tab_edhrec.h>

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

Public Slots

void processApiJson (QNetworkReply *reply)
void prettyPrintJson (const QJsonValue &value, int indentLevel)
void setCard (CardInfoPtr _cardToQuery, bool isCommander=false)

Public Member Functions

 TabEdhRec (TabSupervisor *_tabSupervisor)
void retranslateUi () override
QString getTabText () const override
Public Member Functions inherited from Tab
 Tab (TabSupervisor *_tabSupervisor)
const QList< QMenu * > & getTabMenus () const
TabSupervisorgetTabSupervisor () const
bool getContentsChanged () const
void setContentsChanged (bool _contentsChanged)
virtual bool closeRequest ()
virtual void tabActivated ()

Public Attributes

QNetworkAccessManager * networkManager

Private Attributes

CardInfoPtr cardToQuery
EdhrecCommanderApiResponseDisplayWidgetdisplayWidget

Additional Inherited Members

Signals inherited from Tab
void userEvent (bool globalEvent=true)
void tabTextChanged (Tab *tab, const QString &newTabText)
Protected Slots inherited from Tab
void showCardInfoPopup (const QPoint &pos, const CardRef &cardRef)
void deleteCardInfoPopup (const QString &cardName)
Protected Member Functions inherited from Tab
void addTabMenu (QMenu *menu)
Protected Attributes inherited from Tab
TabSupervisortabSupervisor

Constructor & Destructor Documentation

◆ TabEdhRec()

TabEdhRec::TabEdhRec ( TabSupervisor * _tabSupervisor)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ getTabText()

QString TabEdhRec::getTabText ( ) const
inlinenodiscardoverridevirtual

Implements Tab.

◆ prettyPrintJson

void TabEdhRec::prettyPrintJson ( const QJsonValue & value,
int indentLevel )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processApiJson

void TabEdhRec::processApiJson ( QNetworkReply * reply)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void TabEdhRec::retranslateUi ( )
overridevirtual

Implements Tab.

◆ setCard

void TabEdhRec::setCard ( CardInfoPtr _cardToQuery,
bool isCommander = false )
slot

Member Data Documentation

◆ cardToQuery

CardInfoPtr TabEdhRec::cardToQuery
private

◆ displayWidget

EdhrecCommanderApiResponseDisplayWidget* TabEdhRec::displayWidget
private

◆ networkManager

QNetworkAccessManager* TabEdhRec::networkManager

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