sobreview.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2002 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 
00021 #include "QString"
00022 
00023 #include "sobreview.h"
00024 
00025 
00027 
00032 sobreview::sobreview(QWidget *parent) : QDialog(parent) {
00033     _depura("sobreview::sobreview", 0);
00034 
00035     QString str_sobre;
00036     QString str_autores;
00037     QString str_soporte;
00038     QString str_licencia;
00039     setupUi(this);
00040 
00041     mui_lbversion->setText(mui_lbversion->text() + " " + tr("Compilado usando la version de QT:") + " " + QT_VERSION_STR);
00042 
00043     str_sobre = "<br /><br /><br /><br /><center><h2>Contabilidad GPL</h2></center>";
00044 
00045     str_autores = "<center><h2>Autores de BulmaCont</h2>" \
00046                   "<p>" \
00047                   "Programaci&oacute;n:<br/> " \
00048                   "<b>Tomeu Borr&aacute;s.</b>&nbsp;<a href=\"mailto:tborras@conetxia.com\">tborras@conetxia.com</a><br/>" \
00049                   "<b>Fco. Javier M. C. </b>&nbsp;<a href=\"mailto:fcojavmc@todo-redes.com\">fcojavmc@todo-redes.com</a><br/>" \
00050                   "<b>Antoni Mirabete</b>&nbsp;<a href=\"mailto:amirabet@biada.org\">amirabet@biada.org</a><br />" \
00051                   "<b>Jean Ren&eacute; M&egrave;rou</b><br />" \
00052                   "<b>Josep Burci&oacute;n</b>&nbsp;<a href=\"mailto:josep@burcion.com\">josep@burcion.com</a> <br />" \
00053                   "<b>Oscar Serna</b>&nbsp;<a href=\"mailto:oserna@regamallorca.com\">oserna@regamallorca.com</a> <br />" \
00054                   "<b>Celso Gonz&aacute;lez</b>&nbsp;<a href=\"mailto:mitago@ono.com\">mitago@ono.com</a> <br />" \
00055                   "<b>V&iacute;ctor G. Marim&oacute;n</b> <br />" \
00056                   "<b>Beatriu Romero</b><br />" \
00057                   "<b>Ram&oacute;n Navarro</b><br /><br />" \
00058                   "Depuraci&oacute;n y manuales:<br/>" \
00059                   "<b>Cristina Marco.</b>&nbsp;<a href=\"cmarco@conetxia.com\">cmarco@conetxia.com</a><br /><br />" \
00060                   "Asesoramiento:<br />" \
00061                   "<b>Antoni Aloy</b>&nbsp;<a href=\"mailto:aloy@ctv.es\">aloy@ctv.es</a><br />" \
00062                   "<b>M&ordf; Dolores Hernandez</b>&nbsp;<a href=\"mailto:mdhernandez@conetxia.com\">mdhernandez@conetxia.comt</a><br />" \
00063                   "</p></center>";
00064 
00065     str_soporte = "<center><p>" \
00066                   "<p><h2>Entidades que dan soporte al programa:</h2></p>" \
00067                   "<b>Conetxia:</b> <a href=\"http://www.conetxia.com\">" \
00068                   "http://www.conetxia.com</a><br />" \
00069                   "<b>Todo-Redes:</b> <a href=\"http://www.todo-redes.com\">" \
00070                   "http://www.todo-redes.com</a>" \
00071                   "</p></center>";
00072 
00073     str_licencia = "<P> " \
00074                    "<H2>GNU GENERAL PUBLIC LICENSE</H2>  " \
00075                    "<P>  " \
00076                    "Version 2, June 1991  " \
00077                    "</P> " \
00078                    "<P> " \
00079                    "Copyright (C) 1989, 1991 Free Software Foundation, Inc. " \
00080                    "51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA " \
00081                    "Everyone is permitted to copy and distribute verbatim copies " \
00082                    "of this license document, but changing it is not allowed. " \
00083                    "</P> " \
00084                    "<H2>Preamble</H2> " \
00085                    "<P> " \
00086                    "  The licenses for most software are designed to take away your " \
00087                    "freedom to share and change it.  By contrast, the GNU General Public " \
00088                    "License is intended to guarantee your freedom to share and change free " \
00089                    "software--to make sure the software is free for all its users.  This " \
00090                    "General Public License applies to most of the Free Software " \
00091                    "Foundation's software and to any other program whose authors commit to " \
00092                    "using it.  (Some other Free Software Foundation software is covered by " \
00093                    "the GNU Lesser General Public License instead.)  You can apply it to " \
00094                    "your programs, too. " \
00095                    "</P> " \
00096                    "<P> " \
00097                    "  When we speak of free software, we are referring to freedom, not " \
00098                    "price.  Our General Public Licenses are designed to make sure that you " \
00099                    "have the freedom to distribute copies of free software (and charge for " \
00100                    "this service if you wish), that you receive source code or can get it " \
00101                    "if you want it, that you can change the software or use pieces of it " \
00102                    "in new free programs; and that you know you can do these things. " \
00103                    "</P> " \
00104                    "<P> " \
00105                    "  To protect your rights, we need to make restrictions that forbid " \
00106                    "anyone to deny you these rights or to ask you to surrender the rights. " \
00107                    "These restrictions translate to certain responsibilities for you if you " \
00108                    "distribute copies of the software, or if you modify it. " \
00109                    "</P> " \
00110                    "<P> " \
00111                    "  For example, if you distribute copies of such a program, whether " \
00112                    "gratis or for a fee, you must give the recipients all the rights that " \
00113                    "you have.  You must make sure that they, too, receive or can get the " \
00114                    "source code.  And you must show them these terms so they know their " \
00115                    "rights. " \
00116                    "</P> " \
00117                    "<P> " \
00118                    "  We protect your rights with two steps: (1) copyright the software, and " \
00119                    "(2) offer you this license which gives you legal permission to copy, " \
00120                    "distribute and/or modify the software. " \
00121                    "</P> " \
00122                    "<P> " \
00123                    "  Also, for each author's protection and ours, we want to make certain " \
00124                    "that everyone understands that there is no warranty for this free " \
00125                    "software.  If the software is modified by someone else and passed on, we " \
00126                    "want its recipients to know that what they have is not the original, so " \
00127                    "that any problems introduced by others will not reflect on the original " \
00128                    "authors' reputations. " \
00129                    "</P> " \
00130                    "<P> " \
00131                    "  Finally, any free program is threatened constantly by software " \
00132                    "patents.  We wish to avoid the danger that redistributors of a free " \
00133                    "program will individually obtain patent licenses, in effect making the " \
00134                    "program proprietary.  To prevent this, we have made it clear that any " \
00135                    "patent must be licensed for everyone's free use or not licensed at all. " \
00136                    "</P> " \
00137                    "<P> " \
00138                    "  The precise terms and conditions for copying, distribution and " \
00139                    "modification follow. " \
00140                    "</P> " \
00141                    "<H2>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</H2> " \
00142                    "<P> " \
00143                    "<STRONG>0.</STRONG> " \
00144                    " This License applies to any program or other work which contains " \
00145                    "a notice placed by the copyright holder saying it may be distributed " \
00146                    "under the terms of this General Public License.  The \"Program\", below, " \
00147                    "refers to any such program or work, and a \"work based on the Program\" " \
00148                    "means either the Program or any derivative work under copyright law: " \
00149                    "that is to say, a work containing the Program or a portion of it, " \
00150                    "either verbatim or with modifications and/or translated into another " \
00151                    "language.  (Hereinafter, translation is included without limitation in " \
00152                    "the term \"modification\".)  Each licensee is addressed as \"you\". " \
00153                    "<P> " \
00154                    "Activities other than copying, distribution and modification are not " \
00155                    "covered by this License; they are outside its scope.  The act of " \
00156                    "running the Program is not restricted, and the output from the Program " \
00157                    "is covered only if its contents constitute a work based on the " \
00158                    "Program (independent of having been made by running the Program). " \
00159                    "Whether that is true depends on what the Program does. " \
00160                    "<P> " \
00161                    "<STRONG>1.</STRONG> " \
00162                    " You may copy and distribute verbatim copies of the Program's " \
00163                    "source code as you receive it, in any medium, provided that you " \
00164                    "conspicuously and appropriately publish on each copy an appropriate " \
00165                    "copyright notice and disclaimer of warranty; keep intact all the " \
00166                    "notices that refer to this License and to the absence of any warranty; " \
00167                    "and give any other recipients of the Program a copy of this License " \
00168                    "along with the Program. " \
00169                    "<P> " \
00170                    "You may charge a fee for the physical act of transferring a copy, and " \
00171                    "you may at your option offer warranty protection in exchange for a fee. " \
00172                    "<P> " \
00173                    "<STRONG>2.</STRONG> " \
00174                    " You may modify your copy or copies of the Program or any portion " \
00175                    "of it, thus forming a work based on the Program, and copy and " \
00176                    "distribute such modifications or work under the terms of Section 1 " \
00177                    "above, provided that you also meet all of these conditions: " \
00178                    "<P> " \
00179                    "<DL> " \
00180                    "<DT> " \
00181                    "<DD> " \
00182                    "<STRONG>a)</STRONG> " \
00183                    "     You must cause the modified files to carry prominent notices " \
00184                    "     stating that you changed the files and the date of any change. " \
00185                    "</DD> " \
00186                    "</DT> " \
00187                    "</DL> " \
00188                    "<P> " \
00189                    "<DL> " \
00190                    "<DT> " \
00191                    "<DD> " \
00192                    "<STRONG>b)</STRONG> " \
00193                    "     You must cause any work that you distribute or publish, that in " \
00194                    "     whole or in part contains or is derived from the Program or any " \
00195                    "     part thereof, to be licensed as a whole at no charge to all third " \
00196                    "     parties under the terms of this License. " \
00197                    "</DD> " \
00198                    "</DT> " \
00199                    "</DL> " \
00200                    "<P> " \
00201                    "<DL> " \
00202                    "<DT> " \
00203                    "<DD> " \
00204                    "<STRONG>c)</STRONG> " \
00205                    "     If the modified program normally reads commands interactively " \
00206                    "     when run, you must cause it, when started running for such " \
00207                    "     interactive use in the most ordinary way, to print or display an " \
00208                    "     announcement including an appropriate copyright notice and a " \
00209                    "     notice that there is no warranty (or else, saying that you provide " \
00210                    "     a warranty) and that users may redistribute the program under " \
00211                    "     these conditions, and telling the user how to view a copy of this " \
00212                    "     License.  (Exception: if the Program itself is interactive but " \
00213                    "     does not normally print such an announcement, your work based on " \
00214                    "     the Program is not required to print an announcement.) " \
00215                    "</DD> " \
00216                    "</DT> " \
00217                    "</DL> " \
00218                    "<P> " \
00219                    "These requirements apply to the modified work as a whole.  If " \
00220                    "identifiable sections of that work are not derived from the Program, " \
00221                    "and can be reasonably considered independent and separate works in " \
00222                    "themselves, then this License, and its terms, do not apply to those " \
00223                    "sections when you distribute them as separate works.  But when you " \
00224                    "distribute the same sections as part of a whole which is a work based " \
00225                    "on the Program, the distribution of the whole must be on the terms of " \
00226                    "this License, whose permissions for other licensees extend to the " \
00227                    "entire whole, and thus to each and every part regardless of who wrote it. " \
00228                    "<P> " \
00229                    "Thus, it is not the intent of this section to claim rights or contest " \
00230                    "your rights to work written entirely by you; rather, the intent is to " \
00231                    "exercise the right to control the distribution of derivative or " \
00232                    "collective works based on the Program. " \
00233                    "<P> " \
00234                    "In addition, mere aggregation of another work not based on the Program " \
00235                    "with the Program (or with a work based on the Program) on a volume of " \
00236                    "a storage or distribution medium does not bring the other work under " \
00237                    "the scope of this License. " \
00238                    "<P> " \
00239                    "<STRONG>3.</STRONG> " \
00240                    " You may copy and distribute the Program (or a work based on it, " \
00241                    "under Section 2) in object code or executable form under the terms of " \
00242                    "Sections 1 and 2 above provided that you also do one of the following: " \
00243                    "<!-- we use this doubled UL to get the sub-sections indented, --> " \
00244                    "<!-- while making the bullets as unobvious as possible. --> " \
00245                    "<DL> " \
00246                    "<DT> " \
00247                    "<DD> " \
00248                    "<STRONG>a)</STRONG> " \
00249                    "     Accompany it with the complete corresponding machine-readable " \
00250                    "     source code, which must be distributed under the terms of Sections " \
00251                    "     1 and 2 above on a medium customarily used for software interchange; or, " \
00252                    "</DD> " \
00253                    "</DT> " \
00254                    "</DL> " \
00255                    "<P> " \
00256                    "<DL> " \
00257                    "<DT> " \
00258                    "<DD> " \
00259                    "<STRONG>b)</STRONG> " \
00260                    "     Accompany it with a written offer, valid for at least three " \
00261                    "     years, to give any third party, for a charge no more than your " \
00262                    "     cost of physically performing source distribution, a complete " \
00263                    "     machine-readable copy of the corresponding source code, to be " \
00264                    "     distributed under the terms of Sections 1 and 2 above on a medium " \
00265                    "     customarily used for software interchange; or, " \
00266                    "</DD> " \
00267                    "</DT> " \
00268                    "</DL> " \
00269                    "<P> " \
00270                    "<DL> " \
00271                    "<DT> " \
00272                    "<DD> " \
00273                    "<STRONG>c)</STRONG> " \
00274                    "     Accompany it with the information you received as to the offer " \
00275                    "     to distribute corresponding source code.  (This alternative is " \
00276                    "     allowed only for noncommercial distribution and only if you " \
00277                    "     received the program in object code or executable form with such " \
00278                    "     an offer, in accord with Subsection b above.) " \
00279                    "</DD> " \
00280                    "</DT> " \
00281                    "</DL> " \
00282                    "<P> " \
00283                    "The source code for a work means the preferred form of the work for " \
00284                    "making modifications to it.  For an executable work, complete source " \
00285                    "code means all the source code for all modules it contains, plus any " \
00286                    "associated interface definition files, plus the scripts used to " \
00287                    "control compilation and installation of the executable.  However, as a " \
00288                    "special exception, the source code distributed need not include " \
00289                    "anything that is normally distributed (in either source or binary " \
00290                    "form) with the major components (compiler, kernel, and so on) of the " \
00291                    "operating system on which the executable runs, unless that component " \
00292                    "itself accompanies the executable. " \
00293                    "<P> " \
00294                    "If distribution of executable or object code is made by offering " \
00295                    "access to copy from a designated place, then offering equivalent " \
00296                    "access to copy the source code from the same place counts as " \
00297                    "distribution of the source code, even though third parties are not " \
00298                    "compelled to copy the source along with the object code. " \
00299                    "<P> " \
00300                    "<STRONG>4.</STRONG> " \
00301                    " You may not copy, modify, sublicense, or distribute the Program " \
00302                    "except as expressly provided under this License.  Any attempt " \
00303                    "otherwise to copy, modify, sublicense or distribute the Program is " \
00304                    "void, and will automatically terminate your rights under this License. " \
00305                    "However, parties who have received copies, or rights, from you under " \
00306                    "this License will not have their licenses terminated so long as such " \
00307                    "parties remain in full compliance. " \
00308                    "<P> " \
00309                    "<STRONG>5.</STRONG> " \
00310                    " You are not required to accept this License, since you have not " \
00311                    "signed it.  However, nothing else grants you permission to modify or " \
00312                    "distribute the Program or its derivative works.  These actions are " \
00313                    "prohibited by law if you do not accept this License.  Therefore, by " \
00314                    "modifying or distributing the Program (or any work based on the " \
00315                    "Program), you indicate your acceptance of this License to do so, and " \
00316                    "all its terms and conditions for copying, distributing or modifying " \
00317                    "the Program or works based on it. " \
00318                    "<P> " \
00319                    "<STRONG>6.</STRONG> " \
00320                    " Each time you redistribute the Program (or any work based on the " \
00321                    "Program), the recipient automatically receives a license from the " \
00322                    "original licensor to copy, distribute or modify the Program subject to " \
00323                    "these terms and conditions.  You may not impose any further " \
00324                    "restrictions on the recipients' exercise of the rights granted herein. " \
00325                    "You are not responsible for enforcing compliance by third parties to " \
00326                    "this License. " \
00327                    "<P> " \
00328                    "<STRONG>7.</STRONG> " \
00329                    " If, as a consequence of a court judgment or allegation of patent " \
00330                    "infringement or for any other reason (not limited to patent issues), " \
00331                    "conditions are imposed on you (whether by court order, agreement or " \
00332                    "otherwise) that contradict the conditions of this License, they do not " \
00333                    "excuse you from the conditions of this License.  If you cannot " \
00334                    "distribute so as to satisfy simultaneously your obligations under this " \
00335                    "License and any other pertinent obligations, then as a consequence you " \
00336                    "may not distribute the Program at all.  For example, if a patent " \
00337                    "license would not permit royalty-free redistribution of the Program by " \
00338                    "all those who receive copies directly or indirectly through you, then " \
00339                    "the only way you could satisfy both it and this License would be to " \
00340                    "refrain entirely from distribution of the Program. " \
00341                    "<P> " \
00342                    "If any portion of this section is held invalid or unenforceable under " \
00343                    "any particular circumstance, the balance of the section is intended to " \
00344                    "apply and the section as a whole is intended to apply in other " \
00345                    "circumstances. " \
00346                    "<P> " \
00347                    "It is not the purpose of this section to induce you to infringe any " \
00348                    "patents or other property right claims or to contest validity of any " \
00349                    "such claims; this section has the sole purpose of protecting the " \
00350                    "integrity of the free software distribution system, which is " \
00351                    "implemented by public license practices.  Many people have made " \
00352                    "generous contributions to the wide range of software distributed " \
00353                    "through that system in reliance on consistent application of that " \
00354                    "system; it is up to the author/donor to decide if he or she is willing " \
00355                    "to distribute software through any other system and a licensee cannot " \
00356                    "impose that choice. " \
00357                    "<P> " \
00358                    "This section is intended to make thoroughly clear what is believed to " \
00359                    "be a consequence of the rest of this License. " \
00360                    "<P> " \
00361                    "<STRONG>8.</STRONG> " \
00362                    " If the distribution and/or use of the Program is restricted in " \
00363                    "certain countries either by patents or by copyrighted interfaces, the " \
00364                    "original copyright holder who places the Program under this License " \
00365                    "may add an explicit geographical distribution limitation excluding " \
00366                    "those countries, so that distribution is permitted only in or among " \
00367                    "countries not thus excluded.  In such case, this License incorporates " \
00368                    "the limitation as if written in the body of this License. " \
00369                    "<P> " \
00370                    "<STRONG>9.</STRONG> " \
00371                    " The Free Software Foundation may publish revised and/or new versions " \
00372                    "of the General Public License from time to time.  Such new versions will " \
00373                    "be similar in spirit to the present version, but may differ in detail to " \
00374                    "address new problems or concerns. " \
00375                    "<P> " \
00376                    "Each version is given a distinguishing version number.  If the Program " \
00377                    "specifies a version number of this License which applies to it and \"any " \
00378                    "later version\", you have the option of following the terms and conditions " \
00379                    "either of that version or of any later version published by the Free " \
00380                    "Software Foundation.  If the Program does not specify a version number of " \
00381                    "this License, you may choose any version ever published by the Free Software " \
00382                    "Foundation. " \
00383                    "<P> " \
00384                    "<STRONG>10.</STRONG> " \
00385                    " If you wish to incorporate parts of the Program into other free " \
00386                    "programs whose distribution conditions are different, write to the author " \
00387                    "to ask for permission.  For software which is copyrighted by the Free " \
00388                    "Software Foundation, write to the Free Software Foundation; we sometimes " \
00389                    "make exceptions for this.  Our decision will be guided by the two goals " \
00390                    "of preserving the free status of all derivatives of our free software and " \
00391                    "of promoting the sharing and reuse of software generally. " \
00392                    "<P><STRONG>NO WARRANTY</STRONG></P> " \
00393                    "<P> " \
00394                    "<STRONG>11.</STRONG> " \
00395                    " BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY " \
00396                    "FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN " \
00397                    "OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES " \
00398                    "PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED " \
00399                    "OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF " \
00400                    "MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS " \
00401                    "TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE " \
00402                    "PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, " \
00403                    "REPAIR OR CORRECTION. " \
00404                    "<P> " \
00405                    "<STRONG>12.</STRONG> " \
00406                    " IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING " \
00407                    "WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR " \
00408                    "REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR " \
00409                    "DAMAGES, " \
00410                    "INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES " \
00411                    "ARISING " \
00412                    "OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED " \
00413                    "TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY " \
00414                    "YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER " \
00415                    "PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE " \
00416                    "POSSIBILITY OF SUCH DAMAGES. " \
00417                    "<P> " \
00418                    "<H2>END OF TERMS AND CONDITIONS</H2>";
00419 
00420     textEdit_sobre->setHtml(str_sobre);
00421     textEdit_autores->setHtml(str_autores);
00422     textEdit_soporte->setHtml(str_soporte);
00423     textEdit_licencia->setHtml(str_licencia);
00424     _depura("END sobreview::sobreview", 0);
00425 }
00426 
00427 
00429 
00433 sobreview::~sobreview() {
00434     _depura("sobreview::~sobreview", 0);
00435     _depura("END sobreview::~sobreview", 0);
00436 }
00437 
00438 
00440 
00442 void sobreview::on_mui_aceptar_clicked() {
00443     _depura("sobreview::on_mui_aceptar_clicked", 0);
00444     close();
00445     _depura("END sobreview::on_mui_aceptar_clicked", 0);
00446 }
00447 

Generated on Sat Dec 15 00:01:04 2007 for BulmaGes by  doxygen 1.5.1