Version: 8.3.0
StdMeshersGUI_DistrTableFrame Class Reference

Distribution table widget. More...

#include <StdMeshersGUI_DistrTable.h>

Inheritance diagram for StdMeshersGUI_DistrTableFrame:

Data Structures

class  SpinBoxDelegate
 Custom item delegate (uses double spin box to edit table item) More...
 
class  Table
 Table function widget. More...
 

Public Types

enum  TableButton { InsertRowBtn, RemoveRowBtn }
 

Signals

void valueChanged (int, int)
 
void currentChanged (int, int)
 

Public Member Functions

 StdMeshersGUI_DistrTableFrame (QWidget *=0)
 
 ~StdMeshersGUI_DistrTableFrame ()
 
void showButton (const TableButton, const bool)
 
bool isButtonShown (const TableButton) const
 
void data (DataArray &) const
 
void setData (const DataArray &)
 
void setFuncMinValue (double)
 

Private Types

enum  { ArgColumn, FuncColumn }
 
typedef SMESH::double_array DataArray
 

Private Slots

void onInsert ()
 
void onRemove ()
 

Private Member Functions

QPushButton * button (const TableButton) const
 

Private Attributes

QMap< int, QPushButton * > myButtons
 
TablemyTable
 

Detailed Description

Distribution table widget.

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
private
Enumerator
ArgColumn 
FuncColumn 
Enumerator
InsertRowBtn 
RemoveRowBtn 

Constructor & Destructor Documentation

StdMeshersGUI_DistrTableFrame::StdMeshersGUI_DistrTableFrame ( QWidget parent = 0)
StdMeshersGUI_DistrTableFrame::~StdMeshersGUI_DistrTableFrame ( )

Member Function Documentation

QPushButton * StdMeshersGUI_DistrTableFrame::button ( const TableButton  b) const
private

References myButtons.

Referenced by isButtonShown(), and showButton().

void StdMeshersGUI_DistrTableFrame::currentChanged ( int  ,
int   
)
signal
bool StdMeshersGUI_DistrTableFrame::isButtonShown ( const TableButton  b) const

References button().

void StdMeshersGUI_DistrTableFrame::onInsert ( )
privateslot
void StdMeshersGUI_DistrTableFrame::onRemove ( )
privateslot
void StdMeshersGUI_DistrTableFrame::setFuncMinValue ( double  v)
void StdMeshersGUI_DistrTableFrame::showButton ( const TableButton  b,
const bool  on 
)

References button().

void StdMeshersGUI_DistrTableFrame::valueChanged ( int  ,
int   
)
signal

Field Documentation

QMap<int, QPushButton*> StdMeshersGUI_DistrTableFrame::myButtons
private