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

#include <tab_edhrec_main.h>

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

Public Slots

void processApiJson (QNetworkReply *reply)
void processCommanderResponse (QJsonObject reply, QString responseUrl="")
void processTopCardsResponse (QJsonObject reply)
void processTopTagsResponse (QJsonObject reply)
void processTopCommandersResponse (QJsonObject reply)
void processAverageDeckResponse (QJsonObject reply)
void prettyPrintJson (const QJsonValue &value, int indentLevel)
void setCard (CardInfoPtr _cardToQuery, bool isCommander=false)
void actNavigatePage (QString url)
void getTopCards ()
void getTopCommanders ()
void getTopTags ()

Public Member Functions

 TabEdhRecMain (TabSupervisor *_tabSupervisor)
void retranslateUi () override
void doSearch ()
QString getTabText () const override
CardSizeWidgetgetCardSizeSlider () const
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

QWidget * container
QWidget * navigationContainer
QWidget * currentPageDisplay
QVBoxLayout * mainLayout
QHBoxLayout * navigationLayout
QVBoxLayout * currentPageLayout
QPushButton * cardsPushButton
QPushButton * topCommandersPushButton
QPushButton * tagsPushButton
QLineEdit * searchBar
QPushButton * searchPushButton
SettingsButtonWidgetsettingsButton
CardSizeWidgetcardSizeSlider
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

◆ TabEdhRecMain()

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

Member Function Documentation

◆ actNavigatePage

void TabEdhRecMain::actNavigatePage ( QString url)
slot
Here is the caller graph for this function:

◆ doSearch()

void TabEdhRecMain::doSearch ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCardSizeSlider()

CardSizeWidget * TabEdhRecMain::getCardSizeSlider ( ) const
inline
Here is the caller graph for this function:

◆ getTabText()

QString TabEdhRecMain::getTabText ( ) const
inlinenodiscardoverridevirtual

Implements Tab.

◆ getTopCards

void TabEdhRecMain::getTopCards ( )
slot
Here is the caller graph for this function:

◆ getTopCommanders

void TabEdhRecMain::getTopCommanders ( )
slot
Here is the caller graph for this function:

◆ getTopTags

void TabEdhRecMain::getTopTags ( )
slot
Here is the caller graph for this function:

◆ prettyPrintJson

void TabEdhRecMain::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 TabEdhRecMain::processApiJson ( QNetworkReply * reply)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processAverageDeckResponse

void TabEdhRecMain::processAverageDeckResponse ( QJsonObject reply)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processCommanderResponse

void TabEdhRecMain::processCommanderResponse ( QJsonObject reply,
QString responseUrl = "" )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processTopCardsResponse

void TabEdhRecMain::processTopCardsResponse ( QJsonObject reply)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processTopCommandersResponse

void TabEdhRecMain::processTopCommandersResponse ( QJsonObject reply)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processTopTagsResponse

void TabEdhRecMain::processTopTagsResponse ( QJsonObject reply)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void TabEdhRecMain::retranslateUi ( )
overridevirtual

Implements Tab.

Here is the caller graph for this function:

◆ setCard

void TabEdhRecMain::setCard ( CardInfoPtr _cardToQuery,
bool isCommander = false )
slot
Here is the caller graph for this function:

Member Data Documentation

◆ cardSizeSlider

CardSizeWidget* TabEdhRecMain::cardSizeSlider
private

◆ cardsPushButton

QPushButton* TabEdhRecMain::cardsPushButton
private

◆ cardToQuery

CardInfoPtr TabEdhRecMain::cardToQuery
private

◆ container

QWidget* TabEdhRecMain::container
private

◆ currentPageDisplay

QWidget* TabEdhRecMain::currentPageDisplay
private

◆ currentPageLayout

QVBoxLayout* TabEdhRecMain::currentPageLayout
private

◆ displayWidget

EdhrecCommanderApiResponseDisplayWidget* TabEdhRecMain::displayWidget
private

◆ mainLayout

QVBoxLayout* TabEdhRecMain::mainLayout
private

◆ navigationContainer

QWidget* TabEdhRecMain::navigationContainer
private

◆ navigationLayout

QHBoxLayout* TabEdhRecMain::navigationLayout
private

◆ networkManager

QNetworkAccessManager* TabEdhRecMain::networkManager

◆ searchBar

QLineEdit* TabEdhRecMain::searchBar
private

◆ searchPushButton

QPushButton* TabEdhRecMain::searchPushButton
private

◆ settingsButton

SettingsButtonWidget* TabEdhRecMain::settingsButton
private

◆ tagsPushButton

QPushButton* TabEdhRecMain::tagsPushButton
private

◆ topCommandersPushButton

QPushButton* TabEdhRecMain::topCommandersPushButton
private

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