qt_toglParams.h
1 /***************************************************************************
2  *
3  * Copyright (C) 1999 by Willem van Straten
4  * Licensed under the Academic Free License version 2.1
5  *
6  ***************************************************************************/
7 #ifndef __QT_TOGLEPH_H
8 #define __QT_TOGLEPH_H
9 
10 #include <vector>
11 
12 #include <qcheckbox.h>
13 
14 class qt_toglParams : public QWidget
15 {
16  Q_OBJECT
17 
18  friend class qt_psrParams;
19 
20  public:
21  qt_toglParams (QWidget* parent=0, const char* name=0, int columns=4);
22 
23  signals:
24  void getChecked ( int ephind, bool checked );
25 
26  protected slots:
27  void setChecked ( int ephind, bool checked )
28  { elements[ephind]->setChecked (checked); };
29 
30  private slots:
31  void wasChecked ( int ephind )
32  { emit getChecked ( ephind, elements[ephind]->isChecked() ); };
33 
34  private:
35  std::vector<QCheckBox*> elements;
36 
37 };
38 
39 #endif
void insert(unsigned isubint, Integration *integration)
Insert the Integration instance into the specified location.
Definition: IntegrationManager.C:129

Generated using doxygen 1.8.17