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

#include <printing_selector_card_selection_widget.h>

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

Public Slots

void selectSetForCards ()

Public Member Functions

 PrintingSelectorCardSelectionWidget (PrintingSelector *parent)
 Constructs a PrintingSelectorCardSelectionWidget for navigating through cards in the deck.
void connectSignals ()
 Connects the signals from the buttons to the appropriate slots in the parent widget.

Private Attributes

PrintingSelectorparent
QHBoxLayout * cardSelectionBarLayout
QPushButton * previousCardButton
QPushButton * selectSetForCardsButton
QPushButton * nextCardButton

Constructor & Destructor Documentation

◆ PrintingSelectorCardSelectionWidget()

PrintingSelectorCardSelectionWidget::PrintingSelectorCardSelectionWidget ( PrintingSelector * parent)
explicit

Constructs a PrintingSelectorCardSelectionWidget for navigating through cards in the deck.

This widget provides buttons that allow users to navigate between cards in the deck. It includes buttons for moving to the previous and next card in the deck.

Parameters
parentThe parent PrintingSelector widget responsible for managing card selection.
Here is the call graph for this function:

Member Function Documentation

◆ connectSignals()

void PrintingSelectorCardSelectionWidget::connectSignals ( )

Connects the signals from the buttons to the appropriate slots in the parent widget.

This method connects the click signals of the previous and next card buttons to the selectPreviousCard and selectNextCard slots in the parent PrintingSelector widget.

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

◆ selectSetForCards

void PrintingSelectorCardSelectionWidget::selectSetForCards ( )
slot
Here is the caller graph for this function:

Member Data Documentation

◆ cardSelectionBarLayout

QHBoxLayout* PrintingSelectorCardSelectionWidget::cardSelectionBarLayout
private

◆ nextCardButton

QPushButton* PrintingSelectorCardSelectionWidget::nextCardButton
private

◆ parent

PrintingSelector* PrintingSelectorCardSelectionWidget::parent
private

◆ previousCardButton

QPushButton* PrintingSelectorCardSelectionWidget::previousCardButton
private

◆ selectSetForCardsButton

QPushButton* PrintingSelectorCardSelectionWidget::selectSetForCardsButton
private

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