blob: 47677b985921182b5b97f3f40e11937f97615d96 (
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
|
//
// C++ Interface: smradiobutton
//
// Description: a clone of SMCheckBox
//
//
// Author: Pierre Marchand <pierremarc@oep-h.com>, (C) 2009
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef SMRADIOBUTTON_H
#define SMRADIOBUTTON_H
#include <QRadioButton>
class SMRadioButton : public QRadioButton
{
public:
SMRadioButton(QWidget *parent);
~SMRadioButton() {};
void setChecked(bool val);
void setChecked(bool val, bool isParentVal);
void setParentValue(bool);
bool useParentValue();
private:
bool hasParent_;
bool useParentValue_;
bool pValue_;
void setFont(bool wantBold);
};
#endif //SMRADIOBUTTON_H
|