17 #include <QtCore/QObject> 18 #include <QtCore/QString> 40 virtual void showImage(
const QString &fileName) = 0;
48 virtual void show(
const QVector<int32_t> &array,
int width,
int height,
const QString &format) = 0;
55 virtual void addLabel(
const QString &text,
int x,
int y) = 0;
58 virtual void removeLabels() = 0;
61 virtual void setPainterColor(
const QString &color) = 0;
64 virtual void setPainterWidth(
int penWidth) = 0;
71 virtual void drawLine(
int x1,
int y1,
int x2,
int y2) = 0;
76 virtual void drawPoint(
int x,
int y) = 0;
84 virtual void drawRect(
int x,
int y,
int width,
int height,
bool filled =
false) = 0;
92 virtual void drawEllipse(
int x,
int y,
int width,
int height,
bool filled =
false) = 0;
101 virtual void drawArc(
int x,
int y,
int width,
int height,
int startAngle,
int spanAngle) = 0;
105 virtual void setBackground(
const QString &color) = 0;
108 virtual void hide() = 0;
111 virtual void clear() = 0;
114 virtual void reset() = 0;
118 virtual void redraw() = 0;
#define TRIKCONTROL_EXPORT
Definition: declSpec.h:23
Definition: trikCommunicator.h:27
Provides ability to draw something on robot display.
Definition: displayInterface.h:28
var x
Definition: file-test.js:2
var y
Definition: file-test.js:5