![]() |
| | #1 |
| Registered User Join Date: Jul 2003
Posts: 450
| QInttValidator may be broken. Code: QValidator* validator = new QIntValidator( INT_MIN, INT_MAX, this ); My question is for this generic integer input program should I allow ten digits and give a warning if it overflows or should I just use this QIntValidator. The reason why I am doing this is to seperate the GUI from future implementations which may need the full integer range. I have a member function getInteger() as the interface to the rest of the program. The failsafes are implemented by input routine. What would you do? |
| curlious is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| broken application | bejiz | Tech Board | 1 | 08-17-2007 09:12 AM |
| Broken Necklace | sybariticak47 | Windows Programming | 6 | 01-22-2006 03:31 PM |
| undeclared identifier problem | jjj93421 | C++ Programming | 13 | 04-24-2004 09:22 AM |
| broken pipe | samps005 | Linux Programming | 1 | 05-07-2003 09:04 PM |
| Broken Link | JoshG | A Brief History of Cprogramming.com | 1 | 05-13-2002 03:43 PM |