An input widget accepting only digits. More...
#include <intinwidget.h>


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 IntInWidget & | operator= (const IntInWidget &) |
Basically the same as InputWidget, but does only allow digits as input.
Definition at line 60 of file intinwidget.h.
| 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.
| 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().


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

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


1.7.1