2011-06-26 08:30:44 +00:00
|
|
|
/********************************************************************
|
|
|
|
gFlagsLine Header
|
|
|
|
Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
|
|
|
|
License: GPL
|
|
|
|
*********************************************************************/
|
|
|
|
|
|
|
|
#ifndef GFLAGSLINE_H
|
|
|
|
#define GFLAGSLINE_H
|
|
|
|
|
|
|
|
#include "graphlayer.h"
|
|
|
|
|
2011-07-11 04:54:53 +00:00
|
|
|
class gFlagsGroup;
|
|
|
|
|
2011-06-26 08:30:44 +00:00
|
|
|
class gFlagsLine:public gLayer
|
|
|
|
{
|
2011-07-11 04:54:53 +00:00
|
|
|
friend class gFlagsGroup;
|
2011-06-26 08:30:44 +00:00
|
|
|
public:
|
|
|
|
gFlagsLine(gPointData *d=NULL,QColor col=QColor("black"),QString _label="",int _line_num=0,int _total_lines=0);
|
|
|
|
virtual ~gFlagsLine();
|
|
|
|
|
|
|
|
virtual void Plot(gGraphWindow & w,float scrx,float scry);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
QString label;
|
|
|
|
int line_num,total_lines;
|
|
|
|
};
|
|
|
|
|
2011-07-11 04:54:53 +00:00
|
|
|
class gFlagsGroup:public gLayerGroup
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
gFlagsGroup();
|
|
|
|
virtual ~gFlagsGroup();
|
|
|
|
|
|
|
|
virtual void Plot(gGraphWindow &w, float scrx, float scry);
|
|
|
|
};
|
2011-06-26 08:30:44 +00:00
|
|
|
|
|
|
|
#endif // GFLAGSLINE_H
|