Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
Executable
+94
@@ -0,0 +1,94 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
#ifndef LTSPRINTING_EXPORT
|
||||
# ifdef BUILD_STATIC_LIBRARIES
|
||||
# define LTSPRINTING_EXPORT
|
||||
# else
|
||||
# if defined(MAKE_LTSPRINTING_LIB)
|
||||
# define LTSPRINTING_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define LTSPRINTING_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
class QWidget;
|
||||
class QAbstractItemView;
|
||||
class QImage;
|
||||
namespace LtsSession
|
||||
{
|
||||
class LtsSession;
|
||||
}
|
||||
namespace KDReports
|
||||
{
|
||||
class Report;
|
||||
}
|
||||
namespace LtsPrinting
|
||||
{
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printView(LtsSession::LtsSession *session,
|
||||
QWidget *dialogParent,
|
||||
const QAbstractItemView *view,
|
||||
const QString &headingHtml = QString());
|
||||
LTSPRINTING_EXPORT void printView(LtsSession::LtsSession *session,
|
||||
QWidget *dialogParent,
|
||||
QAbstractItemView *view,
|
||||
const QString &headingHtml = QString());
|
||||
LTSPRINTING_EXPORT void printStoryboard(LtsSession::LtsSession *session,
|
||||
QWidget *dialogParent,
|
||||
QAbstractItemView *view,
|
||||
const QString &headingHtml = QString());
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printImage(LtsSession::LtsSession *session,
|
||||
QWidget *dialogParent,
|
||||
const QImage &image,
|
||||
const QString &imageTitle,
|
||||
const QString &description,
|
||||
const QPrinter::PageSize &pageSize = QPrinter::A3,
|
||||
const QPrinter::Orientation &pageOrientation = QPrinter::Landscape);
|
||||
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printImages(LtsSession::LtsSession *session,
|
||||
QWidget *dialogParent,
|
||||
const QString &docName,
|
||||
QVector < QImage> &images,
|
||||
QVector < QString> &imageTitles,
|
||||
QVector < QString> &descriptions,
|
||||
const QPrinter::PageSize &pageSize = QPrinter::A3,
|
||||
const QPrinter::Orientation &pageOrientation = QPrinter::Landscape);
|
||||
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printPDFImages(QWidget *dialogParent,
|
||||
const QString &docName,
|
||||
const QString &printPath,
|
||||
QVector<QImage> &images);
|
||||
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printReport( LtsSession::LtsSession *session, QWidget *dialogParent, KDReports::Report& report );
|
||||
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printWidget(LtsSession::LtsSession *session, QWidget *dialogParent, QWidget *widget, const QString &title);
|
||||
|
||||
|
||||
|
||||
LTSPRINTING_EXPORT void printMessage(LtsSession::LtsSession *session,
|
||||
QWidget *dialogParent,
|
||||
const QString &subject, const QString &subjectContent,
|
||||
const QString &from, const QString &fromContent,
|
||||
const QString &to, const QString &toContent,
|
||||
const QString &msgTextContent,
|
||||
const QString &time, const QString &timeContent);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user