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

#include <dlg_manage_sets.h>

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

Public Member Functions

 WndSets (QWidget *parent=nullptr)
 ~WndSets () override

Protected Member Functions

void selectRows (QSet< int > rows)

Private Types

enum  { NO_SETS_SELECTED , SOME_SETS_SELECTED }

Private Slots

void actEnableAll ()
void actDisableAll ()
void actEnableSome ()
void actDisableSome ()
void actSave ()
void actRestore ()
void actUp ()
void actDown ()
void actTop ()
void actBottom ()
void actToggleButtons (const QItemSelection &selected, const QItemSelection &deselected)
void actDisableSortButtons (int index)
void actRestoreOriginalOrder ()
void actDisableResetButton (const QString &filterText)
void actSort (int index)
void actIgnoreWarning ()
void includeRebalancedCardsChanged (bool _includeRebalancedCardsChanged)

Private Member Functions

void closeEvent (QCloseEvent *ev) override
void saveHeaderState ()
void rebuildMainLayout (int actionToTake)

Private Attributes

SetsModelmodel
SetsDisplayModeldisplayModel
QGroupBox * hintsGroupBox
QTreeView * view
QPushButton * toggleAllButton
QPushButton * toggleSelectedButton
QPushButton * enableAllButton
QPushButton * disableAllButton
QPushButton * enableSomeButton
QPushButton * disableSomeButton
QPushButton * defaultSortButton
QAction * aUp
QAction * aDown
QAction * aBottom
QAction * aTop
QToolBar * setsEditToolBar
QDialogButtonBox * buttonBox
QLabel * labNotes
QLabel * searchLabel
QGroupBox * sortWarning
QLabel * sortWarningText
QPushButton * sortWarningButton
LineEditUnfocusablesearchField
QGridLayout * mainLayout
QHBoxLayout * filterBox
int sortIndex
Qt::SortOrder sortOrder
bool setOrderIsSorted
bool includeRebalancedCards

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
NO_SETS_SELECTED 
SOME_SETS_SELECTED 

Constructor & Destructor Documentation

◆ WndSets()

WndSets::WndSets ( QWidget * parent = nullptr)
explicit
Here is the call graph for this function:

◆ ~WndSets()

WndSets::~WndSets ( )
override

Member Function Documentation

◆ actBottom

void WndSets::actBottom ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actDisableAll

void WndSets::actDisableAll ( )
privateslot
Here is the caller graph for this function:

◆ actDisableResetButton

void WndSets::actDisableResetButton ( const QString & filterText)
privateslot
Here is the caller graph for this function:

◆ actDisableSome

void WndSets::actDisableSome ( )
privateslot
Here is the caller graph for this function:

◆ actDisableSortButtons

void WndSets::actDisableSortButtons ( int index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actDown

void WndSets::actDown ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actEnableAll

void WndSets::actEnableAll ( )
privateslot
Here is the caller graph for this function:

◆ actEnableSome

void WndSets::actEnableSome ( )
privateslot
Here is the caller graph for this function:

◆ actIgnoreWarning

void WndSets::actIgnoreWarning ( )
privateslot
Here is the caller graph for this function:

◆ actRestore

void WndSets::actRestore ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actRestoreOriginalOrder

void WndSets::actRestoreOriginalOrder ( )
privateslot
Here is the caller graph for this function:

◆ actSave

void WndSets::actSave ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actSort

void WndSets::actSort ( int index)
privateslot
Here is the caller graph for this function:

◆ actToggleButtons

void WndSets::actToggleButtons ( const QItemSelection & selected,
const QItemSelection & deselected )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actTop

void WndSets::actTop ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actUp

void WndSets::actUp ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeEvent()

void WndSets::closeEvent ( QCloseEvent * ev)
overrideprivate
Here is the call graph for this function:

◆ includeRebalancedCardsChanged

void WndSets::includeRebalancedCardsChanged ( bool _includeRebalancedCardsChanged)
privateslot
Here is the caller graph for this function:

◆ rebuildMainLayout()

void WndSets::rebuildMainLayout ( int actionToTake)
private
Here is the caller graph for this function:

◆ saveHeaderState()

void WndSets::saveHeaderState ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectRows()

void WndSets::selectRows ( QSet< int > rows)
protected
Here is the caller graph for this function:

Member Data Documentation

◆ aBottom

QAction * WndSets::aBottom
private

◆ aDown

QAction * WndSets::aDown
private

◆ aTop

QAction * WndSets::aTop
private

◆ aUp

QAction* WndSets::aUp
private

◆ buttonBox

QDialogButtonBox* WndSets::buttonBox
private

◆ defaultSortButton

QPushButton* WndSets::defaultSortButton
private

◆ disableAllButton

QPushButton * WndSets::disableAllButton
private

◆ disableSomeButton

QPushButton * WndSets::disableSomeButton
private

◆ displayModel

SetsDisplayModel* WndSets::displayModel
private

◆ enableAllButton

QPushButton* WndSets::enableAllButton
private

◆ enableSomeButton

QPushButton * WndSets::enableSomeButton
private

◆ filterBox

QHBoxLayout* WndSets::filterBox
private

◆ hintsGroupBox

QGroupBox* WndSets::hintsGroupBox
private

◆ includeRebalancedCards

bool WndSets::includeRebalancedCards
private

◆ labNotes

QLabel* WndSets::labNotes
private

◆ mainLayout

QGridLayout* WndSets::mainLayout
private

◆ model

SetsModel* WndSets::model
private

◆ searchField

LineEditUnfocusable* WndSets::searchField
private

◆ searchLabel

QLabel * WndSets::searchLabel
private

◆ setOrderIsSorted

bool WndSets::setOrderIsSorted
private

◆ setsEditToolBar

QToolBar* WndSets::setsEditToolBar
private

◆ sortIndex

int WndSets::sortIndex
private

◆ sortOrder

Qt::SortOrder WndSets::sortOrder
private

◆ sortWarning

QGroupBox* WndSets::sortWarning
private

◆ sortWarningButton

QPushButton* WndSets::sortWarningButton
private

◆ sortWarningText

QLabel* WndSets::sortWarningText
private

◆ toggleAllButton

QPushButton* WndSets::toggleAllButton
private

◆ toggleSelectedButton

QPushButton * WndSets::toggleSelectedButton
private

◆ view

QTreeView* WndSets::view
private

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