Public Member Functions | Protected Member Functions | Private Member Functions

YAPET::UI::IntInWidget Class Reference

An input widget accepting only digits. More...

#include <intinwidget.h>

Inheritance diagram for YAPET::UI::IntInWidget:
Inheritance graph
[legend]
Collaboration diagram for YAPET::UI::IntInWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned long getInt () const
 IntInWidget (int sx, int sy, int w, int ml=getDigitsForType< unsigned long >(), bool ro=false) throw (UIException)
 IntInWidget (int sx, int sy, int w, bool ro) throw (UIException)
void setInt (unsigned long i)
virtual ~IntInWidget ()

Protected Member Functions

virtual void processInput (int ch) throw (UIException)

Private Member Functions

const IntInWidgetoperator= (const IntInWidget &)

Detailed Description

Basically the same as InputWidget, but does only allow digits as input.

Definition at line 60 of file intinwidget.h.


Constructor & Destructor Documentation

IntInWidget::IntInWidget ( int  sx,
int  sy,
int  w,
int  ml = getDigitsForType<unsigned long>(),
bool  ro = false 
) throw (UIException)

Definition at line 38 of file intinwidget.cc.

YAPET::UI::IntInWidget::IntInWidget ( int  sx,
int  sy,
int  w,
bool  ro 
) throw (UIException) [inline]

Definition at line 71 of file intinwidget.h.

IntInWidget::~IntInWidget (  )  [virtual]

Definition at line 42 of file intinwidget.cc.


Member Function Documentation

unsigned long IntInWidget::getInt (  )  const

Definition at line 52 of file intinwidget.cc.

References YAPET::UI::InputWidget::getText(), and YAPET::UI::InputWidget::hasText().

Referenced by PWGenDialog::run(), and PWGenDialog::~PWGenDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

const IntInWidget& YAPET::UI::IntInWidget::operator= ( const IntInWidget  )  [inline, private]

Definition at line 62 of file intinwidget.h.

void IntInWidget::processInput ( int  ch  )  throw (UIException) [protected, virtual]

Reimplemented from YAPET::UI::InputWidget.

Definition at line 46 of file intinwidget.cc.

References YAPET::UI::InputWidget::processInput().

Here is the call graph for this function:

void IntInWidget::setInt ( unsigned long  i  ) 

Definition at line 59 of file intinwidget.cc.

References YAPET::UI::InputWidget::setText().

Referenced by PWGenDialog::refresh(), and PWGenDialog::run().

Here is the call graph for this function:

Here is the caller graph for this function:


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