Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1 parent
eb1d949edc
commit
815e16368e
1718 files changed
+126739
-18495
No files matched your search
@@ -84,7 +84,7 @@ void printView(LtsSession::LtsSession* session, QWidget* dialogParent, const QAb
|
||||
|
||||
doc.setMetaInformation(QTextDocument::DocumentTitle, dialogParent->windowTitle());
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(dialogParent->windowTitle()),
|
||||
dialogParent->windowTitle(), QPrinter::A4, QPrinter::Landscape);
|
||||
dialogParent->windowTitle(), QPageSize(QPageSize::A4), QPageLayout::Landscape);
|
||||
if (!nglPrinter.printer())
|
||||
return;
|
||||
|
||||
@@ -118,8 +118,8 @@ void printView(LtsSession::LtsSession* session, QWidget* dialogParent, QAbstract
|
||||
}
|
||||
|
||||
void printImage(LtsSession::LtsSession* session, QWidget* dialogParent, const QImage& image, const QString& imageTitle,
|
||||
const QString& description, const QPrinter::PageSize& pageSize,
|
||||
const QPrinter::Orientation& pageOrientation)
|
||||
const QString& description, const QPageSize& pageSize,
|
||||
const QPageLayout::Orientation& pageOrientation)
|
||||
{
|
||||
QTextDocument doc;
|
||||
QTextCursor cursor(&doc);
|
||||
@@ -141,7 +141,7 @@ void printImage(LtsSession::LtsSession* session, QWidget* dialogParent, const QI
|
||||
|
||||
void printImages(LtsSession::LtsSession* session, QWidget* dialogParent, const QString& docName,
|
||||
QVector<QImage>& images, QVector<QString>& imageTitles, QVector<QString>& descriptions,
|
||||
const QPrinter::PageSize& pageSize, const QPrinter::Orientation& pageOrientation)
|
||||
const QPageSize& pageSize, const QPageLayout::Orientation& pageOrientation)
|
||||
|
||||
{
|
||||
QTextDocument doc;
|
||||
@@ -181,8 +181,8 @@ void printPDFImages(QWidget* dialogParent, const QString& docName, const QString
|
||||
QPrinter printer;
|
||||
|
||||
printer.setColorMode(QPrinter::ColorMode::Color);
|
||||
printer.setOrientation(QPrinter::Orientation::Portrait);
|
||||
printer.setPageSize(QPrinter::PageSize::A4);
|
||||
printer.setPageOrientation(QPageLayout::Portrait);
|
||||
printer.setPageSize(QPageSize(QPageSize::A4));
|
||||
QString fn = docName;
|
||||
fn = fn.remove(QLatin1Char(' '));
|
||||
fn = fn.remove(QLatin1String(".."));
|
||||
@@ -224,7 +224,7 @@ void printReport(LtsSession::LtsSession* session, QWidget* dialogParent, KDRepor
|
||||
|
||||
doc.setMetaInformation(QTextDocument::DocumentTitle, dialogParent->windowTitle());
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(dialogParent->windowTitle()),
|
||||
dialogParent->windowTitle(), QPrinter::A3, QPrinter::Landscape);
|
||||
dialogParent->windowTitle(), QPageSize(QPageSize::A3), QPageLayout::Landscape);
|
||||
if (!nglPrinter.printer())
|
||||
return;
|
||||
|
||||
@@ -233,8 +233,8 @@ void printReport(LtsSession::LtsSession* session, QWidget* dialogParent, KDRepor
|
||||
cursor.movePosition(QTextCursor::End);
|
||||
|
||||
report.setWidthForEndlessPrinter(0);
|
||||
report.setPageSize(QPrinter::A3);
|
||||
report.setOrientation(QPrinter::Landscape);
|
||||
report.setPageSize(QPageSize::A3);
|
||||
report.setPageOrientation(QPageLayout::Landscape);
|
||||
|
||||
LtsPrinting::Base::printReportData(doc, report);
|
||||
nglPrinter.print(&doc);
|
||||
@@ -249,8 +249,8 @@ void printWidget(LtsSession::LtsSession* session, QWidget* dialogParent, QWidget
|
||||
|
||||
QString windowTitle = dialogParent->windowTitle();
|
||||
doc.setMetaInformation(QTextDocument::DocumentTitle, dialogParent->windowTitle());
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(windowTitle), windowTitle, QPrinter::A3,
|
||||
QPrinter::Landscape);
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(windowTitle), windowTitle,
|
||||
QPageSize(QPageSize::A3), QPageLayout::Landscape);
|
||||
if (!nglPrinter.printer())
|
||||
return;
|
||||
|
||||
@@ -271,8 +271,8 @@ void printMessage(LtsSession::LtsSession* session, QWidget* dialogParent, const
|
||||
QString windowTitle = subject;
|
||||
|
||||
doc.setMetaInformation(QTextDocument::DocumentTitle, subject);
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(windowTitle), windowTitle, QPrinter::A4,
|
||||
QPrinter::Portrait);
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(windowTitle), windowTitle,
|
||||
QPageSize(QPageSize::A4), QPageLayout::Portrait);
|
||||
|
||||
QString str = QString(QStringLiteral("<H2><strong>%1</strong> %2 </H2>")).arg(subject).arg(subjectContent);
|
||||
str.append(QString(QStringLiteral("<strong>%1</strong> %2<br>")).arg(time).arg(timeContent));
|
||||
@@ -302,8 +302,8 @@ void printStoryboard(LtsSession::LtsSession* session, QWidget* dialogParent, QAb
|
||||
QString windowTitle = dialogParent->windowTitle();
|
||||
doc.setMetaInformation(QTextDocument::DocumentTitle, dialogParent->windowTitle());
|
||||
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(windowTitle), windowTitle, QPrinter::A4,
|
||||
QPrinter::Portrait);
|
||||
LtsPrinting::Base nglPrinter(doc, dialogParent, QObject::tr("Print %1").arg(windowTitle), windowTitle,
|
||||
QPageSize(QPageSize::A4), QPageLayout::Portrait);
|
||||
|
||||
if (!nglPrinter.printer())
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user