forked from qt-creator/qt-creator
Core: Add legal text for use with Qt AI Assistant extension
Fixes: QTAIASSIST-122 Change-Id: Ie9c8634208b85a4bbec44901d8b39a74c0665152 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -419,6 +419,14 @@ public:
|
|||||||
{
|
{
|
||||||
setTitle(Tr::tr("Accept Terms and Conditions"));
|
setTitle(Tr::tr("Accept Terms and Conditions"));
|
||||||
|
|
||||||
|
const QLatin1String legal = QLatin1String(
|
||||||
|
"I confirm that I have reviewed and accept the terms and conditions "
|
||||||
|
"of this extension. I confirm that I have the authority and ability to "
|
||||||
|
"accept the terms and conditions of this extension for the customer. "
|
||||||
|
"I acknowledge that if the customer and the Qt Company already have a "
|
||||||
|
"valid agreement in place, that agreement shall apply, but these terms "
|
||||||
|
"shall govern the use of this extension.");
|
||||||
|
|
||||||
using namespace Layouting;
|
using namespace Layouting;
|
||||||
// clang-format off
|
// clang-format off
|
||||||
Column {
|
Column {
|
||||||
@@ -427,7 +435,7 @@ public:
|
|||||||
bindTo(&m_terms),
|
bindTo(&m_terms),
|
||||||
readOnly(true),
|
readOnly(true),
|
||||||
}, br,
|
}, br,
|
||||||
m_accept = new QCheckBox(Tr::tr("I accept the terms and conditions.")),
|
m_accept = new QCheckBox(legal)
|
||||||
}.attachTo(this);
|
}.attachTo(this);
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user