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

#include <edhrec_commander_api_response_navigation_widget.h>

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

Public Slots

void actRequestCommanderNavigation ()
void actRequestComboNavigation ()
void actRequestAverageDeckNavigation ()

Signals

void requestUrl (QString url)

Public Member Functions

 EdhrecCommanderApiResponseNavigationWidget (QWidget *parent, const EdhrecCommanderApiResponseCommanderDetails &_commanderDetails, QString baseUrl)
void retranslateUi ()
void applyOptionsFromUrl (const QString &url)

Private Member Functions

void updateOptionButtonSelection (QMap< QString, QPushButton * > &buttons, const QString &selectedKey)
QString addNavigationOptionsToUrl (QString baseUrl)
QString buildComboUrl () const

Private Attributes

QGridLayout * layout
QLabel * gameChangerLabel
QLabel * budgetLabel
QStringList gameChangerOptions = {"", "core", "upgraded", "optimized"}
QStringList budgetOptions = {"", "budget", "expensive"}
QString selectedGameChanger
QString selectedBudget
QMap< QString, QPushButton * > gameChangerButtons
QMap< QString, QPushButton * > budgetButtons
QPushButton * comboPushButton
QPushButton * averageDeckPushButton
EdhrecCommanderApiResponseCommanderDetails commanderDetails

Constructor & Destructor Documentation

◆ EdhrecCommanderApiResponseNavigationWidget()

EdhrecCommanderApiResponseNavigationWidget::EdhrecCommanderApiResponseNavigationWidget ( QWidget * parent,
const EdhrecCommanderApiResponseCommanderDetails & _commanderDetails,
QString baseUrl )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ actRequestAverageDeckNavigation

void EdhrecCommanderApiResponseNavigationWidget::actRequestAverageDeckNavigation ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actRequestComboNavigation

void EdhrecCommanderApiResponseNavigationWidget::actRequestComboNavigation ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actRequestCommanderNavigation

void EdhrecCommanderApiResponseNavigationWidget::actRequestCommanderNavigation ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addNavigationOptionsToUrl()

QString EdhrecCommanderApiResponseNavigationWidget::addNavigationOptionsToUrl ( QString baseUrl)
private
Here is the caller graph for this function:

◆ applyOptionsFromUrl()

void EdhrecCommanderApiResponseNavigationWidget::applyOptionsFromUrl ( const QString & url)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildComboUrl()

QString EdhrecCommanderApiResponseNavigationWidget::buildComboUrl ( ) const
private

◆ requestUrl

void EdhrecCommanderApiResponseNavigationWidget::requestUrl ( QString url)
signal
Here is the caller graph for this function:

◆ retranslateUi()

void EdhrecCommanderApiResponseNavigationWidget::retranslateUi ( )
Here is the caller graph for this function:

◆ updateOptionButtonSelection()

void EdhrecCommanderApiResponseNavigationWidget::updateOptionButtonSelection ( QMap< QString, QPushButton * > & buttons,
const QString & selectedKey )
private
Here is the caller graph for this function:

Member Data Documentation

◆ averageDeckPushButton

QPushButton* EdhrecCommanderApiResponseNavigationWidget::averageDeckPushButton
private

◆ budgetButtons

QMap<QString, QPushButton *> EdhrecCommanderApiResponseNavigationWidget::budgetButtons
private

◆ budgetLabel

QLabel* EdhrecCommanderApiResponseNavigationWidget::budgetLabel
private

◆ budgetOptions

QStringList EdhrecCommanderApiResponseNavigationWidget::budgetOptions = {"", "budget", "expensive"}
private

◆ comboPushButton

QPushButton* EdhrecCommanderApiResponseNavigationWidget::comboPushButton
private

◆ commanderDetails

EdhrecCommanderApiResponseCommanderDetails EdhrecCommanderApiResponseNavigationWidget::commanderDetails
private

◆ gameChangerButtons

QMap<QString, QPushButton *> EdhrecCommanderApiResponseNavigationWidget::gameChangerButtons
private

◆ gameChangerLabel

QLabel* EdhrecCommanderApiResponseNavigationWidget::gameChangerLabel
private

◆ gameChangerOptions

QStringList EdhrecCommanderApiResponseNavigationWidget::gameChangerOptions = {"", "core", "upgraded", "optimized"}
private

◆ layout

QGridLayout* EdhrecCommanderApiResponseNavigationWidget::layout
private

◆ selectedBudget

QString EdhrecCommanderApiResponseNavigationWidget::selectedBudget
private

◆ selectedGameChanger

QString EdhrecCommanderApiResponseNavigationWidget::selectedGameChanger
private

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