Loading...
Searching...
No Matches
graphicdevicewidget.h
Go to the documentation of this file.
/**
* \file pappsomspp/widget/graphicdevicewidget.h
* \date 01/02/2018
* \author Olivier Langella
* \brief common graphic functions
*/
/*******************************************************************************
* Copyright (c) 2017 Olivier Langella <Olivier.Langella@u-psud.fr>.
*
* This file is part of the PAPPSOms++ library.
*
* PAPPSOms++ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PAPPSOms++ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
*
* Contributors:
* Olivier Langella <Olivier.Langella@u-psud.fr> - initial API and
*implementation
******************************************************************************/
#pragma once
#include <QWidget>
#include "../exportinmportconfig.h"
class PMSPP_LIB_DECL GraphicDeviceWidget : public QWidget
{
public:
GraphicDeviceWidget(QWidget *parent);
virtual ~GraphicDeviceWidget();
virtual void toSvgFile(const QString &filename,
const QString &title,
const QString &description,
const QSize &size) final;
virtual void toQPaintDevice(QPaintDevice *device, const QSize &size) = 0;
};
GraphicDeviceWidget
Definition graphicdevicewidget.h:37
GraphicDeviceWidget::toQPaintDevice
virtual void toQPaintDevice(QPaintDevice *device, const QSize &size)=0
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition exportinmportconfig.h:14