Column Class Reference

List of all members.

Public Member Functions

Qt::Alignment alignment () const
double avg (int startRow=0, int endRow=-1)
char charNumericFormat () const
void clear (int startRow=0, int endRow=-1)
void clearCell (int row)
QString command () const
QString comment ()
void copy (Column *c, bool values=true)
void copyData (Column *c)
void deleteCells (int startRow=0, int endRow=-1)
int find (const QString &, const QTextDocument::FindFlags &=0, bool=true, bool=true)
 for (int i=startRow;i<=endRow;i++)
 for (int i=startRow;i<=endRow;i++)
QString formatInfo ()
QString fullName () const
 Returns table->objectName() + "_" + column name.
bool hasMaskedCells (int start=0, int end=-1)
bool hasOnlyTextValues (int=0, int=-1) const
 Returns true if the column contains text values.
bool hasValueAt (int row)
 Returns true if the cell has a finite double value.
int index ()
bool isEmpty ()
bool isEmptyCell (int) const
bool isEmptyRange (int, int) const
bool isMasked (int row) const
bool isReadOnly ()
bool isValidCell (int row)
 Returns true if the cell is not masked and has a finite double value.
int lastValidRow () const
QString longName () const
void mask (int startRow=0, int endRow=-1, bool on=true)
double maxValue (int startRow=0, int endRow=-1)
double minValue (int startRow=0, int endRow=-1)
QString name () const
void normalize ()
int numericFormat ()
int numericPrecision ()
PyObject * numPyArray ()
int plotRole ()
double rms (int startRow=0, int endRow=-1)
 The root mean square, also known as the quadratic mean.
double sd (int startRow=0, int endRow=-1)
void setAlignment (Qt::Alignment)
void setCommand (const QString &)
void setComment (const QString &)
bool setDateFormat (const QString &s)
void setDayFormat (const QString &s)
void setFormatInfo (const QString &s)
void setHidden (bool on=true)
void setLongName (const QString &s)
void setMonthFormat (const QString &s)
void setName (const QString &s)
void setNormalRandomValues (int startRow=0, int endRow=-1, double sigma=1.0, int col=0)
void setNumericFormat (int format=0, int prec=6)
 Sets the numeric format and the number of significant digits.
void setNumericPrecision (int prec)
 Sets the number of significant digits.
bool setNumPyArrayValues (PyObject *)
void setPlotRole (int)
void setRandomValues (int startRow=0, int endRow=-1)
void setReadOnly (bool on=true)
void setRowValues (int startRow=0, int endRow=-1)
void setText (int row, const QString &s)
bool setTimeFormat (const QString &s)
void setType (int)
void setUnit (const QString &s)
void setValue (int row, double val)
End void setValues (SIP_PYLIST, int=0, int=-1)
void setWidth (int w, bool updateView=true)
int size () const
void sort (int order=Qt::AscendingOrder)
double sum (int startRow=0, int endRow=-1)
void swapMask ()
void swapRows (int startRow, int endRow)
End Tabletable ()
End QString text (int row, bool fullPrecision=false) const
int type ()
QString unit () const
void updateHeaderView ()
void updateView (bool=true)
double value (int row)
SIP_PYLIST values (int=0, int=-1)
int width ()

Public Attributes

MethodCode int aux = 0
int aux = 0
MethodCode int endRow = a1
MethodCode sipRes = sipCpp->index() + 1
 sipRes = PyList_New(size)
Py_ssize_t size = PyList_Size(a0)
int size = endRow - startRow + 1
sipCpp validIndexes & startRow
MethodCode int startRow = a0

Private Member Functions

 Column (const Column &)


Constructor & Destructor Documentation

Column::Column ( const Column  )  [private]


Member Function Documentation

Qt::Alignment Column::alignment (  )  const

double Column::avg ( int  startRow = 0,
int  endRow = -1 
)

char Column::charNumericFormat (  )  const

void Column::clear ( int  startRow = 0,
int  endRow = -1 
)

void Column::clearCell ( int  row  ) 

QString Column::command (  )  const

QString Column::comment (  ) 

void Column::copy ( Column c,
bool  values = true 
)

void Column::copyData ( Column c  ) 

void Column::deleteCells ( int  startRow = 0,
int  endRow = -1 
)

int Column::find ( const QString &  ,
const QTextDocument::FindFlags &  = 0,
bool  = true,
bool  = true 
)

Column::for (  )  [inline]

Column::for (  )  [inline]

References aux, QtiPyUnicode, and sipRes.

