#include <nxyterwidget.h>


Public Slots | |
| void | showContext () |
| void | biasRegChanged (int) |
| void | maskRowColumn (int) |
| void | thresholdRowColumn (int) |
| void | configBitChanged (int) |
| void | otherRegsChanged (int) |
| void | setSubChangedOn () |
| void | setSubChangedOff () |
Public Member Functions | |
| NxyterWidget (QWidget *parent, nxyter::NxChip *chip) | |
| void | showMask () |
| void | showThreshold (int select=-1) |
| virtual bool | getSubConfig () |
| virtual bool | setSubConfig () |
| virtual bool | setSubToDefault () |
| virtual bool | fillCmdFile (FILE *f) |
| RocTabsWidget * | rocTabs () |
| bool | isSubChanged () const |
| void | setSubChanged (bool on) |
| void | showMessage (const QString &msg, int tmout=0) |
Protected Attributes | |
| nxyter::NxChip * | fChip |
| nxyter::NxContext | fContext |
| QSpinBox * | fBiasSpins [NumBias] |
| QSlider * | fBiasSlider [NumBias] |
| QCheckBox * | fMaskChks [MaskSize] |
| QSpinBox * | fThrdSpins [MaskSize+1] |
| QCheckBox * | fConfigChks [NumConfigBits] |
| QSpinBox * | fOtherSpins [NumOtherRegs] |
| bool | fIgnore |
| bool | fSubChanged |
Private Types | |
| enum | { NumBias = 14, BiasShift = 16, MaskSize = 128, NumConfigBits = 12, NumOtherRegs = 5 } |
Definition at line 17 of file nxyterwidget.h.
anonymous enum [private] |
Definition at line 20 of file nxyterwidget.h.
| NxyterWidget::NxyterWidget | ( | QWidget * | parent, | |
| nxyter::NxChip * | chip | |||
| ) |
Definition at line 11 of file nxyterwidget.cpp.
References biasRegChanged(), BiasShift, configBitChanged(), nxyter::NxI2c::configurationBitName(), fBiasSlider, fBiasSpins, fConfigChks, fIgnore, fMaskChks, fOtherSpins, fThrdSpins, getSubConfig(), maskRowColumn(), otherRegsChanged(), OtherRegsId, nxyter::NxI2c::registerName(), and thresholdRowColumn().
| void NxyterWidget::biasRegChanged | ( | int | nreg | ) | [slot] |
Definition at line 314 of file nxyterwidget.cpp.
References BiasShift, fBiasSlider, fBiasSpins, fChip, fContext, fIgnore, nxyter::NxChip::i2c(), roc::I2cDevice::setRegister(), and nxyter::NxContext::setRegister().
Referenced by NxyterWidget().
| void NxyterWidget::configBitChanged | ( | int | nbit | ) | [slot] |
Definition at line 448 of file nxyterwidget.cpp.
References fConfigChks, fContext, fIgnore, nxyter::NxContext::setConfigurationBit(), and SubWidget::setSubChangedOn().
Referenced by NxyterWidget().
| bool NxyterWidget::fillCmdFile | ( | FILE * | f | ) | [virtual] |
Reimplemented from SubWidget.
Definition at line 240 of file nxyterwidget.cpp.
References fContext, and nxyter::NxContext::fillCmdFile().
| bool NxyterWidget::getSubConfig | ( | ) | [virtual] |
Reimplemented from SubWidget.
Definition at line 226 of file nxyterwidget.cpp.
References fChip, fContext, nxyter::NxI2c::getContext(), nxyter::NxChip::i2c(), and showContext().
Referenced by NxyterWidget().
| bool SubWidget::isSubChanged | ( | ) | const [inline, inherited] |
Definition at line 26 of file subwidget.h.
References SubWidget::fSubChanged.
Referenced by RocTabsWidget::showSubChanged().
| void NxyterWidget::maskRowColumn | ( | int | pos | ) | [slot] |
Definition at line 337 of file nxyterwidget.cpp.
References fContext, fIgnore, fMaskChks, nxyter::NxContext::getChannelMaskBit(), MaskSize, nxyter::NxContext::setChannelMaskBit(), SubWidget::setSubChangedOn(), and showMask().
Referenced by NxyterWidget().
| void NxyterWidget::otherRegsChanged | ( | int | n | ) | [slot] |
Definition at line 459 of file nxyterwidget.cpp.
References fContext, fIgnore, fOtherSpins, OtherRegsId, nxyter::NxContext::setRegister(), and SubWidget::setSubChangedOn().
Referenced by NxyterWidget().
| RocTabsWidget * SubWidget::rocTabs | ( | ) | [inherited] |
Definition at line 9 of file subwidget.cpp.
Referenced by SubWidget::setSubChanged(), and SubWidget::showMessage().
| void SubWidget::setSubChanged | ( | bool | on | ) | [inherited] |
Definition at line 31 of file subwidget.cpp.
References SubWidget::fSubChanged, SubWidget::rocTabs(), and RocTabsWidget::showSubChanged().
Referenced by FebWidget::enableNxClicked(), RocTabsWidget::getCurrConfig(), RocTabsWidget::getFullConfig(), RocTabsWidget::setCurrConfig(), RocTabsWidget::setFullConfig(), SubWidget::setSubChangedOff(), and SubWidget::setSubChangedOn().
| void SubWidget::setSubChangedOff | ( | ) | [slot, inherited] |
Definition at line 44 of file subwidget.cpp.
References SubWidget::setSubChanged().
| void SubWidget::setSubChangedOn | ( | ) | [slot, inherited] |
Definition at line 39 of file subwidget.cpp.
References SubWidget::setSubChanged().
Referenced by configBitChanged(), maskRowColumn(), otherRegsChanged(), RocFeetWidget::RocFeetWidget(), RocFeetWidget::setSubToDefault(), setSubToDefault(), thresholdRowColumn(), and UdpWidget::UdpWidget().
| bool NxyterWidget::setSubConfig | ( | ) | [virtual] |
Reimplemented from SubWidget.
Definition at line 235 of file nxyterwidget.cpp.
References fChip, fContext, nxyter::NxChip::i2c(), and nxyter::NxI2c::setContext().
| bool NxyterWidget::setSubToDefault | ( | ) | [virtual] |
Reimplemented from SubWidget.
Definition at line 247 of file nxyterwidget.cpp.
References fContext, SubWidget::setSubChangedOn(), nxyter::NxContext::setToDefault(), and showContext().
| void NxyterWidget::showContext | ( | ) | [slot] |
Definition at line 259 of file nxyterwidget.cpp.
References BiasShift, fBiasSlider, fBiasSpins, fConfigChks, fContext, fIgnore, fOtherSpins, nxyter::NxContext::getConfigurationBit(), nxyter::NxContext::getRegister(), OtherRegsId, showMask(), and showThreshold().
Referenced by getSubConfig(), and setSubToDefault().
| void NxyterWidget::showMask | ( | ) |
Definition at line 284 of file nxyterwidget.cpp.
References fContext, fIgnore, fMaskChks, and nxyter::NxContext::getChannelMaskBit().
Referenced by maskRowColumn(), and showContext().
| void SubWidget::showMessage | ( | const QString & | msg, | |
| int | tmout = 0 | |||
| ) | [inherited] |
Definition at line 25 of file subwidget.cpp.
References SubWidget::rocTabs(), and RocTabsWidget::showMessage().
Referenced by RocMainWidget::setSubToDefault(), and BoardWidget::setSubToDefault().
| void NxyterWidget::showThreshold | ( | int | select = -1 |
) |
Definition at line 294 of file nxyterwidget.cpp.
References fContext, fIgnore, fThrdSpins, nxyter::NxContext::getPowerOffMaskBit(), nxyter::NxContext::getThresholdTrim(), and MaskSize.
Referenced by showContext(), and thresholdRowColumn().
| void NxyterWidget::thresholdRowColumn | ( | int | pos | ) | [slot] |
Definition at line 372 of file nxyterwidget.cpp.
References fContext, fIgnore, fThrdSpins, nxyter::NxContext::getPowerOffMaskBit(), nxyter::NxContext::getThresholdTrim(), MaskSize, nxyter::NxContext::setPowerOffMaskBit(), SubWidget::setSubChangedOn(), nxyter::NxContext::setThresholdTrim(), and showThreshold().
Referenced by NxyterWidget().
QSlider* NxyterWidget::fBiasSlider[NumBias] [protected] |
Definition at line 27 of file nxyterwidget.h.
Referenced by biasRegChanged(), NxyterWidget(), and showContext().
QSpinBox* NxyterWidget::fBiasSpins[NumBias] [protected] |
Definition at line 26 of file nxyterwidget.h.
Referenced by biasRegChanged(), NxyterWidget(), and showContext().
nxyter::NxChip* NxyterWidget::fChip [protected] |
Definition at line 23 of file nxyterwidget.h.
Referenced by biasRegChanged(), getSubConfig(), and setSubConfig().
QCheckBox* NxyterWidget::fConfigChks[NumConfigBits] [protected] |
Definition at line 30 of file nxyterwidget.h.
Referenced by configBitChanged(), NxyterWidget(), and showContext().
nxyter::NxContext NxyterWidget::fContext [protected] |
Definition at line 24 of file nxyterwidget.h.
Referenced by biasRegChanged(), configBitChanged(), fillCmdFile(), getSubConfig(), maskRowColumn(), otherRegsChanged(), setSubConfig(), setSubToDefault(), showContext(), showMask(), showThreshold(), and thresholdRowColumn().
bool NxyterWidget::fIgnore [protected] |
Definition at line 33 of file nxyterwidget.h.
Referenced by biasRegChanged(), configBitChanged(), maskRowColumn(), NxyterWidget(), otherRegsChanged(), showContext(), showMask(), showThreshold(), and thresholdRowColumn().
QCheckBox* NxyterWidget::fMaskChks[MaskSize] [protected] |
Definition at line 28 of file nxyterwidget.h.
Referenced by maskRowColumn(), NxyterWidget(), and showMask().
QSpinBox* NxyterWidget::fOtherSpins[NumOtherRegs] [protected] |
Definition at line 31 of file nxyterwidget.h.
Referenced by NxyterWidget(), otherRegsChanged(), and showContext().
bool SubWidget::fSubChanged [protected, inherited] |
Definition at line 14 of file subwidget.h.
Referenced by SubWidget::isSubChanged(), and SubWidget::setSubChanged().
QSpinBox* NxyterWidget::fThrdSpins[MaskSize+1] [protected] |
Definition at line 29 of file nxyterwidget.h.
Referenced by NxyterWidget(), showThreshold(), and thresholdRowColumn().
1.7.1