repo.or.cz
/
lcapit-junk-code.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Introduce old redir program
[lcapit-junk-code.git]
/
qt-course
/
simple-calculator
/
MyWidget.h
blob
90fe0d10e7ab313ee982d4883af9cd3ac9b739ce
1
#ifndef MYWIDGET_H
2
#define MYWIDGET_H
3
4
#include <QWidget>
5
#include
"ui_calculator.h"
6
7
class
QString
;
8
9
class
MyWidget
:
public
QWidget
10
{
11
Q_OBJECT
;
12
public
:
13
MyWidget
(
QWidget
*
parent
=
0
);
14
~
MyWidget
();
15
16
private
:
17
void
buttonsEnabled
(
bool
);
18
Ui
::
MyWidgetBase
*
m_ui
;
19
QString m_oper
;
20
int
m_number
;
21
bool
resetDisplay
;
22
23
private
slots
:
24
void
slot_numButtonClicked
();
25
void
slot_operButtonClicked
();
26
};
27
28
#endif
// MYWIDGET_H