PosturePerfection
Public Member Functions
GUI::Button Class Reference

Subclass of QPushButton that allows having a title and subtitle within the button. More...

#include <mainwindow.h>

Inheritance diagram for GUI::Button:
Inheritance graph
[legend]
Collaboration diagram for GUI::Button:
Collaboration graph
[legend]

Public Member Functions

 Button (const QString &title, QWidget *parent=0)
 
 Button (const QString &title, const QString &subtitle, QWidget *parent=0)
 
void setText (const QString &title)
 
void setText (const QString &title, const QString &subtitle)
 
void paintEvent (QPaintEvent *p)
 

Detailed Description

Subclass of QPushButton that allows having a title and subtitle within the button.

Constructor & Destructor Documentation

◆ Button() [1/2]

GUI::Button::Button ( const QString &  title,
QWidget *  parent = 0 
)
explicit

◆ Button() [2/2]

GUI::Button::Button ( const QString &  title,
const QString &  subtitle,
QWidget *  parent = 0 
)
explicit

Member Function Documentation

◆ paintEvent()

void GUI::Button::paintEvent ( QPaintEvent *  p)

◆ setText() [1/2]

void GUI::Button::setText ( const QString &  title)

◆ setText() [2/2]

void GUI::Button::setText ( const QString &  title,
const QString &  subtitle 
)

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