26 #ifndef PLOT2D_OBJECT_H
27 #define PLOT2D_OBJECT_H
46 virtual void autoFill(
const QwtPlot* );
49 virtual QString getTableTitle()
const;
51 void setHorTitle(
const QString& );
52 QString getHorTitle()
const;
53 void setVerTitle(
const QString& );
54 QString getVerTitle()
const;
56 void setHorUnits(
const QString& );
57 QString getHorUnits()
const;
58 void setVerUnits(
const QString& );
59 QString getVerUnits()
const;
61 void setName(
const QString& );
62 QString getName()
const;
64 void setScale(
double );
65 double getScale()
const;
67 void addPoint(
double,
double,
const QString& = QString() );
69 void insertPoint(
int,
double,
double,
const QString& = QString() );
71 void deletePoint(
int );
72 void clearAllPoints();
74 void setPointList(
const pointList& points );
77 void setData(
const double*,
const double*,
78 long,
const QStringList& = QStringList() );
79 double* horData()
const;
80 double* verData()
const;
81 long getData(
double**,
double** )
const;
83 void setText(
const int,
const QString& );
84 QString text(
const int )
const;
89 void setAutoAssign(
bool );
90 bool isAutoAssign()
const;
100 virtual double getMinX()
const;
101 virtual double getMaxX()
const;
102 virtual double getMinY()
const;
103 virtual double getMaxY()
const;
105 void setSelected(
const bool);
106 bool isSelected()
const;
108 static void setSelectionColor(
const QColor& c);
109 static QColor selectionColor();
111 static void setHighlightedLegendTextColor(
const QColor& c);
112 static QColor highlightedLegendTextColor();
QList< Plot2d_Point > pointList
Definition: Plot2d.h:69
#define PLOT2D_EXPORT
Definition: Plot2d.h:36
QList< Plot2d_Object * > objectList
Definition: Plot2d_Object.h:134
Axis
Definition: SalomePyQt.h:172
Definition: Plot2d_Object.h:36
bool myIsSelected
Definition: Plot2d_Object.h:127
QwtPlot::Axis myYAxis
Definition: Plot2d_Object.h:122
pointList myPoints
Definition: Plot2d_Object.h:126
QString myHorTitle
Definition: Plot2d_Object.h:116
bool myAutoAssign
Definition: Plot2d_Object.h:115
QString myName
Definition: Plot2d_Object.h:120
QString myVerTitle
Definition: Plot2d_Object.h:117
QwtPlot::Axis myXAxis
Definition: Plot2d_Object.h:121
double myScale
Definition: Plot2d_Object.h:124
QString myVerUnits
Definition: Plot2d_Object.h:119
static QColor myHighlightedLegendTextColor
Color of the selected legend item font.
Definition: Plot2d_Object.h:131
static QColor mySelectionColor
Color of the selected curve or histogram.
Definition: Plot2d_Object.h:130
QString myHorUnits
Definition: Plot2d_Object.h:118
virtual QwtPlotItem * createPlotItem()=0