tcalc
0.2.0
Loading...
Searching...
No Matches
key.hpp
Go to the documentation of this file.
1
12
#pragma once
13
14
#include <qpushbutton.h>
15
16
namespace
tcalc_gui {
17
22
class
Key
:
public
QPushButton
23
{
24
Q_OBJECT
25
26
public
:
33
Key
(
const
QString& text, QWidget* parent =
nullptr
);
34
35
~Key
()
override
=
default
;
36
37
signals:
43
void
key_clicked
(
const
QString& text);
44
45
private
slots:
50
void
_on_button_clicked();
51
};
52
53
}
tcalc_gui::Key
Tcalc key button.
Definition
key.hpp:23
tcalc_gui::Key::key_clicked
void key_clicked(const QString &text)
Emitted when the key is clicked.
include
tcalc_gui
key.hpp
Generated by
1.9.8