Back to index

salome-gui  6.5.0
Classes | Namespaces | Defines | Typedefs | Enumerations | Functions
Plot2d.h File Reference
#include <qwt_symbol.h>
#include <Qt>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  PLOT2D_EXPORT

Namespaces

namespace  Plot2d

Defines

#define PLOT2D_EXPORT
#define PLOT2D_DEVIATION_COLOR   "DEVIATION_COLOR"
#define PLOT2D_DEVIATION_LW   "DEVIATION_LW"
#define PLOT2D_DEVIATION_TS   "DEVIATION_TS"

Typedefs

typedef QList< Plot2d_Point > pointList

Enumerations

enum  Plot2d::MarkerType {
  Plot2d::None, Plot2d::Circle, Plot2d::Rectangle, Plot2d::Diamond,
  Plot2d::DTriangle, Plot2d::UTriangle, Plot2d::LTriangle, Plot2d::RTriangle,
  Plot2d::Cross, Plot2d::XCross
}
enum  Plot2d::LineType {
  Plot2d::NoPen, Plot2d::Solid, Plot2d::Dash, Plot2d::Dot,
  Plot2d::DashDot, Plot2d::DashDotDot
}

Functions

QwtSymbol::Style Plot2d::plot2qwtMarker (MarkerType)
 Convert Plot2d marker type to Qwt marker type.
MarkerType Plot2d::qwt2plotMarker (QwtSymbol::Style)
 Convert Qwt marker type to Plot2d marker type.
Qt::PenStyle Plot2d::plot2qwtLine (LineType)
 Convert Plot2d line type to Qt/Qwt line type.
LineType Plot2d::qwt2plotLine (Qt::PenStyle)
 Convert Qt/Qwt line type to Plot2d line type.
void Plot2d::drawLine (QPainter *, const QPoint &, const QPoint &, Qt::PenStyle=Qt::SolidLine, const QColor &=Qt::black, int=0)
 Draw line.
void Plot2d::drawLine (QPainter *, const QPoint &, const QPoint &, LineType=Solid, const QColor &=Qt::black, int=0)
 Draw line.
void Plot2d::drawLine (QPainter *, int, int, int, int, Qt::PenStyle=Qt::SolidLine, const QColor &=Qt::black, int=0)
 Draw line.
void Plot2d::drawLine (QPainter *, int, int, int, int, LineType=Solid, const QColor &=Qt::black, int=0)
 Draw line.
void Plot2d::drawMarker (QPainter *, const QPoint &, const QRect &, QwtSymbol::Style=QwtSymbol::Ellipse, const QColor &=Qt::black)
 Draw marker.
void Plot2d::drawMarker (QPainter *, const QPoint &, const QRect &, MarkerType=Circle, const QColor &=Qt::black)
 Draw marker.
void Plot2d::drawMarker (QPainter *, int, int, int, int, QwtSymbol::Style=QwtSymbol::Ellipse, const QColor &=Qt::black)
 Draw marker.
void Plot2d::drawMarker (QPainter *, int, int, int, int, MarkerType=Circle, const QColor &=Qt::black)
 Draw marker.
QPixmap Plot2d::markerIcon (const QSize &, const QColor &, Plot2d::MarkerType)
 Create icon pixmap according to the marker type.
QPixmap Plot2d::lineIcon (const QSize &, const QColor &, Plot2d::LineType)
 Create icon pixmap according to the line type.
void Plot2d::getNextMarker (const int rtti, const QwtPlot *, QwtSymbol::Style &, QColor &, Qt::PenStyle &)
 Gets new unique marker for item if possible.
bool Plot2d::existMarker (const int rtti, const QwtPlot *, const QwtSymbol::Style, const QColor &, const Qt::PenStyle)
 Checks if marker belongs to any enitity.
bool Plot2d::closeColors (const QColor &, const QColor &, int distance=-1)
 Checks if two colors are close to each other uses COLOR_DISTANCE variable as max tolerance for comparing of colors.

Define Documentation

#define PLOT2D_DEVIATION_COLOR   "DEVIATION_COLOR"

Definition at line 46 of file Plot2d.h.

#define PLOT2D_DEVIATION_LW   "DEVIATION_LW"

Definition at line 47 of file Plot2d.h.

#define PLOT2D_DEVIATION_TS   "DEVIATION_TS"

Definition at line 48 of file Plot2d.h.

#define PLOT2D_EXPORT

Definition at line 36 of file Plot2d.h.


Typedef Documentation

typedef QList<Plot2d_Point> pointList

Definition at line 67 of file Plot2d.h.