blob: ff905a79ad6f4fd2f2ec5779255ddc63be58fcbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#ifndef __PRACRO_LABEL_H__
#define __PRACRO_LABEL_H__
#include "widget.h"
#include <QWidget>
#include <QLabel>
#include <QDomNode>
class Label : public QLabel, public Widget
{
Q_OBJECT
public:
Label(QDomNode &node, MacroWindow *macrowindow);
void connectFrom(const char *signal,
const QObject *receiver, const char *method);
void connectTo(const QObject *sender, const char *signal,
const char *method);
void setVisibility(bool visible);
void disable();
void enable();
bool isDisabled();
};
#endif
|