summaryrefslogtreecommitdiff
path: root/dldialog/src/DLD_QT/dld_radio.h
blob: 80a61d1c31834f1711bf05936a1316a885782fb2 (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
/******************************************************************************
**
** $Id: dld_radio.h,v 1.7 2000/03/15 20:02:18 harald Exp $
**
**	This program is free software; you can redistribute it and/or
**	modify it under the terms of the GNU General Public License
**	as published by the Free Software Foundation; either version
**	2 of the License, or (at your option) any later version.
**
** (C) 1999,2000 Harald Hoyer <DLDialog@parzelle.de> 
**
******************************************************************************/
#ifndef DLD_RADIO_H
#define DLD_RADIO_H

#include "../dld_radiobutton.h"
#include "dld_qtlib.h"
#include "dld_qtobj.h"
#include <qradiobt.h>
#include <qwidget.h>

/** The radiobutton class in qt style, to use within @ref DLD_Radiolist.
 *
 */
class DLD_QTRadioButton : public QRadioButton, public DLD_QTObj, 
			  public DLD_RadioButton
{
  Q_OBJECT;

public:
   ///
   DLD_QTRadioButton(int num, QWidget *_parent, 
		     const string& name, DLD_QTDialog *pd);
   
   ///
   virtual ~DLD_QTRadioButton();
   
   ///
   void create();

signals:
   void signal_rbpress(int num);

///
public slots:
   void slot_activate(bool);

private:
   int mynum;
};

#endif