22 this->licenseTextBrowser->setOpenExternalLinks(
true);
29 QTextStream stream(&text);
31 <<
"<p>Copyright (c) 2012-2024, OpenGeoSys Community "
33 "href='http://www.opengeosys.org'>http://www.opengeosys.org</a>)<br "
35 <<
"All rights reserved.</p>"
36 <<
"<p>Redistribution and use in source and binary forms, with or "
38 <<
"modification, are permitted provided that the following conditions "
41 <<
"<li>Redistributions of source code must retain the above copyright"
42 <<
"notice, this list of conditions and the following disclaimer.</li>"
43 <<
"<li>Redistributions in binary form must reproduce the above "
45 <<
"notice, this list of conditions and the following disclaimer in the"
46 <<
"documentation and/or other materials provided with the "
48 <<
"<li>All advertising materials mentioning features or use of this "
50 <<
"must display the following acknowledgement:"
52 <<
"'This product includes software developed by the OpenGeoSys "
54 <<
"<li>Neither the name of the OpenGeoSys Community nor the"
55 <<
"names of its contributors may be used to endorse or promote "
57 <<
"derived from this software without specific prior written "
59 <<
"<li>Attribute the OpenGeoSys Community, preferably citing an "
61 <<
"paper listed on the OpenGeoSys Community homepage:"
63 "href='http://www.opengeosys.org/papers'>http://www.opengeosys.org/"
66 <<
"<p>THIS SOFTWARE IS PROVIDED BY THE OpenGeoSys Community ''AS IS'' "
68 <<
"EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE "
70 <<
"WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE "
72 <<
"DISCLAIMED. IN NO EVENT SHALL THE OpenGeoSys Community BE LIABLE "
74 <<
"DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL "
76 <<
"(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR "
78 <<
"LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER "
80 <<
"ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, "
82 <<
"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE "
84 <<
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>";
86 this->licenseTextBrowser->setHtml(*(stream.string()));
91 this->done(QDialog::Accepted);
Definition of the LicenseDialog class.
void on_okPushButton_pressed()
LicenseDialog(QDialog *parent=nullptr)