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

#include <dynamic_font_size_push_button.h>

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

Public Member Functions

 DynamicFontSizePushButton (QWidget *parent=NULL)
void setTextColor (QColor color)
QColor getTextColor ()
void setTextAndColor (const QString &text, QColor color=QColor::Invalid)
QSize minimumSizeHint () const
QSize sizeHint () const

Protected Member Functions

void paintEvent (QPaintEvent *event)

Private Attributes

QColor textColor

Constructor & Destructor Documentation

◆ DynamicFontSizePushButton()

DynamicFontSizePushButton::DynamicFontSizePushButton ( QWidget * parent = NULL)
explicit

Member Function Documentation

◆ getTextColor()

QColor DynamicFontSizePushButton::getTextColor ( )

◆ minimumSizeHint()

QSize DynamicFontSizePushButton::minimumSizeHint ( ) const

◆ paintEvent()

void DynamicFontSizePushButton::paintEvent ( QPaintEvent * event)
protected
Here is the call graph for this function:

◆ setTextAndColor()

void DynamicFontSizePushButton::setTextAndColor ( const QString & text,
QColor color = QColor::Invalid )
Here is the call graph for this function:

◆ setTextColor()

void DynamicFontSizePushButton::setTextColor ( QColor color)
Here is the caller graph for this function:

◆ sizeHint()

QSize DynamicFontSizePushButton::sizeHint ( ) const

Member Data Documentation

◆ textColor

QColor DynamicFontSizePushButton::textColor
private

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