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

#include <dlg_tip_of_the_day.h>

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

Signals

void newTipRequested (int tipId)

Public Member Functions

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

Public Attributes

bool successfulInit
bool newTipsAvailable

Protected Member Functions

void resizeEvent (QResizeEvent *event) override

Private Slots

void nextClicked ()
void previousClicked ()
void updateTip (int tipId)

Private Attributes

unsigned int currentTip
TipsOfTheDaytipDatabase
QLabel * title
QLabel * tipTextContent
QLabel * imageLabel
QLabel * tipNumber
QLabel * date
QCheckBox * showTipsOnStartupCheck
QPixmap * image
QVBoxLayout * content
QVBoxLayout * mainLayout
QDialogButtonBox * buttonBox
QPushButton * nextButton
QPushButton * previousButton
QHBoxLayout * buttonBar

Constructor & Destructor Documentation

◆ DlgTipOfTheDay()

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

◆ ~DlgTipOfTheDay()

DlgTipOfTheDay::~DlgTipOfTheDay ( )
override

Member Function Documentation

◆ newTipRequested

void DlgTipOfTheDay::newTipRequested ( int tipId)
signal
Here is the caller graph for this function:

◆ nextClicked

void DlgTipOfTheDay::nextClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previousClicked

void DlgTipOfTheDay::previousClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resizeEvent()

void DlgTipOfTheDay::resizeEvent ( QResizeEvent * event)
overrideprotected

◆ updateTip

void DlgTipOfTheDay::updateTip ( int tipId)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ buttonBar

QHBoxLayout* DlgTipOfTheDay::buttonBar
private

◆ buttonBox

QDialogButtonBox* DlgTipOfTheDay::buttonBox
private

◆ content

QVBoxLayout* DlgTipOfTheDay::content
private

◆ currentTip

unsigned int DlgTipOfTheDay::currentTip
private

◆ date

QLabel * DlgTipOfTheDay::date
private

◆ image

QPixmap* DlgTipOfTheDay::image
private

◆ imageLabel

QLabel * DlgTipOfTheDay::imageLabel
private

◆ mainLayout

QVBoxLayout * DlgTipOfTheDay::mainLayout
private

◆ newTipsAvailable

bool DlgTipOfTheDay::newTipsAvailable

◆ nextButton

QPushButton* DlgTipOfTheDay::nextButton
private

◆ previousButton

QPushButton * DlgTipOfTheDay::previousButton
private

◆ showTipsOnStartupCheck

QCheckBox* DlgTipOfTheDay::showTipsOnStartupCheck
private

◆ successfulInit

bool DlgTipOfTheDay::successfulInit

◆ tipDatabase

TipsOfTheDay* DlgTipOfTheDay::tipDatabase
private

◆ tipNumber

QLabel * DlgTipOfTheDay::tipNumber
private

◆ tipTextContent

QLabel * DlgTipOfTheDay::tipTextContent
private

◆ title

QLabel* DlgTipOfTheDay::title
private

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