30 #include <QDomElement>    32 #include <QCoreApplication>     60     Q_DECLARE_TR_FUNCTIONS(
Layer)
    67         void load(
const QDomElement &, QtDls::Model *, 
const QDir &);
    68         void save(QDomElement &, QDomDocument &) 
const;
    70         void connectChannel(QtDls::Model *, 
const QDir &);
    73         void setChannel(QtDls::Channel *);
    74         QtDls::Channel *getChannel()
 const { 
return channel; };
    76         const QString &getUrlString()
 const { 
return urlString; }
    78         void setName(
const QString &);
    79         const QString &getName()
 const { 
return name; }
    80         void setUnit(
const QString &);
    81         const QString &getUnit()
 const { 
return unit; }
    82         void setColor(QColor);
    83         QColor getColor()
 const { 
return color; }
    84         void setScale(
double);
    85         double getScale()
 const { 
return scale; }
    86         void setOffset(
double);
    87         double getOffset()
 const { 
return offset; }
    88         void setPrecision(
int);
    89         int getPrecision()
 const { 
return precision; }
   106             bool operator<(
const MeasureData &other)
 const {
   107                 return minimum < other.minimum;
   111         void draw(QPainter &, 
const QRect &, 
double, 
double, 
double,
   112                 MeasureData * = NULL);
   114         double getMinimum()
 const { 
return minimum; }
   115         double getMaximum()
 const { 
return maximum; }
   116         double getExtremaValid()
 const { 
return extremaValid; }
   118         QString title() 
const;
   119         QString formatValue(
double) 
const;
   123                 Exception(
const QString &msg):
   129         QtDls::Channel *channel;
   139         QList<LibDLS::Data *> genericData;
   140         QList<LibDLS::Data *> minimumData;
   141         QList<LibDLS::Data *> maximumData;
   147         void clearDataList(QList<LibDLS::Data *> &);
   148         void copyDataList(QList<LibDLS::Data *> &,
   149                 const QList<LibDLS::Data *> &);
   150         void updateExtrema();
   151         void updateExtremaList(
const QList<LibDLS::Data *> &, 
bool *);
   152         void drawGaps(QPainter &, 
const QRect &, 
double) 
const;
 
Datentyp zur Speicherung der Zeit in Mikrosekunden.