Back to index

salome-smesh  6.5.0
Public Member Functions
IdEditItem Class Reference

Simple editable table item. More...

List of all members.

Public Member Functions

 IdEditItem (const QString &text)
 ~IdEditItem ()
QWidget * createEditor () const

Detailed Description

Simple editable table item.

Definition at line 299 of file SMESHGUI_AddQuadraticElementDlg.cxx.


Constructor & Destructor Documentation

IdEditItem::IdEditItem ( const QString &  text)

Definition at line 308 of file SMESHGUI_AddQuadraticElementDlg.cxx.

  : QTableWidgetItem(text, QTableWidgetItem::UserType+100)
{
}

Definition at line 313 of file SMESHGUI_AddQuadraticElementDlg.cxx.

{
}

Member Function Documentation

QWidget * IdEditItem::createEditor ( ) const

Definition at line 317 of file SMESHGUI_AddQuadraticElementDlg.cxx.

{
  QLineEdit *aLineEdit = new QLineEdit(text(), tableWidget());
  aLineEdit->setValidator( new SMESHGUI_IdValidator(tableWidget(), 1) );
  return aLineEdit;
}

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