Quote Originally Posted by saa7_go View Post
You create a new class based on QSpinBox. For example:

Qt Code:
  1. #include <QSpinBox>
  2. #include <QKeyEvent>
  3.  
  4. class SpinBox : public QSpinBox
  5. {
  6. public:
  7. SpinBox(QWidget *parent = 0) : QSpinBox(parent) { }
  8.  
  9. protected:
  10. // reimplement keyPressEvent
  11. void keyPressEvent(QKeyEvent *event)
  12. {
  13. event->ignore();
  14. }
  15. };
To copy to clipboard, switch view to plain text mode 
I just implemented as above and it works!.. Yaayy...Thanks a million!