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
/
exer341-copy-text
/
MyWidget.h
blob
12531c1f041da127b85d9dd542b0216ea1f6b97f
1
#ifndef MYWIDGET_H
2
#define MYWIDGET_H
3
4
#include <QWidget>
5
6
class
QLabel
;
7
class
QPushButton
;
8
class
QLineEdit
;
9
10
class
MyWidget
:
public
QWidget
11
{
12
Q_OBJECT
;
13
public
:
14
MyWidget
(
QWidget
*
parent
=
0
);
15
~
MyWidget
();
16
private
:
17
QLabel
*
m_label
;
18
QLineEdit
*
m_edit
;
19
QPushButton
*
m_bclear
;
20
QPushButton
*
m_bcopy
;
21
22
private
slots
:
23
void
m_copy_text
();
24
};
25
26
#endif
// MYWIDGET_H