22 this->licenseTextBrowser->setOpenExternalLinks(
true);
29 QTextStream stream(&text);
31 <<
"<p>Copyright (c) 2012-2025, 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:" <<
"<br />"
51 <<
"'This product includes software developed by the OpenGeoSys "
53 <<
"<li>Neither the name of the OpenGeoSys Community nor the"
54 <<
"names of its contributors may be used to endorse or promote "
56 <<
"derived from this software without specific prior written "
58 <<
"<li>Attribute the OpenGeoSys Community, preferably citing an "
60 <<
"paper listed on the OpenGeoSys Community homepage:"
62 "href='http://www.opengeosys.org/papers'>http://www.opengeosys.org/"
65 <<
"<p>THIS SOFTWARE IS PROVIDED BY THE OpenGeoSys Community ''AS IS'' "
67 <<
"EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE "
69 <<
"WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE "
71 <<
"DISCLAIMED. IN NO EVENT SHALL THE OpenGeoSys Community BE LIABLE "
73 <<
"DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL "
75 <<
"(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR "
77 <<
"LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER "
79 <<
"ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, "
81 <<
"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE "
83 <<
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>";
85 this->licenseTextBrowser->setHtml(*(stream.string()));
90 this->done(QDialog::Accepted);
Definition of the LicenseDialog class.
void on_okPushButton_pressed()
LicenseDialog(QDialog *parent=nullptr)