Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | List of all members
TYLineEditInt Class Reference

#include <TYLineEditInt.h>

Inheritance diagram for TYLineEditInt:
Inheritance graph
[legend]
Collaboration diagram for TYLineEditInt:
Collaboration graph
[legend]

Public Member Functions

 TYLineEditInt (QWidget *parent=0)
 
 ~TYLineEditInt ()
 
void init () override
 
void keyPressEvent (QKeyEvent *evt) override
 
- Public Member Functions inherited from TYLineEdit
 TYLineEdit (const QString &contents, bool isZeroOK=true, bool canBeNegative=true, QWidget *parent=nullptr)
 
 TYLineEdit (const QString &contents, QWidget *parent=nullptr)
 
 TYLineEdit (QWidget *parent=nullptr)
 
void connect ()
 

Additional Inherited Members

- Public Slots inherited from TYLineEdit
void adjustTextColor ()
 

Detailed Description

Definition at line 29 of file TYLineEditInt.h.

Constructor & Destructor Documentation

◆ TYLineEditInt()

TYLineEditInt::TYLineEditInt ( QWidget *  parent = 0)

Definition at line 27 of file TYLineEditInt.cpp.

Here is the call graph for this function:

◆ ~TYLineEditInt()

TYLineEditInt::~TYLineEditInt ( )

Definition at line 32 of file TYLineEditInt.cpp.

Member Function Documentation

◆ init()

void TYLineEditInt::init ( )
overridevirtual

Initialize the widget

Reimplemented from TYLineEdit.

Definition at line 34 of file TYLineEditInt.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ keyPressEvent()

void TYLineEditInt::keyPressEvent ( QKeyEvent *  evt)
overridevirtual

overload the QLineEdit method If the key pressed is a coma, discard it

Reimplemented from TYLineEdit.

Definition at line 45 of file TYLineEditInt.cpp.


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