#include <aboutview.h>
Inheritance diagram for AboutView:

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