Commit 442dcfc1 authored by Laurent Montel's avatar Laurent Montel 😁

Add label

parent 32d605e1
...@@ -29,9 +29,15 @@ WebEnginePrintMessageBox::WebEnginePrintMessageBox(QWidget *parent) ...@@ -29,9 +29,15 @@ WebEnginePrintMessageBox::WebEnginePrintMessageBox(QWidget *parent)
QVBoxLayout *mainLayout = new QVBoxLayout; QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout); setLayout(mainLayout);
//TODO add more.
QLabel *lab = new QLabel(i18n("Printing WebEngine is limited for the moment."), this);
lab->setObjectName(QStringLiteral("webengineprintmessageboxlabel"));
mainLayout->addWidget(lab);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel);
buttonBox->setObjectName(QStringLiteral("buttonbox")); buttonBox->setObjectName(QStringLiteral("buttonbox"));
connect(buttonBox, &QDialogButtonBox::rejected, this, &WebEnginePrintMessageBox::reject); connect(buttonBox, &QDialogButtonBox::rejected, this, &WebEnginePrintMessageBox::reject);
mainLayout->addWidget(buttonBox);
} }
WebEnginePrintMessageBox::~WebEnginePrintMessageBox() WebEnginePrintMessageBox::~WebEnginePrintMessageBox()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment