Column Class Reference

List of all members.

Public Member Functions

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)
QString formatInfo ()
QString fullName () const
 Returns table->objectName() + "_" + column name.
bool hasMaskedCells (int start=0, int end=-1)
bool hasOnlyTextValues () 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 ()
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 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.
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)
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 ()
QString text (int row) const
int type ()
QString unit () const
void updateHeaderView ()
void updateView (bool=true)
double value (int row)
int width ()

Public Attributes

MethodCode sipRes = sipCpp->index() + 1

Private Member Functions

 Column (const Column &)


Constructor & Destructor Documentation

Column::Column ( const Column  )  [private]


Member Function Documentation

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 
)

QString Column::formatInfo (  ) 

QString Column::fullName (  )  const

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

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

bool Column::hasOnlyTextValues (  )  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 (  ) 

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::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.

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 
)

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 (  ) 

QString Column::text ( int  row  )  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().

int Column::width (  ) 


Member Data Documentation

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


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

Generated on Tue Sep 26 13:39:47 2017 for QtiPlot/Python-API by  doxygen 1.5.8