Public Slots | Public Member Functions | Protected Attributes | Private Types

NxyterWidget Class Reference

#include <nxyterwidget.h>

Inheritance diagram for NxyterWidget:
Inheritance graph
[legend]
Collaboration diagram for NxyterWidget:
Collaboration graph
[legend]

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)
RocTabsWidgetrocTabs ()
bool isSubChanged () const
void setSubChanged (bool on)
void showMessage (const QString &msg, int tmout=0)

Protected Attributes

nxyter::NxChipfChip
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
}

Detailed Description

Definition at line 17 of file nxyterwidget.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
NumBias 
BiasShift 
MaskSize 
NumConfigBits 
NumOtherRegs 

Definition at line 20 of file nxyterwidget.h.


Constructor & Destructor Documentation

NxyterWidget::NxyterWidget ( QWidget *  parent,
nxyter::NxChip chip 
)

Member Function Documentation

void NxyterWidget::biasRegChanged ( int  nreg  )  [slot]
void NxyterWidget::configBitChanged ( int  nbit  )  [slot]
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]
void NxyterWidget::otherRegsChanged ( int  n  )  [slot]
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]
void SubWidget::setSubChangedOff (  )  [slot, inherited]

Definition at line 44 of file subwidget.cpp.

References SubWidget::setSubChanged().

void SubWidget::setSubChangedOn (  )  [slot, inherited]
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]
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]
void NxyterWidget::showThreshold ( int  select = -1  ) 
void NxyterWidget::thresholdRowColumn ( int  pos  )  [slot]

Field Documentation

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().

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().

bool NxyterWidget::fIgnore [protected]
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().


The documentation for this class was generated from the following files: