SHAPER  9.12.0
ModuleBase_IntSpinBox Class Reference

Enhanced version of the Qt's int spin box. More...

Inheritance diagram for ModuleBase_IntSpinBox:
Inheritance graph

Public Member Functions

 ModuleBase_IntSpinBox (QWidget *theParent=0)
 Constructor. More...
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *theEvent)
 Called on key press event. More...
 

Detailed Description

Enhanced version of the Qt's int spin box.

It allows to store modified state

Constructor & Destructor Documentation

◆ ModuleBase_IntSpinBox()

ModuleBase_IntSpinBox::ModuleBase_IntSpinBox ( QWidget theParent = 0)
explicit

Constructor.

Parameters
theParenta parent widget

Member Function Documentation

◆ keyPressEvent()

void ModuleBase_IntSpinBox::keyPressEvent ( QKeyEvent *  theEvent)
protectedvirtual

Called on key press event.