Back to index

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

List of all members.

Public Member Functions

 CheckItem (bool=false)
 CheckItem (const QString &, bool=false)
 ~CheckItem ()
void setChecked (bool)
bool checked () const

Static Public Member Functions

static int Type ()

Detailed Description

Definition at line 420 of file SMESHGUI_FilterDlg.cxx.


Constructor & Destructor Documentation

Definition at line 438 of file SMESHGUI_FilterDlg.cxx.

 : QTableWidgetItem( Type() )
{
  Qt::ItemFlags f = flags();
  f = f | Qt::ItemIsUserCheckable;
  f = f & ~Qt::ItemIsTristate;
  f = f & ~Qt::ItemIsEditable;
  setFlags( f );
  setChecked(value);
}

Here is the call graph for this function:

SMESHGUI_FilterTable::CheckItem::CheckItem ( const QString &  text,
bool  value = false 
)

Definition at line 449 of file SMESHGUI_FilterDlg.cxx.

 : QTableWidgetItem( Type() )
{
  Qt::ItemFlags f = flags();
  f = f | Qt::ItemIsUserCheckable;
  f = f & ~Qt::ItemIsTristate;
  f = f & ~Qt::ItemIsEditable;
  setFlags( f );
  setChecked( value );
  setText( text );
}

Here is the call graph for this function:

Definition at line 461 of file SMESHGUI_FilterDlg.cxx.

{
}

Member Function Documentation

Definition at line 470 of file SMESHGUI_FilterDlg.cxx.

{
  return checkState() == Qt::Checked;
}

Definition at line 465 of file SMESHGUI_FilterDlg.cxx.

{
  setCheckState( value ? Qt::Checked : Qt::Unchecked );
}

Here is the caller graph for this function:

Definition at line 433 of file SMESHGUI_FilterDlg.cxx.

{
  return QTableWidgetItem::UserType + 2;
}

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