dlggain.h 5.79 KB
Newer Older
Alexander Steffens's avatar
Alexander Steffens committed
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
#ifndef DLGGAIN_H
#define DLGGAIN_H

#include <QDialog>
#include <QSpinBox>
#include "maroc_def.h"
#include "dlglog.h"
#include "tabmaroc.h"

class TabMaroc;

namespace Ui {
class DlgGain;
}

class DlgGain : public QDialog
{
    Q_OBJECT

public:
    explicit DlgGain(QWidget *parent, QObject *part);
    ~DlgGain();

signals:
    void OSetValue(int id, int idx, QVariant v);
    void OGetValue(int id, int idx);

public slots:
    void ISetValue(int id, int idx, QVariant val);

private slots:
    // ausnutzen der automatischen Zuweisung !!
    void on_sb00_valueChanged(int arg1) { on_xx_valueChanged(arg1, 0); };
    void on_sb01_valueChanged(int arg1) { on_xx_valueChanged(arg1, 1); };
    void on_sb02_valueChanged(int arg1) { on_xx_valueChanged(arg1, 2); };
    void on_sb03_valueChanged(int arg1) { on_xx_valueChanged(arg1, 3); };
    void on_sb04_valueChanged(int arg1) { on_xx_valueChanged(arg1, 4); };
    void on_sb05_valueChanged(int arg1) { on_xx_valueChanged(arg1, 5); };
    void on_sb06_valueChanged(int arg1) { on_xx_valueChanged(arg1, 6); };
    void on_sb07_valueChanged(int arg1) { on_xx_valueChanged(arg1, 7); };
    void on_sb08_valueChanged(int arg1) { on_xx_valueChanged(arg1, 8); };
    void on_sb09_valueChanged(int arg1) { on_xx_valueChanged(arg1, 9); };
    void on_sb10_valueChanged(int arg1) { on_xx_valueChanged(arg1, 10); };
    void on_sb11_valueChanged(int arg1) { on_xx_valueChanged(arg1, 11); };
    void on_sb12_valueChanged(int arg1) { on_xx_valueChanged(arg1, 12); };
    void on_sb13_valueChanged(int arg1) { on_xx_valueChanged(arg1, 13); };
    void on_sb14_valueChanged(int arg1) { on_xx_valueChanged(arg1, 14); };
    void on_sb15_valueChanged(int arg1) { on_xx_valueChanged(arg1, 15); };
    void on_sb16_valueChanged(int arg1) { on_xx_valueChanged(arg1, 16); };
    void on_sb17_valueChanged(int arg1) { on_xx_valueChanged(arg1, 17); };
    void on_sb18_valueChanged(int arg1) { on_xx_valueChanged(arg1, 18); };
    void on_sb19_valueChanged(int arg1) { on_xx_valueChanged(arg1, 19); };
    void on_sb20_valueChanged(int arg1) { on_xx_valueChanged(arg1, 20); };
    void on_sb21_valueChanged(int arg1) { on_xx_valueChanged(arg1, 21); };
    void on_sb22_valueChanged(int arg1) { on_xx_valueChanged(arg1, 22); };
    void on_sb23_valueChanged(int arg1) { on_xx_valueChanged(arg1, 23); };
    void on_sb24_valueChanged(int arg1) { on_xx_valueChanged(arg1, 24); };
    void on_sb25_valueChanged(int arg1) { on_xx_valueChanged(arg1, 25); };
    void on_sb26_valueChanged(int arg1) { on_xx_valueChanged(arg1, 26); };
    void on_sb27_valueChanged(int arg1) { on_xx_valueChanged(arg1, 27); };
    void on_sb28_valueChanged(int arg1) { on_xx_valueChanged(arg1, 28); };
    void on_sb29_valueChanged(int arg1) { on_xx_valueChanged(arg1, 29); };
    void on_sb30_valueChanged(int arg1) { on_xx_valueChanged(arg1, 30); };
    void on_sb31_valueChanged(int arg1) { on_xx_valueChanged(arg1, 31); };
    void on_sb32_valueChanged(int arg1) { on_xx_valueChanged(arg1, 32); };
    void on_sb33_valueChanged(int arg1) { on_xx_valueChanged(arg1, 33); };
    void on_sb34_valueChanged(int arg1) { on_xx_valueChanged(arg1, 34); };
    void on_sb35_valueChanged(int arg1) { on_xx_valueChanged(arg1, 35); };
    void on_sb36_valueChanged(int arg1) { on_xx_valueChanged(arg1, 36); };
    void on_sb37_valueChanged(int arg1) { on_xx_valueChanged(arg1, 37); };
    void on_sb38_valueChanged(int arg1) { on_xx_valueChanged(arg1, 38); };
    void on_sb39_valueChanged(int arg1) { on_xx_valueChanged(arg1, 39); };
    void on_sb40_valueChanged(int arg1) { on_xx_valueChanged(arg1, 40); };
    void on_sb41_valueChanged(int arg1) { on_xx_valueChanged(arg1, 41); };
    void on_sb42_valueChanged(int arg1) { on_xx_valueChanged(arg1, 42); };
    void on_sb43_valueChanged(int arg1) { on_xx_valueChanged(arg1, 43); };
    void on_sb44_valueChanged(int arg1) { on_xx_valueChanged(arg1, 44); };
    void on_sb45_valueChanged(int arg1) { on_xx_valueChanged(arg1, 45); };
    void on_sb46_valueChanged(int arg1) { on_xx_valueChanged(arg1, 46); };
    void on_sb47_valueChanged(int arg1) { on_xx_valueChanged(arg1, 47); };
    void on_sb48_valueChanged(int arg1) { on_xx_valueChanged(arg1, 48); };
    void on_sb49_valueChanged(int arg1) { on_xx_valueChanged(arg1, 49); };
    void on_sb50_valueChanged(int arg1) { on_xx_valueChanged(arg1, 50); };
    void on_sb51_valueChanged(int arg1) { on_xx_valueChanged(arg1, 51); };
    void on_sb52_valueChanged(int arg1) { on_xx_valueChanged(arg1, 52); };
    void on_sb53_valueChanged(int arg1) { on_xx_valueChanged(arg1, 53); };
    void on_sb54_valueChanged(int arg1) { on_xx_valueChanged(arg1, 54); };
    void on_sb55_valueChanged(int arg1) { on_xx_valueChanged(arg1, 55); };
    void on_sb56_valueChanged(int arg1) { on_xx_valueChanged(arg1, 56); };
    void on_sb57_valueChanged(int arg1) { on_xx_valueChanged(arg1, 57); };
    void on_sb58_valueChanged(int arg1) { on_xx_valueChanged(arg1, 58); };
    void on_sb59_valueChanged(int arg1) { on_xx_valueChanged(arg1, 59); };
    void on_sb60_valueChanged(int arg1) { on_xx_valueChanged(arg1, 60); };
    void on_sb61_valueChanged(int arg1) { on_xx_valueChanged(arg1, 61); };
    void on_sb62_valueChanged(int arg1) { on_xx_valueChanged(arg1, 62); };
    void on_sb63_valueChanged(int arg1) { on_xx_valueChanged(arg1, 63); };

    void on_Close_clicked();
    void on_SetAllToMax_clicked();
    void on_SetAllToMin_clicked();
    void on_CopyCh00ToAll_clicked();
    void on_WriteToChip_clicked();

    void on_AddToAll_clicked();

private:
    QObject                 *Partner;
    QSpinBox                *sbAry[MAROC_MAXMAROCCHANNELS];
    void                    on_xx_valueChanged(int arg1, int nr);
    void                    GetAllValues();
    Ui::DlgGain             *ui;
};

#endif // DLGGAIN_H