diff options
Diffstat (limited to 'dldialog/src/DLD_QT/dld_radio.h')
-rw-r--r-- | dldialog/src/DLD_QT/dld_radio.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dldialog/src/DLD_QT/dld_radio.h b/dldialog/src/DLD_QT/dld_radio.h new file mode 100644 index 0000000..80a61d1 --- /dev/null +++ b/dldialog/src/DLD_QT/dld_radio.h @@ -0,0 +1,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 |