Version: 8.3.0
StdMeshersGUI_DistrTableFrame::Table Class Reference

Table function widget. More...

Inheritance diagram for StdMeshersGUI_DistrTableFrame::Table:

Data Structures

struct  EditorData
 

Public Member Functions

 Table (QWidget *, int=2)
 
 ~Table ()
 
QList< double > data ()
 
void setData (const QList< double > &)
 
double value (int, int) const
 
void setValue (int, int, double)
 
double argMinimum (int) const
 
double argMaximum (int) const
 
double argStep (int) const
 
double funcMinimum (int) const
 
double funcMaximum (int) const
 
double funcStep (int) const
 
void setFuncMinValue (double)
 
QSize sizeHint () const
 
void addRow ()
 
void deleteRow ()
 
void setEditor (int, int, SMESHGUI_SpinBox *)
 

Protected Member Functions

void closeEditor (QWidget *, QAbstractItemDelegate::EndEditHint)
 

Private Member Functions

void setUpRows (bool=false)
 
QSize cachedSizeHint () const
 
void setCachedSizeHint (const QSize &) const
 
QList< intselectedRows ()
 

Private Attributes

double myFuncMin
 
QSize myCachedSizeHint
 
EditorData myEditorData
 

Detailed Description

Table function widget.

Constructor & Destructor Documentation

StdMeshersGUI_DistrTableFrame::Table::Table ( QWidget parent,
int  rows = 2 
)

References addRow(), and setUpRows().

StdMeshersGUI_DistrTableFrame::Table::~Table ( )

Member Function Documentation

void StdMeshersGUI_DistrTableFrame::Table::addRow ( )
double StdMeshersGUI_DistrTableFrame::Table::argMaximum ( int  r) const
double StdMeshersGUI_DistrTableFrame::Table::argMinimum ( int  r) const
double StdMeshersGUI_DistrTableFrame::Table::argStep ( int  ) const
QSize StdMeshersGUI_DistrTableFrame::Table::cachedSizeHint ( ) const
private
void StdMeshersGUI_DistrTableFrame::Table::closeEditor ( QWidget editor,
QAbstractItemDelegate::EndEditHint  hint 
)
protected
QList< double > StdMeshersGUI_DistrTableFrame::Table::data ( )
void StdMeshersGUI_DistrTableFrame::Table::deleteRow ( )
double StdMeshersGUI_DistrTableFrame::Table::funcMaximum ( int  ) const
double StdMeshersGUI_DistrTableFrame::Table::funcMinimum ( int  ) const
double StdMeshersGUI_DistrTableFrame::Table::funcStep ( int  ) const
QList< int > StdMeshersGUI_DistrTableFrame::Table::selectedRows ( )
private
void StdMeshersGUI_DistrTableFrame::Table::setCachedSizeHint ( const QSize &  s) const
private

References myCachedSizeHint.

void StdMeshersGUI_DistrTableFrame::Table::setData ( const QList< double > &  d)
void StdMeshersGUI_DistrTableFrame::Table::setEditor ( int  r,
int  c,
SMESHGUI_SpinBox sb 
)
void StdMeshersGUI_DistrTableFrame::Table::setFuncMinValue ( double  val)
void StdMeshersGUI_DistrTableFrame::Table::setUpRows ( bool  autoset = false)
private
void StdMeshersGUI_DistrTableFrame::Table::setValue ( int  r,
int  c,
double  v 
)
QSize StdMeshersGUI_DistrTableFrame::Table::sizeHint ( ) const
double StdMeshersGUI_DistrTableFrame::Table::value ( int  r,
int  c 
) const

Field Documentation

QSize StdMeshersGUI_DistrTableFrame::Table::myCachedSizeHint
private

Referenced by setCachedSizeHint().

EditorData StdMeshersGUI_DistrTableFrame::Table::myEditorData
private
double StdMeshersGUI_DistrTableFrame::Table::myFuncMin
private