QString Column::formatInfo (  ) 

QString Column::fullName (  )  const

Returns table->objectName() + "_" + column name.

bool Column::hasMaskedCells ( int  start = 0,
int  end = -1 
)

bool Column::hasOnlyTextValues ( int  = 0,
int  = -1 
) const

Returns true if the column contains text values.

bool Column::hasValueAt ( int  row  ) 

Returns true if the cell has a finite double value.

int Column::index (  ) 

bool Column::isEmpty (  ) 

bool Column::isEmptyCell ( int   )  const

bool Column::isEmptyRange ( int  ,
int   
) const

bool Column::isMasked ( int  row  )  const

bool Column::isReadOnly (  ) 

bool Column::isValidCell ( int  row  ) 

Returns true if the cell is not masked and has a finite double value.

int Column::lastValidRow (  )  const

QString Column::longName (  )  const

void Column::mask ( int  startRow = 0,
int  endRow = -1,
bool  on = true 
)

double Column::maxValue ( int  startRow = 0,
int  endRow = -1 
)

double Column::minValue ( int  startRow = 0,
int  endRow = -1 
)

QString Column::name (  )  const

void Column::normalize (  ) 

int Column::numericFormat (  ) 

int Column::numericPrecision (  ) 

PyObject* Column::numPyArray (  ) 

int Column::plotRole (  ) 

double Column::rms ( int  startRow = 0,
int  endRow = -1 
)

The root mean square, also known as the quadratic mean.

double Column::sd ( int  startRow = 0,
int  endRow = -1 
)

void Column::setAlignment ( Qt::Alignment   ) 

void Column::setCommand ( const QString &   ) 

void Column::setComment ( const QString &   ) 

bool Column::setDateFormat ( const QString &  s  ) 

void Column::setDayFormat ( const QString &  s  ) 

void Column::setFormatInfo ( const QString &  s  ) 

void Column::setHidden ( bool  on = true  ) 

void Column::setLongName ( const QString &  s  ) 

void Column::setMonthFormat ( const QString &  s  ) 

void Column::setName ( const QString &  s  ) 

void Column::setNormalRandomValues ( int  startRow = 0,
int  endRow = -1,
double  sigma = 1.0,
int  col = 0 
)

void Column::setNumericFormat ( int  format = 0,
int  prec = 6 
)

Sets the numeric format and the number of significant digits.

void Column::setNumericPrecision ( int  prec  ) 

Sets the number of significant digits.

bool Column::setNumPyArrayValues ( PyObject *   ) 

void Column::setPlotRole ( int   ) 

void Column::setRandomValues ( int  startRow = 0,
int  endRow = -1 
)

void Column::setReadOnly ( bool  on = true  ) 

void Column::setRowValues ( int  startRow = 0,
int  endRow = -1 
)

void Column::setText ( int  row,
const QString &  s 
)

bool Column::setTimeFormat ( const QString &  s  ) 

void Column::setType ( int   ) 

void Column::setUnit ( const QString &  s  ) 

void Column::setValue ( int  row,
double  val 
)

End void Column::setValues ( SIP_PYLIST  ,
int  = 0,
int  = -1 
)

void Column::setWidth ( int  w,
bool  updateView = true 
)

int Column::size (  )  const

void Column::sort ( int  order = Qt::AscendingOrder  ) 

double Column::sum ( int  startRow = 0,
int  endRow = -1 
)

void Column::swapMask (  ) 

void Column::swapRows ( int  startRow,
int  endRow 
)

End Table* Column::table (  ) 

End QString Column::text ( int  row,
bool  fullPrecision = false 
) const

Referenced by Table::cellDataHelper().

int Column::type (  ) 

QString Column::unit (  )  const

void Column::updateHeaderView (  ) 

void Column::updateView ( bool  = true  ) 

double Column::value ( int  row  ) 

Referenced by Table::cellDataHelper().

SIP_PYLIST Column::values ( int  = 0,
int  = -1 
)

int Column::width (  ) 


Member Data Documentation

MethodCode int Column::aux = 0

int Column::aux = 0

Referenced by for().

MethodCode int Column::endRow = a1

MethodCode Column::sipRes = sipCpp->index() + 1

Column::sipRes = PyList_New(size)

Referenced by for().

Py_ssize_t Column::size = PyList_Size(a0)

sipCpp validIndexes& Column::startRow

sipCpp validIndexes & Column::startRow = a0


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

Generated on Sat Oct 21 13:23:23 2023 for QtiPlot/Python-API by  doxygen 1.5.8