Back to index

salome-smesh  6.5.0
Public Member Functions | Static Public Member Functions
SMESHGUI_FilterTable::IntSpinItem Class Reference

List of all members.

Public Member Functions

 IntSpinItem (const int theValue)
int value () const
void setValue (const int theValue)
void clear ()

Static Public Member Functions

static int Type ()

Detailed Description

Definition at line 480 of file SMESHGUI_FilterDlg.cxx.


Constructor & Destructor Documentation

Definition at line 498 of file SMESHGUI_FilterDlg.cxx.

 : QTableWidgetItem( Type() )
{
  setValue( theValue );
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 517 of file SMESHGUI_FilterDlg.cxx.

{
  setText( "" );
}

Here is the caller graph for this function:

void SMESHGUI_FilterTable::IntSpinItem::setValue ( const int  theValue)

Definition at line 511 of file SMESHGUI_FilterDlg.cxx.

{
  setData( Qt::UserRole, theValue );
  setText( QString::number( theValue ) ); 
}

Here is the caller graph for this function:

Definition at line 493 of file SMESHGUI_FilterDlg.cxx.

{
  return QTableWidgetItem::UserType + 3;
}

Definition at line 504 of file SMESHGUI_FilterDlg.cxx.

{
  bool ok = false;
  int value = data( Qt::UserRole ).toInt( &ok );
  return ok ? value : 0; 
}

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