Qt 5.10 Book Examples
Public Slots | Public Member Functions | List of all members
Calculator Class Reference

#include <Calculator.h>

Inheritance diagram for Calculator:

Public Slots

void slotButtonClicked ()
 

Public Member Functions

 Calculator (QWidget *pwgt=0)
 
QPushButton * createButton (const QString &str)
 
void calculate ()
 

Detailed Description

Definition at line 20 of file Calculator.h.

Constructor & Destructor Documentation

◆ Calculator()

Calculator::Calculator ( QWidget *  pwgt = 0)

Definition at line 15 of file Calculator.cpp.

Member Function Documentation

◆ calculate()

void Calculator::calculate ( )

Definition at line 51 of file Calculator.cpp.

◆ createButton()

QPushButton * Calculator::createButton ( const QString &  str)

Definition at line 41 of file Calculator.cpp.

◆ slotButtonClicked

void Calculator::slotButtonClicked ( )
slot

Definition at line 74 of file Calculator.cpp.


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