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

#include <dlg_edit_tokens.h>

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

Public Member Functions

 DlgEditTokens (QWidget *parent=nullptr)

Private Slots

void tokenSelectionChanged (const QModelIndex &current, const QModelIndex &previous)
void colorChanged (int _colorIndex)
void ptChanged (const QString &_pt)
void annotationChanged (const QString &_annotation)
void actAddToken ()
void actRemoveToken ()

Private Attributes

CardInfoPtr currentCard
CardDatabaseModeldatabaseModel
TokenEditModelcardDatabaseDisplayModel
QStringList predefinedTokens
QLabel * nameLabel
QLabel * colorLabel
QLabel * ptLabel
QLabel * annotationLabel
QComboBox * colorEdit
QLineEdit * nameEdit
QLineEdit * ptEdit
QLineEdit * annotationEdit
QTreeView * chooseTokenView

Constructor & Destructor Documentation

◆ DlgEditTokens()

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

Member Function Documentation

◆ actAddToken

void DlgEditTokens::actAddToken ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actRemoveToken

void DlgEditTokens::actRemoveToken ( )
privateslot
Here is the caller graph for this function:

◆ annotationChanged

void DlgEditTokens::annotationChanged ( const QString & _annotation)
privateslot
Here is the caller graph for this function:

◆ colorChanged

void DlgEditTokens::colorChanged ( int _colorIndex)
privateslot
Here is the caller graph for this function:

◆ ptChanged

void DlgEditTokens::ptChanged ( const QString & _pt)
privateslot
Here is the caller graph for this function:

◆ tokenSelectionChanged

void DlgEditTokens::tokenSelectionChanged ( const QModelIndex & current,
const QModelIndex & previous )
privateslot
Here is the caller graph for this function:

Member Data Documentation

◆ annotationEdit

QLineEdit * DlgEditTokens::annotationEdit
private

◆ annotationLabel

QLabel * DlgEditTokens::annotationLabel
private

◆ cardDatabaseDisplayModel

TokenEditModel* DlgEditTokens::cardDatabaseDisplayModel
private

◆ chooseTokenView

QTreeView* DlgEditTokens::chooseTokenView
private

◆ colorEdit

QComboBox* DlgEditTokens::colorEdit
private

◆ colorLabel

QLabel * DlgEditTokens::colorLabel
private

◆ currentCard

CardInfoPtr DlgEditTokens::currentCard
private

◆ databaseModel

CardDatabaseModel* DlgEditTokens::databaseModel
private

◆ nameEdit

QLineEdit* DlgEditTokens::nameEdit
private

◆ nameLabel

QLabel* DlgEditTokens::nameLabel
private

◆ predefinedTokens

QStringList DlgEditTokens::predefinedTokens
private

◆ ptEdit

QLineEdit * DlgEditTokens::ptEdit
private

◆ ptLabel

QLabel * DlgEditTokens::ptLabel
private

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