valentina/src/app/puzzle/vpexporter.h

33 lines
691 B
C
Raw Normal View History

2021-05-15 15:28:17 +02:00
#ifndef VPEXPORTER_H
#define VPEXPORTER_H
#include <QObject>
2021-08-09 14:09:10 +02:00
#include "layout/vplayout.h"
2021-05-15 15:28:17 +02:00
#include "../vmisc/def.h"
#include "vcommonsettings.h"
#include "../vlayout/vlayoutdef.h"
#include "../vlayout/vlayoutexporter.h"
2021-05-15 15:28:17 +02:00
//#include "../dialogs/dialogsavelayout.h"
class VPMainGraphicsView;
class VPExporter : VLayoutExporter
2021-05-15 15:28:17 +02:00
{
public:
VPExporter();
2021-05-15 15:28:17 +02:00
~VPExporter();
void Export(VPLayout* layout, LayoutExportFormats format, VPMainGraphicsView *mainGraphicsView);
2021-05-15 15:28:17 +02:00
/**
* @brief InitFormats
* @return returns the list of formats, that we can export in puzzle
*/
2021-05-15 15:28:17 +02:00
QVector<std::pair<QString, LayoutExportFormats> > InitFormats();
};
#endif // VPEXPORTER_H