tcalc 0.2.0
 
Loading...
Searching...
No Matches
tcalc_gui::Key Class Reference

Tcalc key button. More...

#include <key.hpp>

Inheritance diagram for tcalc_gui::Key:

Signals

void key_clicked (const QString &text)
 Emitted when the key is clicked.
 

Public Member Functions

 Key (const QString &text, QWidget *parent=nullptr)
 Construct a new Key object.
 

Detailed Description

Tcalc key button.

Constructor & Destructor Documentation

◆ Key()

tcalc_gui::Key::Key ( const QString &  text,
QWidget *  parent = nullptr 
)

Construct a new Key object.

Parameters
textKey text.
parentParent widget.

Member Function Documentation

◆ key_clicked

void tcalc_gui::Key::key_clicked ( const QString &  text)
signal

Emitted when the key is clicked.

Parameters
textKey text.

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