Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes

GpioWidget Class Reference

#include <gpiowidget.h>

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

Public Slots

void setMask ()
void sync0scaleactivated (int)
void sync0rateactivated (int)
void sync1rateactivated (int)
void sync2rateactivated (int)
void setSubChangedOn ()
void setSubChangedOff ()

Public Member Functions

 GpioWidget (QWidget *parent, base::Board *brd)
void setSyncRate (int sync)
virtual bool getSubConfig ()
virtual bool setSubConfig ()
virtual bool fillCmdFile (FILE *f)
virtual bool setSubToDefault ()
RocTabsWidgetrocTabs ()
bool isSubChanged () const
void setSubChanged (bool on)
void showMessage (const QString &msg, int tmout=0)

Protected Member Functions

uint32_t getMaskValue ()

Protected Attributes

base::Gpio fGPIO
QComboBox * fScaleDownCombo
QComboBox * fSyncRateCombo [base::NumGpio]
QCheckBox * fRisingChk [base::NumGpio]
QCheckBox * fFallingChk [base::NumGpio]
QCheckBox * fThrottledChk [base::NumGpio]
QCheckBox * fAdditionalChk [base::NumGpio]
QCheckBox * fAlternateChk [base::NumGpio]
bool fSubChanged

Detailed Description

Definition at line 14 of file gpiowidget.h.


Constructor & Destructor Documentation

GpioWidget::GpioWidget ( QWidget *  parent,
base::Board brd 
)

Member Function Documentation

bool GpioWidget::fillCmdFile ( FILE *  f  )  [virtual]
uint32_t GpioWidget::getMaskValue (  )  [protected]
bool GpioWidget::getSubConfig (  )  [virtual]
bool SubWidget::isSubChanged (  )  const [inline, inherited]

Definition at line 26 of file subwidget.h.

References SubWidget::fSubChanged.

Referenced by RocTabsWidget::showSubChanged().

RocTabsWidget * SubWidget::rocTabs (  )  [inherited]

Definition at line 9 of file subwidget.cpp.

Referenced by SubWidget::setSubChanged(), and SubWidget::showMessage().

void GpioWidget::setMask (  )  [slot]

Definition at line 186 of file gpiowidget.cpp.

References fGPIO, getMaskValue(), and base::Gpio::setConfig().

Referenced by GpioWidget(), and setSubConfig().

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 GpioWidget::setSubConfig (  )  [virtual]

Reimplemented from SubWidget.

Definition at line 152 of file gpiowidget.cpp.

References fGPIO, fScaleDownCombo, setMask(), setSyncRate(), and base::Gpio::setSyncScale().

virtual bool SubWidget::setSubToDefault (  )  [inline, virtual, inherited]

Reimplemented in AdcWidget, BoardWidget, NxyterWidget, RocFeetWidget, RocMainWidget, and RocNxWidget.

Definition at line 21 of file subwidget.h.

Referenced by RocTabsWidget::setCurrDefault().

void GpioWidget::setSyncRate ( int  sync  ) 
void SubWidget::showMessage ( const QString &  msg,
int  tmout = 0 
) [inherited]
void GpioWidget::sync0rateactivated ( int   )  [slot]

Definition at line 212 of file gpiowidget.cpp.

References setSyncRate().

Referenced by GpioWidget().

void GpioWidget::sync0scaleactivated ( int  indx  )  [slot]

Definition at line 207 of file gpiowidget.cpp.

References fGPIO, and base::Gpio::setSyncScale().

Referenced by GpioWidget().

void GpioWidget::sync1rateactivated ( int   )  [slot]

Definition at line 217 of file gpiowidget.cpp.

References setSyncRate().

Referenced by GpioWidget().

void GpioWidget::sync2rateactivated ( int   )  [slot]

Definition at line 222 of file gpiowidget.cpp.

References setSyncRate().

Referenced by GpioWidget().


Field Documentation

QCheckBox* GpioWidget::fAdditionalChk[base::NumGpio] [protected]

Definition at line 25 of file gpiowidget.h.

Referenced by fillCmdFile(), getMaskValue(), getSubConfig(), and GpioWidget().

QCheckBox* GpioWidget::fAlternateChk[base::NumGpio] [protected]

Definition at line 26 of file gpiowidget.h.

Referenced by fillCmdFile(), getMaskValue(), getSubConfig(), and GpioWidget().

QCheckBox* GpioWidget::fFallingChk[base::NumGpio] [protected]

Definition at line 23 of file gpiowidget.h.

Referenced by fillCmdFile(), getMaskValue(), getSubConfig(), and GpioWidget().

Definition at line 18 of file gpiowidget.h.

Referenced by getSubConfig(), setMask(), setSubConfig(), setSyncRate(), and sync0scaleactivated().

QCheckBox* GpioWidget::fRisingChk[base::NumGpio] [protected]

Definition at line 22 of file gpiowidget.h.

Referenced by fillCmdFile(), getMaskValue(), getSubConfig(), and GpioWidget().

QComboBox* GpioWidget::fScaleDownCombo [protected]

Definition at line 20 of file gpiowidget.h.

Referenced by fillCmdFile(), getSubConfig(), GpioWidget(), and setSubConfig().

bool SubWidget::fSubChanged [protected, inherited]

Definition at line 14 of file subwidget.h.

Referenced by SubWidget::isSubChanged(), and SubWidget::setSubChanged().

QComboBox* GpioWidget::fSyncRateCombo[base::NumGpio] [protected]

Definition at line 21 of file gpiowidget.h.

Referenced by fillCmdFile(), getSubConfig(), GpioWidget(), and setSyncRate().

QCheckBox* GpioWidget::fThrottledChk[base::NumGpio] [protected]

Definition at line 24 of file gpiowidget.h.

Referenced by fillCmdFile(), getMaskValue(), getSubConfig(), and GpioWidget().


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