Public Types | Public Slots | Public Member Functions | Protected Slots | Protected Member Functions

ctkMatrixWidget Class Reference

#include <Libs/Widgets/ctkMatrixWidget.h>

Inheritance diagram for ctkMatrixWidget:
Inheritance graph

List of all members.

Public Types

typedef QTableWidget Superclass
 Superclass typedef.

Public Slots

void reset ()

Public Member Functions

 ctkMatrixWidget (QWidget *parent=0)
virtual QSize minimumSizeHint () const
void setValue (int i, int j, double value)
void setVector (const QVector< double > &vector)
virtual QSize sizeHint () const
double value (int i, int j)
virtual ~ctkMatrixWidget ()

Protected Slots

void adjustRowsColumnsSize (int width, int height)

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)

Detailed Description

Definition at line 33 of file ctkMatrixWidget.h.

Member Typedef Documentation

typedef QTableWidget ctkMatrixWidget::Superclass

Superclass typedef.

Reimplemented in ctkVTKAbstractMatrixWidget, and ctkVTKMatrixWidget.

Definition at line 39 of file ctkMatrixWidget.h.

Constructor & Destructor Documentation

ctkMatrixWidget::ctkMatrixWidget ( QWidget *  parent = 0  )  [explicit]


Definition at line 38 of file ctkMatrixWidget.cpp.

virtual ctkMatrixWidget::~ctkMatrixWidget (  )  [inline, virtual]

Definition at line 43 of file ctkMatrixWidget.h.

Member Function Documentation

void ctkMatrixWidget::adjustRowsColumnsSize ( int  width,
int  height 
) [protected, slot]

Adjust columns/rows size according to width/height

Definition at line 85 of file ctkMatrixWidget.cpp.

QSize ctkMatrixWidget::minimumSizeHint (  )  const [virtual]

Overloaded - See QWidget

Definition at line 66 of file ctkMatrixWidget.cpp.

void ctkMatrixWidget::reset (  )  [slot]

Reset to zero

Definition at line 107 of file ctkMatrixWidget.cpp.

void ctkMatrixWidget::resizeEvent ( QResizeEvent *  event  )  [protected, virtual]

Definition at line 78 of file ctkMatrixWidget.cpp.

void ctkMatrixWidget::setValue ( int  i,
int  j,
double  value 

Definition at line 132 of file ctkMatrixWidget.cpp.

void ctkMatrixWidget::setVector ( const QVector< double > &  vector  ) 

Definition at line 140 of file ctkMatrixWidget.cpp.

QSize ctkMatrixWidget::sizeHint (  )  const [virtual]

Definition at line 72 of file ctkMatrixWidget.cpp.

double ctkMatrixWidget::value ( int  i,
int  j 

Set / Get values

Definition at line 124 of file ctkMatrixWidget.cpp.

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines