Source Code (Use browser search to find items of interest.)

Class Index

kspread'AICursor (./koffice/kspread/qtai_plot.h:66)

class AICursor
{
public:
  AICursor(double x=0.0,double y=0.0);
  double xpos;   // x - Position in %
  double ypos;   // y - Position in %
  int    t;      // Cursor Trace
  int    t_index;// Position on Trace

  void   set(double x,double y,int trace=-1,int index=-1);
  double x(void);
  double y(void);
  int    trace(void);
  int    index(void);
};


kspread'AICursor::AICursor() (./koffice/kspread/qtai_plot.cpp:1249)

AICursor::AICursor(double x, double y)
{
  set(x,y);
  xpos=0;
  ypos=0;
  t=0;
  t_index=0;
}


kspread'AICursor::set() (./koffice/kspread/qtai_plot.cpp:1258)

void AICursor::set(double x, double y,int trace,int index)
{
  xpos=x;
  ypos=y;
  t=trace;
  t_index=index;
}


kspread'AICursor::trace() (./koffice/kspread/qtai_plot.cpp:1266)

int AICursor::trace(void)
{
  return t;
}


kspread'AICursor::index() (./koffice/kspread/qtai_plot.cpp:1271)

int AICursor::index(void)
{
  return t_index;
}


kspread'AICursor::x() (./koffice/kspread/qtai_plot.cpp:1276)

double AICursor::x(void)
{
  return xpos;
}


kspread'AICursor::y() (./koffice/kspread/qtai_plot.cpp:1281)

double AICursor::y(void)
{
  return ypos;
}