Qwt User's Guide 6.3.0
Loading...
Searching...
No Matches
qwt_plot_svgitem.h
1/******************************************************************************
2 * Qwt Widget Library
3 * Copyright (C) 1997 Josef Wilgen
4 * Copyright (C) 2002 Uwe Rathmann
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the Qwt License, Version 1.0
8 *****************************************************************************/
9
10#ifndef QWT_PLOT_SVG_ITEM_H
11#define QWT_PLOT_SVG_ITEM_H
12
13#include "qwt_global.h"
14#include "qwt_plot_graphicitem.h"
15
16class QByteArray;
17
28class QWT_EXPORT QwtPlotSvgItem : public QwtPlotGraphicItem
29{
30 public:
31 explicit QwtPlotSvgItem( const QString& title = QString() );
32 explicit QwtPlotSvgItem( const QwtText& title );
33 virtual ~QwtPlotSvgItem();
34
35 bool loadFile( const QRectF&, const QString& fileName );
36 bool loadData( const QRectF&, const QByteArray& );
37};
38
39#endif
A plot item, which displays a recorded sequence of QPainter commands.
A plot item, which displays data in Scalable Vector Graphics (SVG) format.
A class representing a text.
Definition qwt_text.h:52