16 #include <QGraphicsScene> 18 #include "arrayitem.h" 19 #include "frameitem.h" 52 bool exportImage(
const QUrl& url,
bool boundingBox =
true);
61 static bool framelike(
int type);
123 bool readData(
const QUrl& url,
125 bool autoPathHeader =
false,
bool autoNorm =
true,
126 bool logX =
false,
bool logY =
false,
double x0 = 4,
127 double y0 = 3,
double width = 15,
double height = 10,
128 unsigned colorFrame = 0,
unsigned colorGrid = 0,
129 unsigned colorData = 0,
132 const QString& header =
"",
double relSize = 1,
int colX = 0,
133 int colY = 1,
int colErr = 2,
bool errorBars =
false,
141 bool readPlo(
const QUrl& url,
QWidget* window = 0);
163 QWidget* window = 0,
unsigned colorFrame = 0,
164 unsigned colorGrid = 0,
unsigned colorData = 0,
166 double x0 = 4,
double y0 = 3,
double width = 15,
169 int colX = 0,
int colY = 0,
int colErr = 0,
170 bool errorBars =
false);
180 bool savePlo(
const QUrl& url,
bool absolute =
true,
char format =
'g',
181 int precision = 6)
const;
193 bool absolute =
true,
char format =
'g',
202 bool savePS(
const QUrl& url =
QUrl(),
bool landscape =
false,
203 bool boundingBox =
true);
207 void setDashOffsets()
const;
217 void setSize(
const QSizeF& size);
223 QPointF steps(
int z = -1)
const;
253 void previewCreated(
const QString& filename);
GridMode
Grid mode.
Definition: frameitem.h:37
Symbol
Symbol types.
Definition: kplitem.h:83
QList< QGraphicsItem * > items(Qt::SortOrder order) const
const QTransform & matrix() const
Returns matrix for transformation from cm to pixel units.
Definition: kplscene.h:89
const QSizeF size() const
Returns scene size in cm units.
Definition: kplscene.h:205
virtual void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
DecimalCharacter
Decimal character.
Definition: arrayitem.h:43
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent)
Open circle.
Definition: kplitem.h:101
Kpl graphics scene class.
Definition: kplscene.h:34
Axes with tics and labels.
Definition: frameitem.h:40
Solid line.
Definition: kplitem.h:102
Decimal point.
Definition: arrayitem.h:44
Frame item class.
Definition: frameitem.h:33