Merge lp:~alexwolf/stellarium/bright-novae-plugin into lp:stellarium

Proposed by Alexander Wolf
Status: Merged
Merged at revision: 6198
Proposed branch: lp:~alexwolf/stellarium/bright-novae-plugin
Merge into: lp:stellarium
Diff against target: 4940 lines (+4795/-0)
20 files modified
CMakeLists.txt (+1/-0)
data/default_shortcuts.json (+13/-0)
plugins/CMakeLists.txt (+3/-0)
plugins/Novae/CMakeLists.txt (+13/-0)
plugins/Novae/COPYING (+340/-0)
plugins/Novae/Doxyfile (+1800/-0)
plugins/Novae/resources/Novae.qrc (+5/-0)
plugins/Novae/resources/novae.json (+563/-0)
plugins/Novae/src/CMakeLists.txt (+57/-0)
plugins/Novae/src/Nova.cpp (+336/-0)
plugins/Novae/src/Nova.hpp (+101/-0)
plugins/Novae/src/Novae.cpp (+694/-0)
plugins/Novae/src/Novae.hpp (+251/-0)
plugins/Novae/src/gui/NovaeDialog.cpp (+227/-0)
plugins/Novae/src/gui/NovaeDialog.hpp (+64/-0)
plugins/Novae/src/gui/novaeDialog.ui (+311/-0)
po/stellarium/POTFILES.in (+4/-0)
src/CMakeLists.txt (+5/-0)
src/StelMainGraphicsView.cpp (+4/-0)
src/translations.h (+3/-0)
To merge this branch: bzr merge lp:~alexwolf/stellarium/bright-novae-plugin
Reviewer Review Type Date Requested Status
Alexander Wolf Pending
gzotti Pending
Review via email: mp+181961@code.launchpad.net

This proposal supersedes a proposal from 2013-08-24.

Description of the change

A new plugin - Bright Novae.

This plugin displays the positions of some bright novae in the Milky Way galaxy. Of course, this plugin has model (very simple model right now) for calculation of light curve of novae. Catalog of novae has JSON format and can updated from our website.

New: description was updated, added synchronization for labels of novae with displaying of the labels for main stars.

To post a comment you must log in.
Revision history for this message
gzotti (georg-zotti) wrote : Posted in a previous version of this proposal

Hey, looks good!

In general, I like the feature to have date of occurrence in the info strings, and a label on screen. But is there also a way to switch off labels entirely? Maybe just if star labels are switched off completely, also don't show these labels? It should be possible to keep a sky view where just one more star suddenly appears without label, IMHO.

Do you also show recurring novae?

I send some more comments as PM. Pretty sure to approve on merging within hours/days!

review: Needs Fixing
Revision history for this message
Alexander Wolf (alexwolf) wrote : Posted in a previous version of this proposal

Thanks for comments (description was updated).

This plugin does not support the recurrent novae right now - only NA, NC and NC types. Also this plugin don't support management of lables for the stars yet.

review: Needs Resubmitting
6199. By Alexander Wolf

update data for Nova Delphini 2013

Revision history for this message
gzotti (georg-zotti) wrote : Posted in a previous version of this proposal

Seems fine now, labels not drawn when star labels are off. Nice addition!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2013-08-04 07:54:23 +0000
3+++ CMakeLists.txt 2013-08-24 18:42:27 +0000
4@@ -216,6 +216,7 @@
5 SET(USE_PLUGIN_COMPASSMARKS 1 CACHE BOOL "Define whether the CompassMarks plugin should be created.")
6 SET(USE_PLUGIN_EXOPLANETS 1 CACHE BOOL "Define whether the Exoplanets plugin should be created.")
7 SET(USE_PLUGIN_LOGBOOK 0 CACHE BOOL "Define whether the LogBook plugin should be created.")
8+SET(USE_PLUGIN_NOVAE 1 CACHE BOOL "Define whether the Novae plugin should be created.")
9 SET(USE_PLUGIN_OBSERVABILITY 1 CACHE BOOL "Define whether the Observability plugin should be created.")
10 SET(USE_PLUGIN_OCULARS 1 CACHE BOOL "Define whether the Oculars plugin should be created.")
11 SET(USE_PLUGIN_PULSARS 1 CACHE BOOL "Define whether the Pulsars plugin should be created.")
12
13=== modified file 'data/default_shortcuts.json'
14--- data/default_shortcuts.json 2013-07-16 09:20:42 +0000
15+++ data/default_shortcuts.json 2013-08-24 18:42:27 +0000
16@@ -871,6 +871,19 @@
17 }
18 }
19 },
20+ "PluginNovae" :
21+ {
22+ "pluginId" : "Novae",
23+ "actions" :
24+ {
25+ "actionShow_Novae_ConfigDialog":
26+ {
27+ "text" : "Bright Novae configuration window",
28+ "primaryKey" : "",
29+ "checkable": "1"
30+ }
31+ }
32+ },
33 "PluginQuasars" :
34 {
35 "pluginId" : "Quasars",
36
37=== modified file 'plugins/CMakeLists.txt'
38--- plugins/CMakeLists.txt 2013-04-16 14:13:58 +0000
39+++ plugins/CMakeLists.txt 2013-08-24 18:42:27 +0000
40@@ -52,6 +52,9 @@
41 IF (USE_PLUGIN_SUPERNOVAE)
42 ADD_SUBDIRECTORY( Supernovae )
43 ENDIF()
44+IF (USE_PLUGIN_NOVAE)
45+ ADD_SUBDIRECTORY( Novae )
46+ENDIF()
47 IF (USE_PLUGIN_QUASARS)
48 ADD_SUBDIRECTORY( Quasars )
49 ENDIF()
50
51=== added directory 'plugins/Novae'
52=== added file 'plugins/Novae/CMakeLists.txt'
53--- plugins/Novae/CMakeLists.txt 1970-01-01 00:00:00 +0000
54+++ plugins/Novae/CMakeLists.txt 2013-08-24 18:42:27 +0000
55@@ -0,0 +1,13 @@
56+SET(NOVAE_VERSION "0.1.0")
57+
58+IF(APPLE)
59+ SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/Library/Application\ Support/Stellarium)
60+ElSE(APPLE)
61+ SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/.stellarium)
62+ENDIF(APPLE)
63+
64+ADD_DEFINITIONS(-DNOVAE_PLUGIN_VERSION="${NOVAE_VERSION}")
65+
66+ADD_SUBDIRECTORY( src )
67+
68+INSTALL(FILES DESTINATION "modules/Novae")
69
70=== added file 'plugins/Novae/COPYING'
71--- plugins/Novae/COPYING 1970-01-01 00:00:00 +0000
72+++ plugins/Novae/COPYING 2013-08-24 18:42:27 +0000
73@@ -0,0 +1,340 @@
74+ GNU GENERAL PUBLIC LICENSE
75+ Version 2, June 1991
76+
77+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
78+ 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
79+ Everyone is permitted to copy and distribute verbatim copies
80+ of this license document, but changing it is not allowed.
81+
82+ Preamble
83+
84+ The licenses for most software are designed to take away your
85+freedom to share and change it. By contrast, the GNU General Public
86+License is intended to guarantee your freedom to share and change free
87+software--to make sure the software is free for all its users. This
88+General Public License applies to most of the Free Software
89+Foundation's software and to any other program whose authors commit to
90+using it. (Some other Free Software Foundation software is covered by
91+the GNU Library General Public License instead.) You can apply it to
92+your programs, too.
93+
94+ When we speak of free software, we are referring to freedom, not
95+price. Our General Public Licenses are designed to make sure that you
96+have the freedom to distribute copies of free software (and charge for
97+this service if you wish), that you receive source code or can get it
98+if you want it, that you can change the software or use pieces of it
99+in new free programs; and that you know you can do these things.
100+
101+ To protect your rights, we need to make restrictions that forbid
102+anyone to deny you these rights or to ask you to surrender the rights.
103+These restrictions translate to certain responsibilities for you if you
104+distribute copies of the software, or if you modify it.
105+
106+ For example, if you distribute copies of such a program, whether
107+gratis or for a fee, you must give the recipients all the rights that
108+you have. You must make sure that they, too, receive or can get the
109+source code. And you must show them these terms so they know their
110+rights.
111+
112+ We protect your rights with two steps: (1) copyright the software, and
113+(2) offer you this license which gives you legal permission to copy,
114+distribute and/or modify the software.
115+
116+ Also, for each author's protection and ours, we want to make certain
117+that everyone understands that there is no warranty for this free
118+software. If the software is modified by someone else and passed on, we
119+want its recipients to know that what they have is not the original, so
120+that any problems introduced by others will not reflect on the original
121+authors' reputations.
122+
123+ Finally, any free program is threatened constantly by software
124+patents. We wish to avoid the danger that redistributors of a free
125+program will individually obtain patent licenses, in effect making the
126+program proprietary. To prevent this, we have made it clear that any
127+patent must be licensed for everyone's free use or not licensed at all.
128+
129+ The precise terms and conditions for copying, distribution and
130+modification follow.
131+
132
133+ GNU GENERAL PUBLIC LICENSE
134+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
135+
136+ 0. This License applies to any program or other work which contains
137+a notice placed by the copyright holder saying it may be distributed
138+under the terms of this General Public License. The "Program", below,
139+refers to any such program or work, and a "work based on the Program"
140+means either the Program or any derivative work under copyright law:
141+that is to say, a work containing the Program or a portion of it,
142+either verbatim or with modifications and/or translated into another
143+language. (Hereinafter, translation is included without limitation in
144+the term "modification".) Each licensee is addressed as "you".
145+
146+Activities other than copying, distribution and modification are not
147+covered by this License; they are outside its scope. The act of
148+running the Program is not restricted, and the output from the Program
149+is covered only if its contents constitute a work based on the
150+Program (independent of having been made by running the Program).
151+Whether that is true depends on what the Program does.
152+
153+ 1. You may copy and distribute verbatim copies of the Program's
154+source code as you receive it, in any medium, provided that you
155+conspicuously and appropriately publish on each copy an appropriate
156+copyright notice and disclaimer of warranty; keep intact all the
157+notices that refer to this License and to the absence of any warranty;
158+and give any other recipients of the Program a copy of this License
159+along with the Program.
160+
161+You may charge a fee for the physical act of transferring a copy, and
162+you may at your option offer warranty protection in exchange for a fee.
163+
164+ 2. You may modify your copy or copies of the Program or any portion
165+of it, thus forming a work based on the Program, and copy and
166+distribute such modifications or work under the terms of Section 1
167+above, provided that you also meet all of these conditions:
168+
169+ a) You must cause the modified files to carry prominent notices
170+ stating that you changed the files and the date of any change.
171+
172+ b) You must cause any work that you distribute or publish, that in
173+ whole or in part contains or is derived from the Program or any
174+ part thereof, to be licensed as a whole at no charge to all third
175+ parties under the terms of this License.
176+
177+ c) If the modified program normally reads commands interactively
178+ when run, you must cause it, when started running for such
179+ interactive use in the most ordinary way, to print or display an
180+ announcement including an appropriate copyright notice and a
181+ notice that there is no warranty (or else, saying that you provide
182+ a warranty) and that users may redistribute the program under
183+ these conditions, and telling the user how to view a copy of this
184+ License. (Exception: if the Program itself is interactive but
185+ does not normally print such an announcement, your work based on
186+ the Program is not required to print an announcement.)
187+
188
189+These requirements apply to the modified work as a whole. If
190+identifiable sections of that work are not derived from the Program,
191+and can be reasonably considered independent and separate works in
192+themselves, then this License, and its terms, do not apply to those
193+sections when you distribute them as separate works. But when you
194+distribute the same sections as part of a whole which is a work based
195+on the Program, the distribution of the whole must be on the terms of
196+this License, whose permissions for other licensees extend to the
197+entire whole, and thus to each and every part regardless of who wrote it.
198+
199+Thus, it is not the intent of this section to claim rights or contest
200+your rights to work written entirely by you; rather, the intent is to
201+exercise the right to control the distribution of derivative or
202+collective works based on the Program.
203+
204+In addition, mere aggregation of another work not based on the Program
205+with the Program (or with a work based on the Program) on a volume of
206+a storage or distribution medium does not bring the other work under
207+the scope of this License.
208+
209+ 3. You may copy and distribute the Program (or a work based on it,
210+under Section 2) in object code or executable form under the terms of
211+Sections 1 and 2 above provided that you also do one of the following:
212+
213+ a) Accompany it with the complete corresponding machine-readable
214+ source code, which must be distributed under the terms of Sections
215+ 1 and 2 above on a medium customarily used for software interchange; or,
216+
217+ b) Accompany it with a written offer, valid for at least three
218+ years, to give any third party, for a charge no more than your
219+ cost of physically performing source distribution, a complete
220+ machine-readable copy of the corresponding source code, to be
221+ distributed under the terms of Sections 1 and 2 above on a medium
222+ customarily used for software interchange; or,
223+
224+ c) Accompany it with the information you received as to the offer
225+ to distribute corresponding source code. (This alternative is
226+ allowed only for noncommercial distribution and only if you
227+ received the program in object code or executable form with such
228+ an offer, in accord with Subsection b above.)
229+
230+The source code for a work means the preferred form of the work for
231+making modifications to it. For an executable work, complete source
232+code means all the source code for all modules it contains, plus any
233+associated interface definition files, plus the scripts used to
234+control compilation and installation of the executable. However, as a
235+special exception, the source code distributed need not include
236+anything that is normally distributed (in either source or binary
237+form) with the major components (compiler, kernel, and so on) of the
238+operating system on which the executable runs, unless that component
239+itself accompanies the executable.
240+
241+If distribution of executable or object code is made by offering
242+access to copy from a designated place, then offering equivalent
243+access to copy the source code from the same place counts as
244+distribution of the source code, even though third parties are not
245+compelled to copy the source along with the object code.
246+
247
248+ 4. You may not copy, modify, sublicense, or distribute the Program
249+except as expressly provided under this License. Any attempt
250+otherwise to copy, modify, sublicense or distribute the Program is
251+void, and will automatically terminate your rights under this License.
252+However, parties who have received copies, or rights, from you under
253+this License will not have their licenses terminated so long as such
254+parties remain in full compliance.
255+
256+ 5. You are not required to accept this License, since you have not
257+signed it. However, nothing else grants you permission to modify or
258+distribute the Program or its derivative works. These actions are
259+prohibited by law if you do not accept this License. Therefore, by
260+modifying or distributing the Program (or any work based on the
261+Program), you indicate your acceptance of this License to do so, and
262+all its terms and conditions for copying, distributing or modifying
263+the Program or works based on it.
264+
265+ 6. Each time you redistribute the Program (or any work based on the
266+Program), the recipient automatically receives a license from the
267+original licensor to copy, distribute or modify the Program subject to
268+these terms and conditions. You may not impose any further
269+restrictions on the recipients' exercise of the rights granted herein.
270+You are not responsible for enforcing compliance by third parties to
271+this License.
272+
273+ 7. If, as a consequence of a court judgment or allegation of patent
274+infringement or for any other reason (not limited to patent issues),
275+conditions are imposed on you (whether by court order, agreement or
276+otherwise) that contradict the conditions of this License, they do not
277+excuse you from the conditions of this License. If you cannot
278+distribute so as to satisfy simultaneously your obligations under this
279+License and any other pertinent obligations, then as a consequence you
280+may not distribute the Program at all. For example, if a patent
281+license would not permit royalty-free redistribution of the Program by
282+all those who receive copies directly or indirectly through you, then
283+the only way you could satisfy both it and this License would be to
284+refrain entirely from distribution of the Program.
285+
286+If any portion of this section is held invalid or unenforceable under
287+any particular circumstance, the balance of the section is intended to
288+apply and the section as a whole is intended to apply in other
289+circumstances.
290+
291+It is not the purpose of this section to induce you to infringe any
292+patents or other property right claims or to contest validity of any
293+such claims; this section has the sole purpose of protecting the
294+integrity of the free software distribution system, which is
295+implemented by public license practices. Many people have made
296+generous contributions to the wide range of software distributed
297+through that system in reliance on consistent application of that
298+system; it is up to the author/donor to decide if he or she is willing
299+to distribute software through any other system and a licensee cannot
300+impose that choice.
301+
302+This section is intended to make thoroughly clear what is believed to
303+be a consequence of the rest of this License.
304+
305
306+ 8. If the distribution and/or use of the Program is restricted in
307+certain countries either by patents or by copyrighted interfaces, the
308+original copyright holder who places the Program under this License
309+may add an explicit geographical distribution limitation excluding
310+those countries, so that distribution is permitted only in or among
311+countries not thus excluded. In such case, this License incorporates
312+the limitation as if written in the body of this License.
313+
314+ 9. The Free Software Foundation may publish revised and/or new versions
315+of the General Public License from time to time. Such new versions will
316+be similar in spirit to the present version, but may differ in detail to
317+address new problems or concerns.
318+
319+Each version is given a distinguishing version number. If the Program
320+specifies a version number of this License which applies to it and "any
321+later version", you have the option of following the terms and conditions
322+either of that version or of any later version published by the Free
323+Software Foundation. If the Program does not specify a version number of
324+this License, you may choose any version ever published by the Free Software
325+Foundation.
326+
327+ 10. If you wish to incorporate parts of the Program into other free
328+programs whose distribution conditions are different, write to the author
329+to ask for permission. For software which is copyrighted by the Free
330+Software Foundation, write to the Free Software Foundation; we sometimes
331+make exceptions for this. Our decision will be guided by the two goals
332+of preserving the free status of all derivatives of our free software and
333+of promoting the sharing and reuse of software generally.
334+
335+ NO WARRANTY
336+
337+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
338+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
339+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
340+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
341+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
342+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
343+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
344+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
345+REPAIR OR CORRECTION.
346+
347+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
348+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
349+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
350+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
351+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
352+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
353+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
354+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
355+POSSIBILITY OF SUCH DAMAGES.
356+
357+ END OF TERMS AND CONDITIONS
358+
359
360+ How to Apply These Terms to Your New Programs
361+
362+ If you develop a new program, and you want it to be of the greatest
363+possible use to the public, the best way to achieve this is to make it
364+free software which everyone can redistribute and change under these terms.
365+
366+ To do so, attach the following notices to the program. It is safest
367+to attach them to the start of each source file to most effectively
368+convey the exclusion of warranty; and each file should have at least
369+the "copyright" line and a pointer to where the full notice is found.
370+
371+ <one line to give the program's name and a brief idea of what it does.>
372+ Copyright (C) <year> <name of author>
373+
374+ This program is free software; you can redistribute it and/or modify
375+ it under the terms of the GNU General Public License as published by
376+ the Free Software Foundation; either version 2 of the License, or
377+ (at your option) any later version.
378+
379+ This program is distributed in the hope that it will be useful,
380+ but WITHOUT ANY WARRANTY; without even the implied warranty of
381+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
382+ GNU General Public License for more details.
383+
384+ You should have received a copy of the GNU General Public License
385+ along with this program; if not, write to the Free Software
386+ Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
387+
388+
389+Also add information on how to contact you by electronic and paper mail.
390+
391+If the program is interactive, make it output a short notice like this
392+when it starts in an interactive mode:
393+
394+ Gnomovision version 69, Copyright (C) year name of author
395+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
396+ This is free software, and you are welcome to redistribute it
397+ under certain conditions; type `show c' for details.
398+
399+The hypothetical commands `show w' and `show c' should show the appropriate
400+parts of the General Public License. Of course, the commands you use may
401+be called something other than `show w' and `show c'; they could even be
402+mouse-clicks or menu items--whatever suits your program.
403+
404+You should also get your employer (if you work as a programmer) or your
405+school, if any, to sign a "copyright disclaimer" for the program, if
406+necessary. Here is a sample; alter the names:
407+
408+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
409+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
410+
411+ <signature of Ty Coon>, 1 April 1989
412+ Ty Coon, President of Vice
413+
414+This General Public License does not permit incorporating your program into
415+proprietary programs. If your program is a subroutine library, you may
416+consider it more useful to permit linking proprietary applications with the
417+library. If this is what you want to do, use the GNU Library General
418+Public License instead of this License.
419
420=== added file 'plugins/Novae/Doxyfile'
421--- plugins/Novae/Doxyfile 1970-01-01 00:00:00 +0000
422+++ plugins/Novae/Doxyfile 2013-08-24 18:42:27 +0000
423@@ -0,0 +1,1800 @@
424+# Doxyfile 1.8.0
425+
426+# This file describes the settings to be used by the documentation system
427+# doxygen (www.doxygen.org) for a project.
428+#
429+# All text after a hash (#) is considered a comment and will be ignored.
430+# The format is:
431+# TAG = value [value, ...]
432+# For lists items can also be appended using:
433+# TAG += value [value, ...]
434+# Values that contain spaces should be placed between quotes (" ").
435+
436+#---------------------------------------------------------------------------
437+# Project related configuration options
438+#---------------------------------------------------------------------------
439+
440+# This tag specifies the encoding used for all characters in the config file
441+# that follow. The default is UTF-8 which is also the encoding used for all
442+# text before the first occurrence of this tag. Doxygen uses libiconv (or the
443+# iconv built into libc) for the transcoding. See
444+# http://www.gnu.org/software/libiconv for the list of possible encodings.
445+
446+DOXYFILE_ENCODING = UTF-8
447+
448+# The PROJECT_NAME tag is a single word (or sequence of words) that should
449+# identify the project. Note that if you do not use Doxywizard you need
450+# to put quotes around the project name if it contains spaces.
451+
452+PROJECT_NAME = "Stellarium Bright Novae Plug-in"
453+
454+# The PROJECT_NUMBER tag can be used to enter a project or revision number.
455+# This could be handy for archiving the generated documentation or
456+# if some version control system is used.
457+
458+PROJECT_NUMBER =
459+
460+# Using the PROJECT_BRIEF tag one can provide an optional one line description
461+# for a project that appears at the top of each page and should give viewer
462+# a quick idea about the purpose of the project. Keep the description short.
463+
464+PROJECT_BRIEF =
465+
466+# With the PROJECT_LOGO tag one can specify an logo or icon that is
467+# included in the documentation. The maximum height of the logo should not
468+# exceed 55 pixels and the maximum width should not exceed 200 pixels.
469+# Doxygen will copy the logo to the output directory.
470+
471+PROJECT_LOGO =
472+
473+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
474+# base path where the generated documentation will be put.
475+# If a relative path is entered, it will be relative to the location
476+# where doxygen was started. If left blank the current directory will be used.
477+
478+OUTPUT_DIRECTORY =
479+
480+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
481+# 4096 sub-directories (in 2 levels) under the output directory of each output
482+# format and will distribute the generated files over these directories.
483+# Enabling this option can be useful when feeding doxygen a huge amount of
484+# source files, where putting all generated files in the same directory would
485+# otherwise cause performance problems for the file system.
486+
487+CREATE_SUBDIRS = NO
488+
489+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
490+# documentation generated by doxygen is written. Doxygen will use this
491+# information to generate all constant output in the proper language.
492+# The default language is English, other supported languages are:
493+# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
494+# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
495+# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
496+# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
497+# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
498+# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
499+
500+OUTPUT_LANGUAGE = English
501+
502+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
503+# include brief member descriptions after the members that are listed in
504+# the file and class documentation (similar to JavaDoc).
505+# Set to NO to disable this.
506+
507+BRIEF_MEMBER_DESC = YES
508+
509+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
510+# the brief description of a member or function before the detailed description.
511+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
512+# brief descriptions will be completely suppressed.
513+
514+REPEAT_BRIEF = YES
515+
516+# This tag implements a quasi-intelligent brief description abbreviator
517+# that is used to form the text in various listings. Each string
518+# in this list, if found as the leading text of the brief description, will be
519+# stripped from the text and the result after processing the whole list, is
520+# used as the annotated text. Otherwise, the brief description is used as-is.
521+# If left blank, the following values are used ("$name" is automatically
522+# replaced with the name of the entity): "The $name class" "The $name widget"
523+# "The $name file" "is" "provides" "specifies" "contains"
524+# "represents" "a" "an" "the"
525+
526+ABBREVIATE_BRIEF =
527+
528+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
529+# Doxygen will generate a detailed section even if there is only a brief
530+# description.
531+
532+ALWAYS_DETAILED_SEC = NO
533+
534+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
535+# inherited members of a class in the documentation of that class as if those
536+# members were ordinary class members. Constructors, destructors and assignment
537+# operators of the base classes will not be shown.
538+
539+INLINE_INHERITED_MEMB = NO
540+
541+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
542+# path before files name in the file list and in the header files. If set
543+# to NO the shortest path that makes the file name unique will be used.
544+
545+FULL_PATH_NAMES = NO
546+
547+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
548+# can be used to strip a user-defined part of the path. Stripping is
549+# only done if one of the specified strings matches the left-hand part of
550+# the path. The tag can be used to show relative paths in the file list.
551+# If left blank the directory from which doxygen is run is used as the
552+# path to strip.
553+
554+STRIP_FROM_PATH =
555+
556+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
557+# the path mentioned in the documentation of a class, which tells
558+# the reader which header file to include in order to use a class.
559+# If left blank only the name of the header file containing the class
560+# definition is used. Otherwise one should specify the include paths that
561+# are normally passed to the compiler using the -I flag.
562+
563+STRIP_FROM_INC_PATH =
564+
565+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
566+# (but less readable) file names. This can be useful if your file system
567+# doesn't support long names like on DOS, Mac, or CD-ROM.
568+
569+SHORT_NAMES = NO
570+
571+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
572+# will interpret the first line (until the first dot) of a JavaDoc-style
573+# comment as the brief description. If set to NO, the JavaDoc
574+# comments will behave just like regular Qt-style comments
575+# (thus requiring an explicit @brief command for a brief description.)
576+
577+JAVADOC_AUTOBRIEF = YES
578+
579+# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
580+# interpret the first line (until the first dot) of a Qt-style
581+# comment as the brief description. If set to NO, the comments
582+# will behave just like regular Qt-style comments (thus requiring
583+# an explicit \brief command for a brief description.)
584+
585+QT_AUTOBRIEF = YES
586+
587+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
588+# treat a multi-line C++ special comment block (i.e. a block of //! or ///
589+# comments) as a brief description. This used to be the default behaviour.
590+# The new default is to treat a multi-line C++ comment block as a detailed
591+# description. Set this tag to YES if you prefer the old behaviour instead.
592+
593+MULTILINE_CPP_IS_BRIEF = NO
594+
595+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
596+# member inherits the documentation from any documented member that it
597+# re-implements.
598+
599+INHERIT_DOCS = YES
600+
601+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
602+# a new page for each member. If set to NO, the documentation of a member will
603+# be part of the file/class/namespace that contains it.
604+
605+SEPARATE_MEMBER_PAGES = NO
606+
607+# The TAB_SIZE tag can be used to set the number of spaces in a tab.
608+# Doxygen uses this value to replace tabs by spaces in code fragments.
609+
610+TAB_SIZE = 8
611+
612+# This tag can be used to specify a number of aliases that acts
613+# as commands in the documentation. An alias has the form "name=value".
614+# For example adding "sideeffect=\par Side Effects:\n" will allow you to
615+# put the command \sideeffect (or @sideeffect) in the documentation, which
616+# will result in a user-defined paragraph with heading "Side Effects:".
617+# You can put \n's in the value part of an alias to insert newlines.
618+
619+ALIASES =
620+
621+# This tag can be used to specify a number of word-keyword mappings (TCL only).
622+# A mapping has the form "name=value". For example adding
623+# "class=itcl::class" will allow you to use the command class in the
624+# itcl::class meaning.
625+
626+TCL_SUBST =
627+
628+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
629+# sources only. Doxygen will then generate output that is more tailored for C.
630+# For instance, some of the names that are used will be different. The list
631+# of all members will be omitted, etc.
632+
633+OPTIMIZE_OUTPUT_FOR_C = NO
634+
635+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
636+# sources only. Doxygen will then generate output that is more tailored for
637+# Java. For instance, namespaces will be presented as packages, qualified
638+# scopes will look different, etc.
639+
640+OPTIMIZE_OUTPUT_JAVA = NO
641+
642+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
643+# sources only. Doxygen will then generate output that is more tailored for
644+# Fortran.
645+
646+OPTIMIZE_FOR_FORTRAN = NO
647+
648+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
649+# sources. Doxygen will then generate output that is tailored for
650+# VHDL.
651+
652+OPTIMIZE_OUTPUT_VHDL = NO
653+
654+# Doxygen selects the parser to use depending on the extension of the files it
655+# parses. With this tag you can assign which parser to use for a given extension.
656+# Doxygen has a built-in mapping, but you can override or extend it using this
657+# tag. The format is ext=language, where ext is a file extension, and language
658+# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
659+# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
660+# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
661+# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
662+# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
663+
664+EXTENSION_MAPPING =
665+
666+# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all
667+# comments according to the Markdown format, which allows for more readable
668+# documentation. See http://daringfireball.net/projects/markdown/ for details.
669+# The output of markdown processing is further processed by doxygen, so you
670+# can mix doxygen, HTML, and XML commands with Markdown formatting.
671+# Disable only in case of backward compatibilities issues.
672+
673+MARKDOWN_SUPPORT = YES
674+
675+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
676+# to include (a tag file for) the STL sources as input, then you should
677+# set this tag to YES in order to let doxygen match functions declarations and
678+# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
679+# func(std::string) {}). This also makes the inheritance and collaboration
680+# diagrams that involve STL classes more complete and accurate.
681+
682+BUILTIN_STL_SUPPORT = NO
683+
684+# If you use Microsoft's C++/CLI language, you should set this option to YES to
685+# enable parsing support.
686+
687+CPP_CLI_SUPPORT = NO
688+
689+# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
690+# Doxygen will parse them like normal C++ but will assume all classes use public
691+# instead of private inheritance when no explicit protection keyword is present.
692+
693+SIP_SUPPORT = NO
694+
695+# For Microsoft's IDL there are propget and propput attributes to indicate getter
696+# and setter methods for a property. Setting this option to YES (the default)
697+# will make doxygen replace the get and set methods by a property in the
698+# documentation. This will only work if the methods are indeed getting or
699+# setting a simple type. If this is not the case, or you want to show the
700+# methods anyway, you should set this option to NO.
701+
702+IDL_PROPERTY_SUPPORT = YES
703+
704+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
705+# tag is set to YES, then doxygen will reuse the documentation of the first
706+# member in the group (if any) for the other members of the group. By default
707+# all members of a group must be documented explicitly.
708+
709+DISTRIBUTE_GROUP_DOC = NO
710+
711+# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
712+# the same type (for instance a group of public functions) to be put as a
713+# subgroup of that type (e.g. under the Public Functions section). Set it to
714+# NO to prevent subgrouping. Alternatively, this can be done per class using
715+# the \nosubgrouping command.
716+
717+SUBGROUPING = YES
718+
719+# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and
720+# unions are shown inside the group in which they are included (e.g. using
721+# @ingroup) instead of on a separate page (for HTML and Man pages) or
722+# section (for LaTeX and RTF).
723+
724+INLINE_GROUPED_CLASSES = NO
725+
726+# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and
727+# unions with only public data fields will be shown inline in the documentation
728+# of the scope in which they are defined (i.e. file, namespace, or group
729+# documentation), provided this scope is documented. If set to NO (the default),
730+# structs, classes, and unions are shown on a separate page (for HTML and Man
731+# pages) or section (for LaTeX and RTF).
732+
733+INLINE_SIMPLE_STRUCTS = NO
734+
735+# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
736+# is documented as struct, union, or enum with the name of the typedef. So
737+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
738+# with name TypeT. When disabled the typedef will appear as a member of a file,
739+# namespace, or class. And the struct will be named TypeS. This can typically
740+# be useful for C code in case the coding convention dictates that all compound
741+# types are typedef'ed and only the typedef is referenced, never the tag name.
742+
743+TYPEDEF_HIDES_STRUCT = NO
744+
745+# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
746+# determine which symbols to keep in memory and which to flush to disk.
747+# When the cache is full, less often used symbols will be written to disk.
748+# For small to medium size projects (<1000 input files) the default value is
749+# probably good enough. For larger projects a too small cache size can cause
750+# doxygen to be busy swapping symbols to and from disk most of the time
751+# causing a significant performance penalty.
752+# If the system has enough physical memory increasing the cache will improve the
753+# performance by keeping more symbols in memory. Note that the value works on
754+# a logarithmic scale so increasing the size by one will roughly double the
755+# memory usage. The cache size is given by this formula:
756+# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
757+# corresponding to a cache size of 2^16 = 65536 symbols.
758+
759+SYMBOL_CACHE_SIZE = 0
760+
761+# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be
762+# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given
763+# their name and scope. Since this can be an expensive process and often the
764+# same symbol appear multiple times in the code, doxygen keeps a cache of
765+# pre-resolved symbols. If the cache is too small doxygen will become slower.
766+# If the cache is too large, memory is wasted. The cache size is given by this
767+# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0,
768+# corresponding to a cache size of 2^16 = 65536 symbols.
769+
770+LOOKUP_CACHE_SIZE = 0
771+
772+#---------------------------------------------------------------------------
773+# Build related configuration options
774+#---------------------------------------------------------------------------
775+
776+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
777+# documentation are documented, even if no documentation was available.
778+# Private class members and static file members will be hidden unless
779+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
780+
781+EXTRACT_ALL = YES
782+
783+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
784+# will be included in the documentation.
785+
786+EXTRACT_PRIVATE = YES
787+
788+# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal scope will be included in the documentation.
789+
790+EXTRACT_PACKAGE = NO
791+
792+# If the EXTRACT_STATIC tag is set to YES all static members of a file
793+# will be included in the documentation.
794+
795+EXTRACT_STATIC = YES
796+
797+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
798+# defined locally in source files will be included in the documentation.
799+# If set to NO only classes defined in header files are included.
800+
801+EXTRACT_LOCAL_CLASSES = YES
802+
803+# This flag is only useful for Objective-C code. When set to YES local
804+# methods, which are defined in the implementation section but not in
805+# the interface are included in the documentation.
806+# If set to NO (the default) only methods in the interface are included.
807+
808+EXTRACT_LOCAL_METHODS = NO
809+
810+# If this flag is set to YES, the members of anonymous namespaces will be
811+# extracted and appear in the documentation as a namespace called
812+# 'anonymous_namespace{file}', where file will be replaced with the base
813+# name of the file that contains the anonymous namespace. By default
814+# anonymous namespaces are hidden.
815+
816+EXTRACT_ANON_NSPACES = NO
817+
818+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
819+# undocumented members of documented classes, files or namespaces.
820+# If set to NO (the default) these members will be included in the
821+# various overviews, but no documentation section is generated.
822+# This option has no effect if EXTRACT_ALL is enabled.
823+
824+HIDE_UNDOC_MEMBERS = NO
825+
826+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
827+# undocumented classes that are normally visible in the class hierarchy.
828+# If set to NO (the default) these classes will be included in the various
829+# overviews. This option has no effect if EXTRACT_ALL is enabled.
830+
831+HIDE_UNDOC_CLASSES = NO
832+
833+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
834+# friend (class|struct|union) declarations.
835+# If set to NO (the default) these declarations will be included in the
836+# documentation.
837+
838+HIDE_FRIEND_COMPOUNDS = NO
839+
840+# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
841+# documentation blocks found inside the body of a function.
842+# If set to NO (the default) these blocks will be appended to the
843+# function's detailed documentation block.
844+
845+HIDE_IN_BODY_DOCS = NO
846+
847+# The INTERNAL_DOCS tag determines if documentation
848+# that is typed after a \internal command is included. If the tag is set
849+# to NO (the default) then the documentation will be excluded.
850+# Set it to YES to include the internal documentation.
851+
852+INTERNAL_DOCS = NO
853+
854+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
855+# file names in lower-case letters. If set to YES upper-case letters are also
856+# allowed. This is useful if you have classes or files whose names only differ
857+# in case and if your file system supports case sensitive file names. Windows
858+# and Mac users are advised to set this option to NO.
859+
860+CASE_SENSE_NAMES = YES
861+
862+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
863+# will show members with their full class and namespace scopes in the
864+# documentation. If set to YES the scope will be hidden.
865+
866+HIDE_SCOPE_NAMES = NO
867+
868+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
869+# will put a list of the files that are included by a file in the documentation
870+# of that file.
871+
872+SHOW_INCLUDE_FILES = YES
873+
874+# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
875+# will list include files with double quotes in the documentation
876+# rather than with sharp brackets.
877+
878+FORCE_LOCAL_INCLUDES = NO
879+
880+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
881+# is inserted in the documentation for inline members.
882+
883+INLINE_INFO = YES
884+
885+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
886+# will sort the (detailed) documentation of file and class members
887+# alphabetically by member name. If set to NO the members will appear in
888+# declaration order.
889+
890+SORT_MEMBER_DOCS = YES
891+
892+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
893+# brief documentation of file, namespace and class members alphabetically
894+# by member name. If set to NO (the default) the members will appear in
895+# declaration order.
896+
897+SORT_BRIEF_DOCS = NO
898+
899+# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
900+# will sort the (brief and detailed) documentation of class members so that
901+# constructors and destructors are listed first. If set to NO (the default)
902+# the constructors will appear in the respective orders defined by
903+# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
904+# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
905+# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
906+
907+SORT_MEMBERS_CTORS_1ST = NO
908+
909+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
910+# hierarchy of group names into alphabetical order. If set to NO (the default)
911+# the group names will appear in their defined order.
912+
913+SORT_GROUP_NAMES = NO
914+
915+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
916+# sorted by fully-qualified names, including namespaces. If set to
917+# NO (the default), the class list will be sorted only by class name,
918+# not including the namespace part.
919+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
920+# Note: This option applies only to the class list, not to the
921+# alphabetical list.
922+
923+SORT_BY_SCOPE_NAME = NO
924+
925+# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
926+# do proper type resolution of all parameters of a function it will reject a
927+# match between the prototype and the implementation of a member function even
928+# if there is only one candidate or it is obvious which candidate to choose
929+# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
930+# will still accept a match between prototype and implementation in such cases.
931+
932+STRICT_PROTO_MATCHING = NO
933+
934+# The GENERATE_TODOLIST tag can be used to enable (YES) or
935+# disable (NO) the todo list. This list is created by putting \todo
936+# commands in the documentation.
937+
938+GENERATE_TODOLIST = YES
939+
940+# The GENERATE_TESTLIST tag can be used to enable (YES) or
941+# disable (NO) the test list. This list is created by putting \test
942+# commands in the documentation.
943+
944+GENERATE_TESTLIST = YES
945+
946+# The GENERATE_BUGLIST tag can be used to enable (YES) or
947+# disable (NO) the bug list. This list is created by putting \bug
948+# commands in the documentation.
949+
950+GENERATE_BUGLIST = YES
951+
952+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
953+# disable (NO) the deprecated list. This list is created by putting
954+# \deprecated commands in the documentation.
955+
956+GENERATE_DEPRECATEDLIST= YES
957+
958+# The ENABLED_SECTIONS tag can be used to enable conditional
959+# documentation sections, marked by \if sectionname ... \endif.
960+
961+ENABLED_SECTIONS =
962+
963+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
964+# the initial value of a variable or macro consists of for it to appear in
965+# the documentation. If the initializer consists of more lines than specified
966+# here it will be hidden. Use a value of 0 to hide initializers completely.
967+# The appearance of the initializer of individual variables and macros in the
968+# documentation can be controlled using \showinitializer or \hideinitializer
969+# command in the documentation regardless of this setting.
970+
971+MAX_INITIALIZER_LINES = 30
972+
973+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
974+# at the bottom of the documentation of classes and structs. If set to YES the
975+# list will mention the files that were used to generate the documentation.
976+
977+SHOW_USED_FILES = YES
978+
979+# If the sources in your project are distributed over multiple directories
980+# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
981+# in the documentation. The default is NO.
982+
983+SHOW_DIRECTORIES = NO
984+
985+# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
986+# This will remove the Files entry from the Quick Index and from the
987+# Folder Tree View (if specified). The default is YES.
988+
989+SHOW_FILES = YES
990+
991+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
992+# Namespaces page.
993+# This will remove the Namespaces entry from the Quick Index
994+# and from the Folder Tree View (if specified). The default is YES.
995+
996+SHOW_NAMESPACES = YES
997+
998+# The FILE_VERSION_FILTER tag can be used to specify a program or script that
999+# doxygen should invoke to get the current version for each file (typically from
1000+# the version control system). Doxygen will invoke the program by executing (via
1001+# popen()) the command <command> <input-file>, where <command> is the value of
1002+# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
1003+# provided by doxygen. Whatever the program writes to standard output
1004+# is used as the file version. See the manual for examples.
1005+
1006+FILE_VERSION_FILTER =
1007+
1008+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
1009+# by doxygen. The layout file controls the global structure of the generated
1010+# output files in an output format independent way. The create the layout file
1011+# that represents doxygen's defaults, run doxygen with the -l option.
1012+# You can optionally specify a file name after the option, if omitted
1013+# DoxygenLayout.xml will be used as the name of the layout file.
1014+
1015+LAYOUT_FILE =
1016+
1017+# The CITE_BIB_FILES tag can be used to specify one or more bib files
1018+# containing the references data. This must be a list of .bib files. The
1019+# .bib extension is automatically appended if omitted. Using this command
1020+# requires the bibtex tool to be installed. See also
1021+# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style
1022+# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this
1023+# feature you need bibtex and perl available in the search path.
1024+
1025+CITE_BIB_FILES =
1026+
1027+#---------------------------------------------------------------------------
1028+# configuration options related to warning and progress messages
1029+#---------------------------------------------------------------------------
1030+
1031+# The QUIET tag can be used to turn on/off the messages that are generated
1032+# by doxygen. Possible values are YES and NO. If left blank NO is used.
1033+
1034+QUIET = NO
1035+
1036+# The WARNINGS tag can be used to turn on/off the warning messages that are
1037+# generated by doxygen. Possible values are YES and NO. If left blank
1038+# NO is used.
1039+
1040+WARNINGS = YES
1041+
1042+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
1043+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
1044+# automatically be disabled.
1045+
1046+WARN_IF_UNDOCUMENTED = YES
1047+
1048+# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
1049+# potential errors in the documentation, such as not documenting some
1050+# parameters in a documented function, or documenting parameters that
1051+# don't exist or using markup commands wrongly.
1052+
1053+WARN_IF_DOC_ERROR = YES
1054+
1055+# The WARN_NO_PARAMDOC option can be enabled to get warnings for
1056+# functions that are documented, but have no documentation for their parameters
1057+# or return value. If set to NO (the default) doxygen will only warn about
1058+# wrong or incomplete parameter documentation, but not about the absence of
1059+# documentation.
1060+
1061+WARN_NO_PARAMDOC = NO
1062+
1063+# The WARN_FORMAT tag determines the format of the warning messages that
1064+# doxygen can produce. The string should contain the $file, $line, and $text
1065+# tags, which will be replaced by the file and line number from which the
1066+# warning originated and the warning text. Optionally the format may contain
1067+# $version, which will be replaced by the version of the file (if it could
1068+# be obtained via FILE_VERSION_FILTER)
1069+
1070+WARN_FORMAT = "$file:$line: $text"
1071+
1072+# The WARN_LOGFILE tag can be used to specify a file to which warning
1073+# and error messages should be written. If left blank the output is written
1074+# to stderr.
1075+
1076+WARN_LOGFILE =
1077+
1078+#---------------------------------------------------------------------------
1079+# configuration options related to the input files
1080+#---------------------------------------------------------------------------
1081+
1082+# The INPUT tag can be used to specify the files and/or directories that contain
1083+# documented source files. You may enter file names like "myfile.cpp" or
1084+# directories like "/usr/src/myproject". Separate the files or directories
1085+# with spaces.
1086+
1087+INPUT = ./src ./src/gui
1088+
1089+# This tag can be used to specify the character encoding of the source files
1090+# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
1091+# also the default input encoding. Doxygen uses libiconv (or the iconv built
1092+# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
1093+# the list of possible encodings.
1094+
1095+INPUT_ENCODING = UTF-8
1096+
1097+# If the value of the INPUT tag contains directories, you can use the
1098+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
1099+# and *.h) to filter out the source-files in the directories. If left
1100+# blank the following patterns are tested:
1101+# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
1102+# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
1103+# *.f90 *.f *.for *.vhd *.vhdl
1104+
1105+FILE_PATTERNS =
1106+
1107+# The RECURSIVE tag can be used to turn specify whether or not subdirectories
1108+# should be searched for input files as well. Possible values are YES and NO.
1109+# If left blank NO is used.
1110+
1111+RECURSIVE = NO
1112+
1113+# The EXCLUDE tag can be used to specify files and/or directories that should be
1114+# excluded from the INPUT source files. This way you can easily exclude a
1115+# subdirectory from a directory tree whose root is specified with the INPUT tag.
1116+# Note that relative paths are relative to the directory from which doxygen is
1117+# run.
1118+
1119+EXCLUDE =
1120+
1121+# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
1122+# directories that are symbolic links (a Unix file system feature) are excluded
1123+# from the input.
1124+
1125+EXCLUDE_SYMLINKS = NO
1126+
1127+# If the value of the INPUT tag contains directories, you can use the
1128+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
1129+# certain files from those directories. Note that the wildcards are matched
1130+# against the file with absolute path, so to exclude all test directories
1131+# for example use the pattern */test/*
1132+
1133+EXCLUDE_PATTERNS =
1134+
1135+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
1136+# (namespaces, classes, functions, etc.) that should be excluded from the
1137+# output. The symbol name can be a fully qualified name, a word, or if the
1138+# wildcard * is used, a substring. Examples: ANamespace, AClass,
1139+# AClass::ANamespace, ANamespace::*Test
1140+
1141+EXCLUDE_SYMBOLS =
1142+
1143+# The EXAMPLE_PATH tag can be used to specify one or more files or
1144+# directories that contain example code fragments that are included (see
1145+# the \include command).
1146+
1147+EXAMPLE_PATH =
1148+
1149+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
1150+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
1151+# and *.h) to filter out the source-files in the directories. If left
1152+# blank all files are included.
1153+
1154+EXAMPLE_PATTERNS =
1155+
1156+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
1157+# searched for input files to be used with the \include or \dontinclude
1158+# commands irrespective of the value of the RECURSIVE tag.
1159+# Possible values are YES and NO. If left blank NO is used.
1160+
1161+EXAMPLE_RECURSIVE = NO
1162+
1163+# The IMAGE_PATH tag can be used to specify one or more files or
1164+# directories that contain image that are included in the documentation (see
1165+# the \image command).
1166+
1167+IMAGE_PATH =
1168+
1169+# The INPUT_FILTER tag can be used to specify a program that doxygen should
1170+# invoke to filter for each input file. Doxygen will invoke the filter program
1171+# by executing (via popen()) the command <filter> <input-file>, where <filter>
1172+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
1173+# input file. Doxygen will then use the output that the filter program writes
1174+# to standard output.
1175+# If FILTER_PATTERNS is specified, this tag will be
1176+# ignored.
1177+
1178+INPUT_FILTER =
1179+
1180+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
1181+# basis.
1182+# Doxygen will compare the file name with each pattern and apply the
1183+# filter if there is a match.
1184+# The filters are a list of the form:
1185+# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
1186+# info on how filters are used. If FILTER_PATTERNS is empty or if
1187+# non of the patterns match the file name, INPUT_FILTER is applied.
1188+
1189+FILTER_PATTERNS =
1190+
1191+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
1192+# INPUT_FILTER) will be used to filter the input files when producing source
1193+# files to browse (i.e. when SOURCE_BROWSER is set to YES).
1194+
1195+FILTER_SOURCE_FILES = NO
1196+
1197+# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
1198+# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
1199+# and it is also possible to disable source filtering for a specific pattern
1200+# using *.ext= (so without naming a filter). This option only has effect when
1201+# FILTER_SOURCE_FILES is enabled.
1202+
1203+FILTER_SOURCE_PATTERNS =
1204+
1205+#---------------------------------------------------------------------------
1206+# configuration options related to source browsing
1207+#---------------------------------------------------------------------------
1208+
1209+# If the SOURCE_BROWSER tag is set to YES then a list of source files will
1210+# be generated. Documented entities will be cross-referenced with these sources.
1211+# Note: To get rid of all source code in the generated output, make sure also
1212+# VERBATIM_HEADERS is set to NO.
1213+
1214+SOURCE_BROWSER = NO
1215+
1216+# Setting the INLINE_SOURCES tag to YES will include the body
1217+# of functions and classes directly in the documentation.
1218+
1219+INLINE_SOURCES = NO
1220+
1221+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
1222+# doxygen to hide any special comment blocks from generated source code
1223+# fragments. Normal C and C++ comments will always remain visible.
1224+
1225+STRIP_CODE_COMMENTS = YES
1226+
1227+# If the REFERENCED_BY_RELATION tag is set to YES
1228+# then for each documented function all documented
1229+# functions referencing it will be listed.
1230+
1231+REFERENCED_BY_RELATION = NO
1232+
1233+# If the REFERENCES_RELATION tag is set to YES
1234+# then for each documented function all documented entities
1235+# called/used by that function will be listed.
1236+
1237+REFERENCES_RELATION = NO
1238+
1239+# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
1240+# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
1241+# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
1242+# link to the source code.
1243+# Otherwise they will link to the documentation.
1244+
1245+REFERENCES_LINK_SOURCE = YES
1246+
1247+# If the USE_HTAGS tag is set to YES then the references to source code
1248+# will point to the HTML generated by the htags(1) tool instead of doxygen
1249+# built-in source browser. The htags tool is part of GNU's global source
1250+# tagging system (see http://www.gnu.org/software/global/global.html). You
1251+# will need version 4.8.6 or higher.
1252+
1253+USE_HTAGS = NO
1254+
1255+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
1256+# will generate a verbatim copy of the header file for each class for
1257+# which an include is specified. Set to NO to disable this.
1258+
1259+VERBATIM_HEADERS = YES
1260+
1261+#---------------------------------------------------------------------------
1262+# configuration options related to the alphabetical class index
1263+#---------------------------------------------------------------------------
1264+
1265+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
1266+# of all compounds will be generated. Enable this if the project
1267+# contains a lot of classes, structs, unions or interfaces.
1268+
1269+ALPHABETICAL_INDEX = YES
1270+
1271+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
1272+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
1273+# in which this list will be split (can be a number in the range [1..20])
1274+
1275+COLS_IN_ALPHA_INDEX = 5
1276+
1277+# In case all classes in a project start with a common prefix, all
1278+# classes will be put under the same header in the alphabetical index.
1279+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
1280+# should be ignored while generating the index headers.
1281+
1282+IGNORE_PREFIX =
1283+
1284+#---------------------------------------------------------------------------
1285+# configuration options related to the HTML output
1286+#---------------------------------------------------------------------------
1287+
1288+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
1289+# generate HTML output.
1290+
1291+GENERATE_HTML = YES
1292+
1293+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
1294+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1295+# put in front of it. If left blank `html' will be used as the default path.
1296+
1297+HTML_OUTPUT = html
1298+
1299+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
1300+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
1301+# doxygen will generate files with .html extension.
1302+
1303+HTML_FILE_EXTENSION = .html
1304+
1305+# The HTML_HEADER tag can be used to specify a personal HTML header for
1306+# each generated HTML page. If it is left blank doxygen will generate a
1307+# standard header. Note that when using a custom header you are responsible
1308+# for the proper inclusion of any scripts and style sheets that doxygen
1309+# needs, which is dependent on the configuration options used.
1310+# It is advised to generate a default header using "doxygen -w html
1311+# header.html footer.html stylesheet.css YourConfigFile" and then modify
1312+# that header. Note that the header is subject to change so you typically
1313+# have to redo this when upgrading to a newer version of doxygen or when
1314+# changing the value of configuration settings such as GENERATE_TREEVIEW!
1315+
1316+HTML_HEADER =
1317+
1318+# The HTML_FOOTER tag can be used to specify a personal HTML footer for
1319+# each generated HTML page. If it is left blank doxygen will generate a
1320+# standard footer.
1321+
1322+HTML_FOOTER =
1323+
1324+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
1325+# style sheet that is used by each HTML page. It can be used to
1326+# fine-tune the look of the HTML output. If the tag is left blank doxygen
1327+# will generate a default style sheet. Note that doxygen will try to copy
1328+# the style sheet file to the HTML output directory, so don't put your own
1329+# style sheet in the HTML output directory as well, or it will be erased!
1330+
1331+HTML_STYLESHEET =
1332+
1333+# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
1334+# other source files which should be copied to the HTML output directory. Note
1335+# that these files will be copied to the base HTML output directory. Use the
1336+# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
1337+# files. In the HTML_STYLESHEET file, use the file name only. Also note that
1338+# the files will be copied as-is; there are no commands or markers available.
1339+
1340+HTML_EXTRA_FILES =
1341+
1342+# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output.
1343+# Doxygen will adjust the colors in the style sheet and background images
1344+# according to this color. Hue is specified as an angle on a colorwheel,
1345+# see http://en.wikipedia.org/wiki/Hue for more information.
1346+# For instance the value 0 represents red, 60 is yellow, 120 is green,
1347+# 180 is cyan, 240 is blue, 300 purple, and 360 is red again.
1348+# The allowed range is 0 to 359.
1349+
1350+HTML_COLORSTYLE_HUE = 220
1351+
1352+# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
1353+# the colors in the HTML output. For a value of 0 the output will use
1354+# grayscales only. A value of 255 will produce the most vivid colors.
1355+
1356+HTML_COLORSTYLE_SAT = 100
1357+
1358+# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
1359+# the luminance component of the colors in the HTML output. Values below
1360+# 100 gradually make the output lighter, whereas values above 100 make
1361+# the output darker. The value divided by 100 is the actual gamma applied,
1362+# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
1363+# and 100 does not change the gamma.
1364+
1365+HTML_COLORSTYLE_GAMMA = 80
1366+
1367+# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1368+# page will contain the date and time when the page was generated. Setting
1369+# this to NO can help when comparing the output of multiple runs.
1370+
1371+HTML_TIMESTAMP = YES
1372+
1373+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
1374+# files or namespaces will be aligned in HTML using tables. If set to
1375+# NO a bullet list will be used.
1376+
1377+HTML_ALIGN_MEMBERS = YES
1378+
1379+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
1380+# documentation will contain sections that can be hidden and shown after the
1381+# page has loaded. For this to work a browser that supports
1382+# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
1383+# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
1384+
1385+HTML_DYNAMIC_SECTIONS = NO
1386+
1387+# If the GENERATE_DOCSET tag is set to YES, additional index files
1388+# will be generated that can be used as input for Apple's Xcode 3
1389+# integrated development environment, introduced with OSX 10.5 (Leopard).
1390+# To create a documentation set, doxygen will generate a Makefile in the
1391+# HTML output directory. Running make will produce the docset in that
1392+# directory and running "make install" will install the docset in
1393+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
1394+# it at startup.
1395+# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1396+# for more information.
1397+
1398+GENERATE_DOCSET = NO
1399+
1400+# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
1401+# feed. A documentation feed provides an umbrella under which multiple
1402+# documentation sets from a single provider (such as a company or product suite)
1403+# can be grouped.
1404+
1405+DOCSET_FEEDNAME = "Doxygen generated docs"
1406+
1407+# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
1408+# should uniquely identify the documentation set bundle. This should be a
1409+# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
1410+# will append .docset to the name.
1411+
1412+DOCSET_BUNDLE_ID = org.doxygen.Project
1413+
1414+# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify
1415+# the documentation publisher. This should be a reverse domain-name style
1416+# string, e.g. com.mycompany.MyDocSet.documentation.
1417+
1418+DOCSET_PUBLISHER_ID = org.doxygen.Publisher
1419+
1420+# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher.
1421+
1422+DOCSET_PUBLISHER_NAME = Publisher
1423+
1424+# If the GENERATE_HTMLHELP tag is set to YES, additional index files
1425+# will be generated that can be used as input for tools like the
1426+# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
1427+# of the generated HTML documentation.
1428+
1429+GENERATE_HTMLHELP = NO
1430+
1431+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
1432+# be used to specify the file name of the resulting .chm file. You
1433+# can add a path in front of the file if the result should not be
1434+# written to the html output directory.
1435+
1436+CHM_FILE =
1437+
1438+# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
1439+# be used to specify the location (absolute path including file name) of
1440+# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
1441+# the HTML help compiler on the generated index.hhp.
1442+
1443+HHC_LOCATION =
1444+
1445+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
1446+# controls if a separate .chi index file is generated (YES) or that
1447+# it should be included in the master .chm file (NO).
1448+
1449+GENERATE_CHI = NO
1450+
1451+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
1452+# is used to encode HtmlHelp index (hhk), content (hhc) and project file
1453+# content.
1454+
1455+CHM_INDEX_ENCODING =
1456+
1457+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
1458+# controls whether a binary table of contents is generated (YES) or a
1459+# normal table of contents (NO) in the .chm file.
1460+
1461+BINARY_TOC = NO
1462+
1463+# The TOC_EXPAND flag can be set to YES to add extra items for group members
1464+# to the contents of the HTML help documentation and to the tree view.
1465+
1466+TOC_EXPAND = NO
1467+
1468+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
1469+# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated
1470+# that can be used as input for Qt's qhelpgenerator to generate a
1471+# Qt Compressed Help (.qch) of the generated HTML documentation.
1472+
1473+GENERATE_QHP = NO
1474+
1475+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
1476+# be used to specify the file name of the resulting .qch file.
1477+# The path specified is relative to the HTML output folder.
1478+
1479+QCH_FILE =
1480+
1481+# The QHP_NAMESPACE tag specifies the namespace to use when generating
1482+# Qt Help Project output. For more information please see
1483+# http://doc.trolltech.com/qthelpproject.html#namespace
1484+
1485+QHP_NAMESPACE = org.doxygen.Project
1486+
1487+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
1488+# Qt Help Project output. For more information please see
1489+# http://doc.trolltech.com/qthelpproject.html#virtual-folders
1490+
1491+QHP_VIRTUAL_FOLDER = doc
1492+
1493+# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to
1494+# add. For more information please see
1495+# http://doc.trolltech.com/qthelpproject.html#custom-filters
1496+
1497+QHP_CUST_FILTER_NAME =
1498+
1499+# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the
1500+# custom filter to add. For more information please see
1501+# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">
1502+# Qt Help Project / Custom Filters</a>.
1503+
1504+QHP_CUST_FILTER_ATTRS =
1505+
1506+# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
1507+# project's
1508+# filter section matches.
1509+# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">
1510+# Qt Help Project / Filter Attributes</a>.
1511+
1512+QHP_SECT_FILTER_ATTRS =
1513+
1514+# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
1515+# be used to specify the location of Qt's qhelpgenerator.
1516+# If non-empty doxygen will try to run qhelpgenerator on the generated
1517+# .qhp file.
1518+
1519+QHG_LOCATION =
1520+
1521+# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
1522+# will be generated, which together with the HTML files, form an Eclipse help
1523+# plugin. To install this plugin and make it available under the help contents
1524+# menu in Eclipse, the contents of the directory containing the HTML and XML
1525+# files needs to be copied into the plugins directory of eclipse. The name of
1526+# the directory within the plugins directory should be the same as
1527+# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before
1528+# the help appears.
1529+
1530+GENERATE_ECLIPSEHELP = NO
1531+
1532+# A unique identifier for the eclipse help plugin. When installing the plugin
1533+# the directory name containing the HTML and XML files should also have
1534+# this name.
1535+
1536+ECLIPSE_DOC_ID = org.doxygen.Project
1537+
1538+# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs)
1539+# at top of each HTML page. The value NO (the default) enables the index and
1540+# the value YES disables it. Since the tabs have the same information as the
1541+# navigation tree you can set this option to NO if you already set
1542+# GENERATE_TREEVIEW to YES.
1543+
1544+DISABLE_INDEX = NO
1545+
1546+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1547+# structure should be generated to display hierarchical information.
1548+# If the tag value is set to YES, a side panel will be generated
1549+# containing a tree-like index structure (just like the one that
1550+# is generated for HTML Help). For this to work a browser that supports
1551+# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
1552+# Windows users are probably better off using the HTML help feature.
1553+# Since the tree basically has the same information as the tab index you
1554+# could consider to set DISABLE_INDEX to NO when enabling this option.
1555+
1556+GENERATE_TREEVIEW = NO
1557+
1558+# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values
1559+# (range [0,1..20]) that doxygen will group on one line in the generated HTML
1560+# documentation. Note that a value of 0 will completely suppress the enum
1561+# values from appearing in the overview section.
1562+
1563+ENUM_VALUES_PER_LINE = 4
1564+
1565+# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
1566+# and Class Hierarchy pages using a tree view instead of an ordered list.
1567+
1568+USE_INLINE_TREES = NO
1569+
1570+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
1571+# used to set the initial width (in pixels) of the frame in which the tree
1572+# is shown.
1573+
1574+TREEVIEW_WIDTH = 250
1575+
1576+# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open
1577+# links to external symbols imported via tag files in a separate window.
1578+
1579+EXT_LINKS_IN_WINDOW = NO
1580+
1581+# Use this tag to change the font size of Latex formulas included
1582+# as images in the HTML documentation. The default is 10. Note that
1583+# when you change the font size after a successful doxygen run you need
1584+# to manually remove any form_*.png images from the HTML output directory
1585+# to force them to be regenerated.
1586+
1587+FORMULA_FONTSIZE = 10
1588+
1589+# Use the FORMULA_TRANPARENT tag to determine whether or not the images
1590+# generated for formulas are transparent PNGs. Transparent PNGs are
1591+# not supported properly for IE 6.0, but are supported on all modern browsers.
1592+# Note that when changing this option you need to delete any form_*.png files
1593+# in the HTML output before the changes have effect.
1594+
1595+FORMULA_TRANSPARENT = YES
1596+
1597+# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax
1598+# (see http://www.mathjax.org) which uses client side Javascript for the
1599+# rendering instead of using prerendered bitmaps. Use this if you do not
1600+# have LaTeX installed or if you want to formulas look prettier in the HTML
1601+# output. When enabled you may also need to install MathJax separately and
1602+# configure the path to it using the MATHJAX_RELPATH option.
1603+
1604+USE_MATHJAX = NO
1605+
1606+# When MathJax is enabled you need to specify the location relative to the
1607+# HTML output directory using the MATHJAX_RELPATH option. The destination
1608+# directory should contain the MathJax.js script. For instance, if the mathjax
1609+# directory is located at the same level as the HTML output directory, then
1610+# MATHJAX_RELPATH should be ../mathjax. The default value points to
1611+# the MathJax Content Delivery Network so you can quickly see the result without
1612+# installing MathJax.
1613+# However, it is strongly recommended to install a local
1614+# copy of MathJax from http://www.mathjax.org before deployment.
1615+
1616+MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
1617+
1618+# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
1619+# names that should be enabled during MathJax rendering.
1620+
1621+MATHJAX_EXTENSIONS =
1622+
1623+# When the SEARCHENGINE tag is enabled doxygen will generate a search box
1624+# for the HTML output. The underlying search engine uses javascript
1625+# and DHTML and should work on any modern browser. Note that when using
1626+# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets
1627+# (GENERATE_DOCSET) there is already a search function so this one should
1628+# typically be disabled. For large projects the javascript based search engine
1629+# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
1630+
1631+SEARCHENGINE = YES
1632+
1633+# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1634+# implemented using a PHP enabled web server instead of at the web client
1635+# using Javascript. Doxygen will generate the search PHP script and index
1636+# file to put on the web server. The advantage of the server
1637+# based approach is that it scales better to large projects and allows
1638+# full text search. The disadvantages are that it is more difficult to setup
1639+# and does not have live searching capabilities.
1640+
1641+SERVER_BASED_SEARCH = NO
1642+
1643+#---------------------------------------------------------------------------
1644+# configuration options related to the LaTeX output
1645+#---------------------------------------------------------------------------
1646+
1647+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
1648+# generate Latex output.
1649+
1650+GENERATE_LATEX = NO
1651+
1652+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
1653+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1654+# put in front of it. If left blank `latex' will be used as the default path.
1655+
1656+LATEX_OUTPUT = latex
1657+
1658+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1659+# invoked. If left blank `latex' will be used as the default command name.
1660+# Note that when enabling USE_PDFLATEX this option is only used for
1661+# generating bitmaps for formulas in the HTML output, but not in the
1662+# Makefile that is written to the output directory.
1663+
1664+LATEX_CMD_NAME = latex
1665+
1666+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
1667+# generate index for LaTeX. If left blank `makeindex' will be used as the
1668+# default command name.
1669+
1670+MAKEINDEX_CMD_NAME = makeindex
1671+
1672+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
1673+# LaTeX documents. This may be useful for small projects and may help to
1674+# save some trees in general.
1675+
1676+COMPACT_LATEX = NO
1677+
1678+# The PAPER_TYPE tag can be used to set the paper type that is used
1679+# by the printer. Possible values are: a4, letter, legal and
1680+# executive. If left blank a4wide will be used.
1681+
1682+PAPER_TYPE = a4
1683+
1684+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
1685+# packages that should be included in the LaTeX output.
1686+
1687+EXTRA_PACKAGES =
1688+
1689+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
1690+# the generated latex document. The header should contain everything until
1691+# the first chapter. If it is left blank doxygen will generate a
1692+# standard header. Notice: only use this tag if you know what you are doing!
1693+
1694+LATEX_HEADER =
1695+
1696+# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for
1697+# the generated latex document. The footer should contain everything after
1698+# the last chapter. If it is left blank doxygen will generate a
1699+# standard footer. Notice: only use this tag if you know what you are doing!
1700+
1701+LATEX_FOOTER =
1702+
1703+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
1704+# is prepared for conversion to pdf (using ps2pdf). The pdf file will
1705+# contain links (just like the HTML output) instead of page references
1706+# This makes the output suitable for online browsing using a pdf viewer.
1707+
1708+PDF_HYPERLINKS = YES
1709+
1710+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
1711+# plain latex in the generated Makefile. Set this option to YES to get a
1712+# higher quality PDF documentation.
1713+
1714+USE_PDFLATEX = YES
1715+
1716+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
1717+# command to the generated LaTeX files. This will instruct LaTeX to keep
1718+# running if errors occur, instead of asking the user for help.
1719+# This option is also used when generating formulas in HTML.
1720+
1721+LATEX_BATCHMODE = NO
1722+
1723+# If LATEX_HIDE_INDICES is set to YES then doxygen will not
1724+# include the index chapters (such as File Index, Compound Index, etc.)
1725+# in the output.
1726+
1727+LATEX_HIDE_INDICES = NO
1728+
1729+# If LATEX_SOURCE_CODE is set to YES then doxygen will include
1730+# source code with syntax highlighting in the LaTeX output.
1731+# Note that which sources are shown also depends on other settings
1732+# such as SOURCE_BROWSER.
1733+
1734+LATEX_SOURCE_CODE = NO
1735+
1736+# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
1737+# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See
1738+# http://en.wikipedia.org/wiki/BibTeX for more info.
1739+
1740+LATEX_BIB_STYLE = plain
1741+
1742+#---------------------------------------------------------------------------
1743+# configuration options related to the RTF output
1744+#---------------------------------------------------------------------------
1745+
1746+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
1747+# The RTF output is optimized for Word 97 and may not look very pretty with
1748+# other RTF readers or editors.
1749+
1750+GENERATE_RTF = NO
1751+
1752+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
1753+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1754+# put in front of it. If left blank `rtf' will be used as the default path.
1755+
1756+RTF_OUTPUT = rtf
1757+
1758+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
1759+# RTF documents. This may be useful for small projects and may help to
1760+# save some trees in general.
1761+
1762+COMPACT_RTF = NO
1763+
1764+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
1765+# will contain hyperlink fields. The RTF file will
1766+# contain links (just like the HTML output) instead of page references.
1767+# This makes the output suitable for online browsing using WORD or other
1768+# programs which support those fields.
1769+# Note: wordpad (write) and others do not support links.
1770+
1771+RTF_HYPERLINKS = NO
1772+
1773+# Load style sheet definitions from file. Syntax is similar to doxygen's
1774+# config file, i.e. a series of assignments. You only have to provide
1775+# replacements, missing definitions are set to their default value.
1776+
1777+RTF_STYLESHEET_FILE =
1778+
1779+# Set optional variables used in the generation of an rtf document.
1780+# Syntax is similar to doxygen's config file.
1781+
1782+RTF_EXTENSIONS_FILE =
1783+
1784+#---------------------------------------------------------------------------
1785+# configuration options related to the man page output
1786+#---------------------------------------------------------------------------
1787+
1788+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
1789+# generate man pages
1790+
1791+GENERATE_MAN = NO
1792+
1793+# The MAN_OUTPUT tag is used to specify where the man pages will be put.
1794+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1795+# put in front of it. If left blank `man' will be used as the default path.
1796+
1797+MAN_OUTPUT = man
1798+
1799+# The MAN_EXTENSION tag determines the extension that is added to
1800+# the generated man pages (default is the subroutine's section .3)
1801+
1802+MAN_EXTENSION = .3
1803+
1804+# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
1805+# then it will generate one additional man file for each entity
1806+# documented in the real man page(s). These additional files
1807+# only source the real man page, but without them the man command
1808+# would be unable to find the correct page. The default is NO.
1809+
1810+MAN_LINKS = NO
1811+
1812+#---------------------------------------------------------------------------
1813+# configuration options related to the XML output
1814+#---------------------------------------------------------------------------
1815+
1816+# If the GENERATE_XML tag is set to YES Doxygen will
1817+# generate an XML file that captures the structure of
1818+# the code including all documentation.
1819+
1820+GENERATE_XML = NO
1821+
1822+# The XML_OUTPUT tag is used to specify where the XML pages will be put.
1823+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
1824+# put in front of it. If left blank `xml' will be used as the default path.
1825+
1826+XML_OUTPUT = xml
1827+
1828+# The XML_SCHEMA tag can be used to specify an XML schema,
1829+# which can be used by a validating XML parser to check the
1830+# syntax of the XML files.
1831+
1832+XML_SCHEMA =
1833+
1834+# The XML_DTD tag can be used to specify an XML DTD,
1835+# which can be used by a validating XML parser to check the
1836+# syntax of the XML files.
1837+
1838+XML_DTD =
1839+
1840+# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
1841+# dump the program listings (including syntax highlighting
1842+# and cross-referencing information) to the XML output. Note that
1843+# enabling this will significantly increase the size of the XML output.
1844+
1845+XML_PROGRAMLISTING = YES
1846+
1847+#---------------------------------------------------------------------------
1848+# configuration options for the AutoGen Definitions output
1849+#---------------------------------------------------------------------------
1850+
1851+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
1852+# generate an AutoGen Definitions (see autogen.sf.net) file
1853+# that captures the structure of the code including all
1854+# documentation. Note that this feature is still experimental
1855+# and incomplete at the moment.
1856+
1857+GENERATE_AUTOGEN_DEF = NO
1858+
1859+#---------------------------------------------------------------------------
1860+# configuration options related to the Perl module output
1861+#---------------------------------------------------------------------------
1862+
1863+# If the GENERATE_PERLMOD tag is set to YES Doxygen will
1864+# generate a Perl module file that captures the structure of
1865+# the code including all documentation. Note that this
1866+# feature is still experimental and incomplete at the
1867+# moment.
1868+
1869+GENERATE_PERLMOD = NO
1870+
1871+# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
1872+# the necessary Makefile rules, Perl scripts and LaTeX code to be able
1873+# to generate PDF and DVI output from the Perl module output.
1874+
1875+PERLMOD_LATEX = NO
1876+
1877+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
1878+# nicely formatted so it can be parsed by a human reader.
1879+# This is useful
1880+# if you want to understand what is going on.
1881+# On the other hand, if this
1882+# tag is set to NO the size of the Perl module output will be much smaller
1883+# and Perl will parse it just the same.
1884+
1885+PERLMOD_PRETTY = YES
1886+
1887+# The names of the make variables in the generated doxyrules.make file
1888+# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
1889+# This is useful so different doxyrules.make files included by the same
1890+# Makefile don't overwrite each other's variables.
1891+
1892+PERLMOD_MAKEVAR_PREFIX =
1893+
1894+#---------------------------------------------------------------------------
1895+# Configuration options related to the preprocessor
1896+#---------------------------------------------------------------------------
1897+
1898+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
1899+# evaluate all C-preprocessor directives found in the sources and include
1900+# files.
1901+
1902+ENABLE_PREPROCESSING = YES
1903+
1904+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
1905+# names in the source code. If set to NO (the default) only conditional
1906+# compilation will be performed. Macro expansion can be done in a controlled
1907+# way by setting EXPAND_ONLY_PREDEF to YES.
1908+
1909+MACRO_EXPANSION = NO
1910+
1911+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
1912+# then the macro expansion is limited to the macros specified with the
1913+# PREDEFINED and EXPAND_AS_DEFINED tags.
1914+
1915+EXPAND_ONLY_PREDEF = NO
1916+
1917+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
1918+# pointed to by INCLUDE_PATH will be searched when a #include is found.
1919+
1920+SEARCH_INCLUDES = YES
1921+
1922+# The INCLUDE_PATH tag can be used to specify one or more directories that
1923+# contain include files that are not input files but should be processed by
1924+# the preprocessor.
1925+
1926+INCLUDE_PATH =
1927+
1928+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
1929+# patterns (like *.h and *.hpp) to filter out the header-files in the
1930+# directories. If left blank, the patterns specified with FILE_PATTERNS will
1931+# be used.
1932+
1933+INCLUDE_FILE_PATTERNS =
1934+
1935+# The PREDEFINED tag can be used to specify one or more macro names that
1936+# are defined before the preprocessor is started (similar to the -D option of
1937+# gcc). The argument of the tag is a list of macros of the form: name
1938+# or name=definition (no spaces). If the definition and the = are
1939+# omitted =1 is assumed. To prevent a macro definition from being
1940+# undefined via #undef or recursively expanded use the := operator
1941+# instead of the = operator.
1942+
1943+PREDEFINED =
1944+
1945+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
1946+# this tag can be used to specify a list of macro names that should be expanded.
1947+# The macro definition that is found in the sources will be used.
1948+# Use the PREDEFINED tag if you want to use a different macro definition that
1949+# overrules the definition found in the source code.
1950+
1951+EXPAND_AS_DEFINED =
1952+
1953+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
1954+# doxygen's preprocessor will remove all references to function-like macros
1955+# that are alone on a line, have an all uppercase name, and do not end with a
1956+# semicolon, because these will confuse the parser if not removed.
1957+
1958+SKIP_FUNCTION_MACROS = YES
1959+
1960+#---------------------------------------------------------------------------
1961+# Configuration::additions related to external references
1962+#---------------------------------------------------------------------------
1963+
1964+# The TAGFILES option can be used to specify one or more tagfiles. For each
1965+# tag file the location of the external documentation should be added. The
1966+# format of a tag file without this location is as follows:
1967+#
1968+# TAGFILES = file1 file2 ...
1969+# Adding location for the tag files is done as follows:
1970+#
1971+# TAGFILES = file1=loc1 "file2 = loc2" ...
1972+# where "loc1" and "loc2" can be relative or absolute paths
1973+# or URLs. Note that each tag file must have a unique name (where the name does
1974+# NOT include the path). If a tag file is not located in the directory in which
1975+# doxygen is run, you must also specify the path to the tagfile here.
1976+
1977+TAGFILES =
1978+
1979+# When a file name is specified after GENERATE_TAGFILE, doxygen will create
1980+# a tag file that is based on the input files it reads.
1981+
1982+GENERATE_TAGFILE =
1983+
1984+# If the ALLEXTERNALS tag is set to YES all external classes will be listed
1985+# in the class index. If set to NO only the inherited external classes
1986+# will be listed.
1987+
1988+ALLEXTERNALS = NO
1989+
1990+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
1991+# in the modules index. If set to NO, only the current project's groups will
1992+# be listed.
1993+
1994+EXTERNAL_GROUPS = YES
1995+
1996+# The PERL_PATH should be the absolute path and name of the perl script
1997+# interpreter (i.e. the result of `which perl').
1998+
1999+PERL_PATH = /usr/bin/perl
2000+
2001+#---------------------------------------------------------------------------
2002+# Configuration options related to the dot tool
2003+#---------------------------------------------------------------------------
2004+
2005+# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
2006+# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
2007+# or super classes. Setting the tag to NO turns the diagrams off. Note that
2008+# this option also works with HAVE_DOT disabled, but it is recommended to
2009+# install and use dot, since it yields more powerful graphs.
2010+
2011+CLASS_DIAGRAMS = YES
2012+
2013+# You can define message sequence charts within doxygen comments using the \msc
2014+# command. Doxygen will then run the mscgen tool (see
2015+# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
2016+# documentation. The MSCGEN_PATH tag allows you to specify the directory where
2017+# the mscgen tool resides. If left empty the tool is assumed to be found in the
2018+# default search path.
2019+
2020+MSCGEN_PATH =
2021+
2022+# If set to YES, the inheritance and collaboration graphs will hide
2023+# inheritance and usage relations if the target is undocumented
2024+# or is not a class.
2025+
2026+HIDE_UNDOC_RELATIONS = YES
2027+
2028+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
2029+# available from the path. This tool is part of Graphviz, a graph visualization
2030+# toolkit from AT&T and Lucent Bell Labs. The other options in this section
2031+# have no effect if this option is set to NO (the default)
2032+
2033+HAVE_DOT = NO
2034+
2035+# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
2036+# allowed to run in parallel. When set to 0 (the default) doxygen will
2037+# base this on the number of processors available in the system. You can set it
2038+# explicitly to a value larger than 0 to get control over the balance
2039+# between CPU load and processing speed.
2040+
2041+DOT_NUM_THREADS = 0
2042+
2043+# By default doxygen will use the Helvetica font for all dot files that
2044+# doxygen generates. When you want a differently looking font you can specify
2045+# the font name using DOT_FONTNAME. You need to make sure dot is able to find
2046+# the font, which can be done by putting it in a standard location or by setting
2047+# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the
2048+# directory containing the font.
2049+
2050+DOT_FONTNAME = Helvetica
2051+
2052+# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
2053+# The default size is 10pt.
2054+
2055+DOT_FONTSIZE = 10
2056+
2057+# By default doxygen will tell dot to use the Helvetica font.
2058+# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to
2059+# set the path where dot can find it.
2060+
2061+DOT_FONTPATH =
2062+
2063+# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
2064+# will generate a graph for each documented class showing the direct and
2065+# indirect inheritance relations. Setting this tag to YES will force the
2066+# CLASS_DIAGRAMS tag to NO.
2067+
2068+CLASS_GRAPH = YES
2069+
2070+# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
2071+# will generate a graph for each documented class showing the direct and
2072+# indirect implementation dependencies (inheritance, containment, and
2073+# class references variables) of the class with other documented classes.
2074+
2075+COLLABORATION_GRAPH = YES
2076+
2077+# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
2078+# will generate a graph for groups, showing the direct groups dependencies
2079+
2080+GROUP_GRAPHS = YES
2081+
2082+# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
2083+# collaboration diagrams in a style similar to the OMG's Unified Modeling
2084+# Language.
2085+
2086+UML_LOOK = NO
2087+
2088+# If the UML_LOOK tag is enabled, the fields and methods are shown inside
2089+# the class node. If there are many fields or methods and many nodes the
2090+# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS
2091+# threshold limits the number of items for each type to make the size more
2092+# managable. Set this to 0 for no limit. Note that the threshold may be
2093+# exceeded by 50% before the limit is enforced.
2094+
2095+UML_LIMIT_NUM_FIELDS = 10
2096+
2097+# If set to YES, the inheritance and collaboration graphs will show the
2098+# relations between templates and their instances.
2099+
2100+TEMPLATE_RELATIONS = NO
2101+
2102+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
2103+# tags are set to YES then doxygen will generate a graph for each documented
2104+# file showing the direct and indirect include dependencies of the file with
2105+# other documented files.
2106+
2107+INCLUDE_GRAPH = YES
2108+
2109+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
2110+# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
2111+# documented header file showing the documented files that directly or
2112+# indirectly include this file.
2113+
2114+INCLUDED_BY_GRAPH = YES
2115+
2116+# If the CALL_GRAPH and HAVE_DOT options are set to YES then
2117+# doxygen will generate a call dependency graph for every global function
2118+# or class method. Note that enabling this option will significantly increase
2119+# the time of a run. So in most cases it will be better to enable call graphs
2120+# for selected functions only using the \callgraph command.
2121+
2122+CALL_GRAPH = NO
2123+
2124+# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
2125+# doxygen will generate a caller dependency graph for every global function
2126+# or class method. Note that enabling this option will significantly increase
2127+# the time of a run. So in most cases it will be better to enable caller
2128+# graphs for selected functions only using the \callergraph command.
2129+
2130+CALLER_GRAPH = NO
2131+
2132+# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
2133+# will generate a graphical hierarchy of all classes instead of a textual one.
2134+
2135+GRAPHICAL_HIERARCHY = YES
2136+
2137+# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
2138+# then doxygen will show the dependencies a directory has on other directories
2139+# in a graphical way. The dependency relations are determined by the #include
2140+# relations between the files in the directories.
2141+
2142+DIRECTORY_GRAPH = YES
2143+
2144+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
2145+# generated by dot. Possible values are svg, png, jpg, or gif.
2146+# If left blank png will be used. If you choose svg you need to set
2147+# HTML_FILE_EXTENSION to xhtml in order to make the SVG files
2148+# visible in IE 9+ (other browsers do not have this requirement).
2149+
2150+DOT_IMAGE_FORMAT = png
2151+
2152+# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
2153+# enable generation of interactive SVG images that allow zooming and panning.
2154+# Note that this requires a modern browser other than Internet Explorer.
2155+# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you
2156+# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files
2157+# visible. Older versions of IE do not have SVG support.
2158+
2159+INTERACTIVE_SVG = NO
2160+
2161+# The tag DOT_PATH can be used to specify the path where the dot tool can be
2162+# found. If left blank, it is assumed the dot tool can be found in the path.
2163+
2164+DOT_PATH =
2165+
2166+# The DOTFILE_DIRS tag can be used to specify one or more directories that
2167+# contain dot files that are included in the documentation (see the
2168+# \dotfile command).
2169+
2170+DOTFILE_DIRS =
2171+
2172+# The MSCFILE_DIRS tag can be used to specify one or more directories that
2173+# contain msc files that are included in the documentation (see the
2174+# \mscfile command).
2175+
2176+MSCFILE_DIRS =
2177+
2178+# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
2179+# nodes that will be shown in the graph. If the number of nodes in a graph
2180+# becomes larger than this value, doxygen will truncate the graph, which is
2181+# visualized by representing a node as a red box. Note that doxygen if the
2182+# number of direct children of the root node in a graph is already larger than
2183+# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
2184+# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
2185+
2186+DOT_GRAPH_MAX_NODES = 50
2187+
2188+# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
2189+# graphs generated by dot. A depth value of 3 means that only nodes reachable
2190+# from the root by following a path via at most 3 edges will be shown. Nodes
2191+# that lay further from the root node will be omitted. Note that setting this
2192+# option to 1 or 2 may greatly reduce the computation time needed for large
2193+# code bases. Also note that the size of a graph can be further restricted by
2194+# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
2195+
2196+MAX_DOT_GRAPH_DEPTH = 0
2197+
2198+# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
2199+# background. This is disabled by default, because dot on Windows does not
2200+# seem to support this out of the box. Warning: Depending on the platform used,
2201+# enabling this option may lead to badly anti-aliased labels on the edges of
2202+# a graph (i.e. they become hard to read).
2203+
2204+DOT_TRANSPARENT = NO
2205+
2206+# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
2207+# files in one run (i.e. multiple -o and -T options on the command line). This
2208+# makes dot run faster, but since only newer versions of dot (>1.8.10)
2209+# support this, this feature is disabled by default.
2210+
2211+DOT_MULTI_TARGETS = NO
2212+
2213+# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
2214+# generate a legend page explaining the meaning of the various boxes and
2215+# arrows in the dot generated graphs.
2216+
2217+GENERATE_LEGEND = YES
2218+
2219+# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
2220+# remove the intermediate dot files that are used to generate
2221+# the various graphs.
2222+
2223+DOT_CLEANUP = YES
2224
2225=== added directory 'plugins/Novae/resources'
2226=== added file 'plugins/Novae/resources/Novae.qrc'
2227--- plugins/Novae/resources/Novae.qrc 1970-01-01 00:00:00 +0000
2228+++ plugins/Novae/resources/Novae.qrc 2013-08-24 18:42:27 +0000
2229@@ -0,0 +1,5 @@
2230+<RCC>
2231+ <qresource prefix="/Novae">
2232+ <file>novae.json</file>
2233+ </qresource>
2234+</RCC>
2235
2236=== added file 'plugins/Novae/resources/novae.json'
2237--- plugins/Novae/resources/novae.json 1970-01-01 00:00:00 +0000
2238+++ plugins/Novae/resources/novae.json 2013-08-24 18:42:27 +0000
2239@@ -0,0 +1,563 @@
2240+{
2241+ "version": "1",
2242+ "shortName": "List of bright novae in the Milky Way galaxy",
2243+ "nova":
2244+ {
2245+ "T Aur":
2246+ {
2247+ "name": "Nova Aurigae 1892",
2248+ "type": "NB+EA",
2249+ "maxMagnitude": 4.1,
2250+ "minMagnitude": 15.5,
2251+ "peakJD": 2412088,
2252+ "m2": 80,
2253+ "m3": 84,
2254+ "m6": 96,
2255+ "m9": 6300,
2256+ "RA": "05h31m59.1s",
2257+ "Dec": "30d26m46s"
2258+ },
2259+ "V1059 Sgr":
2260+ {
2261+ "name": "Nova Sagittarii 1898",
2262+ "type": "NA",
2263+ "maxMagnitude": 4.5,
2264+ "minMagnitude": 16.5,
2265+ "peakJD": 2414360,
2266+ "RA": "19h01m50.6s",
2267+ "Dec": "13d09m42s"
2268+ },
2269+ "V0606 Aql":
2270+ {
2271+ "name": "Nova Aquilae 1899",
2272+ "type": "NA",
2273+ "maxMagnitude": 5.5,
2274+ "minMagnitude": 17.3,
2275+ "peakJD": 2414754,
2276+ "RA": "19h20m24.3s",
2277+ "Dec": "-00d08m02s"
2278+ },
2279+ "GK Per":
2280+ {
2281+ "name": "Nova Persei 1901",
2282+ "type": "NA+XP",
2283+ "distance": 1.5,
2284+ "maxMagnitude": 0.2,
2285+ "minMagnitude": 14,
2286+ "peakJD": 2415439,
2287+ "m2": 6,
2288+ "m3": 13,
2289+ "m6": 179,
2290+ "m9": 444,
2291+ "RA": "03h31m12s",
2292+ "Dec": "43d54m15s"
2293+ },
2294+ "DM Gem":
2295+ {
2296+ "name": "Nova Geminorum 1903",
2297+ "type": "NA",
2298+ "maxMagnitude": 4.8,
2299+ "minMagnitude": 16.5,
2300+ "peakJD": 2416179,
2301+ "RA": "06h44m12.1s",
2302+ "Dec": "29d56m42s"
2303+ },
2304+ "V0604 Aql":
2305+ {
2306+ "name": "Nova Aquilae 1905",
2307+ "type": "NA",
2308+ "maxMagnitude": 7.6,
2309+ "minMagnitude": 18,
2310+ "peakJD": 2417072,
2311+ "RA": "19h02m06.2s",
2312+ "Dec": "-04d26m45s"
2313+ },
2314+ "DI Lac":
2315+ {
2316+ "name": "Nova Lacertae 1910",
2317+ "type": "NA",
2318+ "maxMagnitude": 4.3,
2319+ "minMagnitude": 14.91,
2320+ "peakJD": 2419000.5,
2321+ "RA": "22h35m48.6s",
2322+ "Dec": "52d43m00s"
2323+ },
2324+ "V0603 Aql":
2325+ {
2326+ "name": "Nova Aquilae 1918",
2327+ "type": "NA+E+X",
2328+ "maxMagnitude": -1.4,
2329+ "minMagnitude": 12.03,
2330+ "peakJD": 2421755,
2331+ "m2": 5,
2332+ "m3": 12,
2333+ "m6": 149,
2334+ "m9": 743,
2335+ "RA": "18h48m54.6s",
2336+ "Dec": "00d35m03s"
2337+ },
2338+ "HR Lyr":
2339+ {
2340+ "name": "Nova Lyrae 1919",
2341+ "type": "NA",
2342+ "maxMagnitude": 6.5,
2343+ "minMagnitude": 15.8,
2344+ "peakJD": 2422299,
2345+ "RA": "18h53m24.9s",
2346+ "Dec": "29d13m38s"
2347+ },
2348+ "V0849 Oph":
2349+ {
2350+ "name": "Nova Ophiuchi 1919",
2351+ "type": "NB",
2352+ "maxMagnitude": 7.2,
2353+ "minMagnitude": 17.5,
2354+ "peakJD": 2422268,
2355+ "m2": 140,
2356+ "m3": 270,
2357+ "m6": 2010,
2358+ "RA": "18h14m07.3s",
2359+ "Dec": "11d36m43s"
2360+ },
2361+ "V0476 Cyg":
2362+ {
2363+ "name": "Nova Cygni 1920",
2364+ "type": "NA",
2365+ "maxMagnitude": 2.0,
2366+ "minMagnitude": 17.09,
2367+ "peakJD": 2422561,
2368+ "m2": 6,
2369+ "m3": 16,
2370+ "m6": 43,
2371+ "m9": 1076,
2372+ "RA": "19h58m24.5s",
2373+ "Dec": "53d37m07s"
2374+ },
2375+ "RR Pic":
2376+ {
2377+ "name": "Nova Pictoris 1925",
2378+ "type": "NB",
2379+ "maxMagnitude": 1.2,
2380+ "minMagnitude": 12.52,
2381+ "peakJD": 2424310,
2382+ "m2": 73,
2383+ "m3": 122,
2384+ "m6": 1008,
2385+ "m9": 5805,
2386+ "RA": "06h35m36.1s",
2387+ "Dec": "-62d38m24s"
2388+ },
2389+ "EL Aql":
2390+ {
2391+ "name": "Nova Aquilae 1927",
2392+ "type": "NA",
2393+ "maxMagnitude": 5.5,
2394+ "minMagnitude": 19,
2395+ "peakJD": 2425043,
2396+ "RA": "18h56m02s",
2397+ "Dec": "-03d19m20s"
2398+ },
2399+ "XX Tau":
2400+ {
2401+ "name": "Nova Tauri 1927",
2402+ "type": "NA",
2403+ "maxMagnitude": 6,
2404+ "minMagnitude": 16.5,
2405+ "peakJD": 2425154,
2406+ "RA": "05h19m24.4s",
2407+ "Dec": "16d43m00s"
2408+ },
2409+ "DQ Her":
2410+ {
2411+ "name": "Nova Herculis 1934",
2412+ "type": "NB+EA",
2413+ "maxMagnitude": 1.3,
2414+ "minMagnitude": 18.08,
2415+ "peakJD": 2427794,
2416+ "m2": 76,
2417+ "m3": 100,
2418+ "m6": 645,
2419+ "m9": 2010,
2420+ "distance": 0.3162,
2421+ "RA": "18h07m30.2s",
2422+ "Dec": "45d51m32s"
2423+ },
2424+ "CP Lac":
2425+ {
2426+ "name": "Nova Lacertae 1936",
2427+ "type": "NA",
2428+ "maxMagnitude": 2.1,
2429+ "minMagnitude": 16.6,
2430+ "peakJD": 2428340,
2431+ "m2": 5,
2432+ "m3": 9,
2433+ "m6": 78,
2434+ "m9": 436,
2435+ "RA": "22h15m41.1s",
2436+ "Dec": "55d37m02s"
2437+ },
2438+ "V0368 Aql":
2439+ {
2440+ "name": "Nova Aquilae 1936",
2441+ "type": "NA",
2442+ "maxMagnitude": 5,
2443+ "minMagnitude": 15.7,
2444+ "peakJD": 2428438.4,
2445+ "RA": "19h26m34.4s",
2446+ "Dec": "07d36m14s"
2447+ },
2448+ "BT Mon":
2449+ {
2450+ "name": "Nova Monocerotis 1939",
2451+ "type": "NA+EA",
2452+ "maxMagnitude": 4,
2453+ "minMagnitude": 18.7,
2454+ "peakJD": 2429503,
2455+ "m2": 118,
2456+ "m3": 182,
2457+ "m6": 610,
2458+ "RA": "06h43m47.2s",
2459+ "Dec": "-02d01m13s"
2460+ },
2461+ "V0450 Cyg":
2462+ {
2463+ "name": "Nova Cygni 1942",
2464+ "type": "NB",
2465+ "maxMagnitude": 7,
2466+ "minMagnitude": 17,
2467+ "peakJD": 2430510,
2468+ "RA": "20h58m47.6s",
2469+ "Dec": "35d56m30s"
2470+ },
2471+ "CP Pup":
2472+ {
2473+ "name": "Nova Puppis 1942",
2474+ "type": "NA",
2475+ "maxMagnitude": 0.5,
2476+ "minMagnitude": 17,
2477+ "peakJD": 2430675,
2478+ "m2": 4,
2479+ "m3": 8,
2480+ "m6": 114,
2481+ "m9": 748,
2482+ "distance": 3.72,
2483+ "RA": "08h11m46.1s",
2484+ "Dec": "35d21m05s"
2485+ },
2486+ "V0500 Aql":
2487+ {
2488+ "name": "Nova Aquilae 1943",
2489+ "type": "NA",
2490+ "maxMagnitude": 6.1,
2491+ "minMagnitude": 17.8,
2492+ "peakJD": 2430845,
2493+ "RA": "19h52m28s",
2494+ "Dec": "08d28m47s"
2495+ },
2496+ "V0528 Aql":
2497+ {
2498+ "name": "Nova Aquilae 1945",
2499+ "type": "NA",
2500+ "maxMagnitude": 7.2,
2501+ "minMagnitude": 18.1,
2502+ "peakJD": 2431695,
2503+ "m2": 16,
2504+ "m3": 38,
2505+ "m6": 119,
2506+ "RA": "19h19m19.1s",
2507+ "Dec": "00d37m53s"
2508+ },
2509+ "CT Ser":
2510+ {
2511+ "name": "Nova Serpentis 1948",
2512+ "type": "NA",
2513+ "maxMagnitude": 6,
2514+ "minMagnitude": 16.6,
2515+ "peakJD": 2432600,
2516+ "RA": "15h45m39.1s",
2517+ "Dec": "14d22m32s"
2518+ },
2519+ "V0465 Cyg":
2520+ {
2521+ "name": "Nova Cygni 1948",
2522+ "type": "NB",
2523+ "maxMagnitude": 7.3,
2524+ "minMagnitude": 17.9,
2525+ "peakJD": 2432704,
2526+ "RA": "19h52m37.9s",
2527+ "Dec": "36d33m52s"
2528+ },
2529+ "DK Lac":
2530+ {
2531+ "name": "Nova Lacertae 1950",
2532+ "type": "NA",
2533+ "maxMagnitude": 5,
2534+ "minMagnitude": 15.5,
2535+ "peakJD": 2433304,
2536+ "m2": 55,
2537+ "m3": 202,
2538+ "m6": 488,
2539+ "RA": "22h49m47s",
2540+ "Dec": "53d17m20s"
2541+ },
2542+ "RW UMi":
2543+ {
2544+ "name": "Nova Ursae Minoris 1956",
2545+ "type": "NA",
2546+ "maxMagnitude": 6,
2547+ "minMagnitude": 21,
2548+ "peakJD": 2435741,
2549+ "RA": "16h47m54.8s",
2550+ "Dec": "77d02m12s"
2551+ },
2552+ "V0446 Her":
2553+ {
2554+ "name": "Nova Herculis 1960",
2555+ "type": "NA",
2556+ "maxMagnitude": 2.8,
2557+ "minMagnitude": 18.8,
2558+ "peakJD": 2436997,
2559+ "m2": 20,
2560+ "m3": 42,
2561+ "m6": 197,
2562+ "m9": 997,
2563+ "RA": "18h57m21.6s",
2564+ "Dec": "13d14m29s"
2565+ },
2566+ "V0533 Her":
2567+ {
2568+ "name": "Nova Herculis 1963",
2569+ "type": "NA",
2570+ "maxMagnitude": 3,
2571+ "minMagnitude": 16.2,
2572+ "peakJD": 2438060,
2573+ "m2": 30,
2574+ "m3": 43,
2575+ "m6": 238,
2576+ "m9": 688,
2577+ "RA": "18h14m20.5s",
2578+ "Dec": "41d51m23s"
2579+ },
2580+ "QZ Aur":
2581+ {
2582+ "name": "Nova Aurigae 1964",
2583+ "type": "NA+E",
2584+ "maxMagnitude": 6,
2585+ "minMagnitude": 18,
2586+ "peakJD": 2438440,
2587+ "RA": "05h28m34.1s",
2588+ "Dec": "33d18m22s"
2589+ },
2590+ "HR Del":
2591+ {
2592+ "name": "Nova Delphini 1967",
2593+ "type": "NB",
2594+ "maxMagnitude": 3.7,
2595+ "minMagnitude": 12.4,
2596+ "peakJD": 2439838,
2597+ "m2": 167,
2598+ "m3": 231,
2599+ "m6": 1387,
2600+ "RA": "20h42m20.4s",
2601+ "Dec": "19d09m39s"
2602+ },
2603+ "LV Vul":
2604+ {
2605+ "name": "Nova Vulpeculae 1968",
2606+ "type": "NA",
2607+ "maxMagnitude": 5.17,
2608+ "minMagnitude": 16.9,
2609+ "peakJD": 2439964,
2610+ "m2": 20,
2611+ "m3": 38,
2612+ "m6": 280,
2613+ "m9": 784,
2614+ "RA": "19h48m00.7s",
2615+ "Dec": "27d10m20s"
2616+ },
2617+ "FH Ser":
2618+ {
2619+ "name": "Nova Serpentis 1970",
2620+ "type": "NA",
2621+ "maxMagnitude": 4.39,
2622+ "minMagnitude": 16,
2623+ "peakJD": 2440636,
2624+ "m2": 49,
2625+ "m3": 62,
2626+ "m6": 410,
2627+ "m9": 1666,
2628+ "RA": "18h30m47s",
2629+ "Dec": "02d36m52s"
2630+ },
2631+ "V1229 Aql":
2632+ {
2633+ "name": "Nova Aquilae 1970",
2634+ "type": "NA",
2635+ "maxMagnitude": 6.7,
2636+ "minMagnitude": 18,
2637+ "peakJD": 2440687,
2638+ "m2": 18,
2639+ "m3": 32,
2640+ "m6": 56,
2641+ "RA": "19h24m44.6s",
2642+ "Dec": "04d14m48s"
2643+ },
2644+ "V1330 Cyg":
2645+ {
2646+ "name": "Nova Cygni 1970",
2647+ "type": "NA",
2648+ "maxMagnitude": 7.5,
2649+ "minMagnitude": 18.1,
2650+ "peakJD": 2440722,
2651+ "m2": 161,
2652+ "m3": 217,
2653+ "RA": "20h52m44.8s",
2654+ "Dec": "35d59m28s"
2655+ },
2656+ "IV Cep":
2657+ {
2658+ "name": "Nova Cephei 1971",
2659+ "type": "NA",
2660+ "maxMagnitude": 7,
2661+ "minMagnitude": 19.3,
2662+ "peakJD": 2441139,
2663+ "RA": "22h04m37s",
2664+ "Dec": "53d30m24s"
2665+ },
2666+ "V0373 Sct":
2667+ {
2668+ "name": "Nova Scuti 1975",
2669+ "type": "NA",
2670+ "maxMagnitude": 6,
2671+ "minMagnitude": 18.5,
2672+ "peakJD": 2442541,
2673+ "m2": 47,
2674+ "m3": 79,
2675+ "m6": 237,
2676+ "m9": 700,
2677+ "RA": "18h55m26.8s",
2678+ "Dec": "-07d43m05s"
2679+ },
2680+ "V1500 Cyg":
2681+ {
2682+ "name": "Nova Cygni 1975",
2683+ "type": "NA",
2684+ "maxMagnitude": 1.69,
2685+ "minMagnitude": 21,
2686+ "peakJD": 2442655,
2687+ "m2": 2,
2688+ "m3": 4,
2689+ "m6": 32,
2690+ "m9": 263,
2691+ "RA": "21h11m36.6s",
2692+ "Dec": "48d09m02s"
2693+ },
2694+ "NQ Vul":
2695+ {
2696+ "name": "Nova Vulpeculae 1976",
2697+ "type": "NB",
2698+ "maxMagnitude": 6.01,
2699+ "minMagnitude": 18,
2700+ "peakJD": 2443085,
2701+ "RA": "19h29m14.8s",
2702+ "Dec": "20d28m00s"
2703+ },
2704+ "HS Sge":
2705+ {
2706+ "name": "Nova Sagittae 1977",
2707+ "type": "NA",
2708+ "maxMagnitude": 7.2,
2709+ "minMagnitude": 20,
2710+ "peakJD": 2443151,
2711+ "m2": 15,
2712+ "m3": 21,
2713+ "m6": 537,
2714+ "RA": "19h39m22.1s",
2715+ "Dec": "18d07m55s"
2716+ },
2717+ "V1668 Cyg":
2718+ {
2719+ "name": "Nova Cygni 1978",
2720+ "type": "NA",
2721+ "maxMagnitude": 6,
2722+ "minMagnitude": 20,
2723+ "peakJD": 2443764,
2724+ "m2": 11,
2725+ "m3": 26,
2726+ "m6": 219,
2727+ "m9": 948,
2728+ "RA": "21h42m35.3s",
2729+ "Dec": "44d01m55s"
2730+ },
2731+ "V1370 Aql":
2732+ {
2733+ "name": "Nova Cygni 1978",
2734+ "type": "NA",
2735+ "maxMagnitude": 6,
2736+ "minMagnitude": 20,
2737+ "peakJD": 2443764,
2738+ "m2": 15,
2739+ "m3": 28,
2740+ "m6": 199,
2741+ "RA": "21h42m35.3s",
2742+ "Dec": "44d01m55s"
2743+ },
2744+ "OS And":
2745+ {
2746+ "name": "Nova Andromedae 1986",
2747+ "type": "NA",
2748+ "maxMagnitude": 6.3,
2749+ "minMagnitude": 18,
2750+ "peakJD": 2446772,
2751+ "m2": 11,
2752+ "m3": 23,
2753+ "m6": 199,
2754+ "m9": 770,
2755+ "RA": "23h12m06s",
2756+ "Dec": "47d28m20s"
2757+ },
2758+ "V0445 Pup":
2759+ {
2760+ "name": "Nova Puppis 2000",
2761+ "type": "NC:",
2762+ "maxMagnitude": 8.6,
2763+ "minMagnitude": 14,
2764+ "peakJD": 2451869,
2765+ "m2": 215,
2766+ "m3": 240,
2767+ "RA": "07h37m56.9s",
2768+ "Dec": "-25d56m59s"
2769+ },
2770+ "V1280 Sco":
2771+ {
2772+ "name": "Nova Scorpii 2007",
2773+ "type": "NA",
2774+ "maxMagnitude": 3.8,
2775+ "minMagnitude": 20,
2776+ "peakJD": 2454148,
2777+ "RA": "16h57m41.2s",
2778+ "Dec": "-32d20m36s"
2779+ },
2780+ "KT Eri":
2781+ {
2782+ "name": "Nova Eridani 2009",
2783+ "type": "NA",
2784+ "maxMagnitude": 7.34,
2785+ "minMagnitude": 15,
2786+ "peakJD": 2455155,
2787+ "RA": "04h47m54.2s",
2788+ "Dec": "-10d10m43s"
2789+ },
2790+ "PNV J20233073+2046041":
2791+ {
2792+ "name": "Nova Delphini 2013",
2793+ "type": "NA",
2794+ "maxMagnitude": 4.3,
2795+ "minMagnitude": 16.9,
2796+ "peakJD": 2456521,
2797+ "m2": 8,
2798+ "RA": "20h23m30.68s",
2799+ "Dec": "20d46m03.8s"
2800+ }
2801+ }
2802+}
2803
2804=== added directory 'plugins/Novae/src'
2805=== added file 'plugins/Novae/src/CMakeLists.txt'
2806--- plugins/Novae/src/CMakeLists.txt 1970-01-01 00:00:00 +0000
2807+++ plugins/Novae/src/CMakeLists.txt 2013-08-24 18:42:27 +0000
2808@@ -0,0 +1,57 @@
2809+INCLUDE_DIRECTORIES(
2810+ .
2811+ gui
2812+ ${CMAKE_BINARY_DIR}/plugins/Novae/src
2813+ ${CMAKE_BINARY_DIR}/plugins/Novae/src/gui
2814+)
2815+
2816+LINK_DIRECTORIES(${BUILD_DIR}/src)
2817+
2818+SET(Novae_SRCS
2819+ Novae.hpp
2820+ Novae.cpp
2821+ Nova.hpp
2822+ Nova.cpp
2823+ gui/NovaeDialog.hpp
2824+ gui/NovaeDialog.cpp
2825+)
2826+
2827+SET(NovaeDialog_UIS
2828+ gui/novaeDialog.ui
2829+)
2830+
2831+QT4_WRAP_UI(NovaeDialog_UIS_H ${NovaeDialog_UIS})
2832+
2833+SET(Novae_RES ../resources/Novae.qrc)
2834+QT4_ADD_RESOURCES(Novae_RES_CXX ${Novae_RES})
2835+
2836+SET(extLinkerOption ${QT_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES})
2837+
2838+############### For building the dynamic library ######################
2839+IF(BUILD_DYNAMIC_PLUGINS)
2840+ ADD_LIBRARY(Novae MODULE ${Novae_SRCS} ${Novae_RES_CXX} ${NovaeDialog_UIS_H})
2841+ IF(APPLE)
2842+ FIND_LIBRARY(OPENGL_LIBRARY OpenGL)
2843+ MARK_AS_ADVANCED(OPENGL_LIBRARY)
2844+ SET_TARGET_PROPERTIES(Novae PROPERTIES LINK_FLAGS "-undefined dynamic_lookup" SUFFIX ".dylib")
2845+ ENDIF()
2846+
2847+ IF(WIN32)
2848+ SET_TARGET_PROPERTIES(Novae PROPERTIES LINK_FLAGS "-Wl,--enable-runtime-pseudo-reloc -Wl,--allow-multiple-definition" )
2849+ SET(StelMain stelMain)
2850+ ELSE(WIN32)
2851+ SET(StelMain )
2852+ ENDIF(WIN32)
2853+
2854+ TARGET_LINK_LIBRARIES(Novae ${StelMain} ${extLinkerOption})
2855+ INSTALL(TARGETS Novae DESTINATION "modules/Novae")
2856+ENDIF()
2857+
2858+############### For building the static library ######################
2859+IF(BUILD_STATIC_PLUGINS)
2860+ ADD_LIBRARY(Novae-static STATIC ${Novae_SRCS} ${Novae_RES_CXX} ${NovaeDialog_UIS_H})
2861+ SET_TARGET_PROPERTIES(Novae-static PROPERTIES OUTPUT_NAME "Novae")
2862+ TARGET_LINK_LIBRARIES(Novae-static ${extLinkerOption})
2863+ SET_TARGET_PROPERTIES(Novae-static PROPERTIES COMPILE_FLAGS "-DQT_STATICPLUGIN")
2864+ ADD_DEPENDENCIES(AllStaticPlugins Novae-static)
2865+ENDIF()
2866
2867=== added file 'plugins/Novae/src/Nova.cpp'
2868--- plugins/Novae/src/Nova.cpp 1970-01-01 00:00:00 +0000
2869+++ plugins/Novae/src/Nova.cpp 2013-08-24 18:42:27 +0000
2870@@ -0,0 +1,336 @@
2871+/*
2872+ * Copyright (C) 2013 Alexander Wolf
2873+ *
2874+ * This program is free software; you can redistribute it and/or
2875+ * modify it under the terms of the GNU General Public License
2876+ * as published by the Free Software Foundation; either version 2
2877+ * of the License, or (at your option) any later version.
2878+ *
2879+ * This program is distributed in the hope that it will be useful,
2880+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2881+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2882+ * GNU General Public License for more details.
2883+ *
2884+ * You should have received a copy of the GNU General Public License
2885+ * along with this program; if not, write to the Free Software
2886+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
2887+ */
2888+
2889+#include "Nova.hpp"
2890+#include "StelObject.hpp"
2891+#include "StelApp.hpp"
2892+#include "StelCore.hpp"
2893+#include "StelUtils.hpp"
2894+#include "StelTranslator.hpp"
2895+#include "StelModuleMgr.hpp"
2896+#include "StelSkyDrawer.hpp"
2897+#include "StarMgr.hpp"
2898+#include "StelRenderer.hpp"
2899+#include "StelLocaleMgr.hpp"
2900+
2901+#include <QTextStream>
2902+#include <QDebug>
2903+#include <QVariant>
2904+#include <QVariantMap>
2905+#include <QVariant>
2906+#include <QList>
2907+
2908+Nova::Nova(const QVariantMap& map)
2909+ : initialized(false)
2910+{
2911+ // return initialized if the mandatory fields are not present
2912+ if (!map.contains("designation"))
2913+ return;
2914+
2915+ designation = map.value("designation").toString();
2916+ novaName = map.value("name").toString();
2917+ novaType = map.value("type").toString();
2918+ maxMagnitude = map.value("maxMagnitude").toFloat();
2919+ minMagnitude = map.value("minMagnitude", 21).toFloat();
2920+ peakJD = map.value("peakJD").toDouble();
2921+ m2 = map.value("m2", -1).toInt();
2922+ m3 = map.value("m3", -1).toInt();
2923+ m6 = map.value("m6", -1).toInt();
2924+ m9 = map.value("m9", -1).toInt();
2925+ RA = StelUtils::getDecAngle(map.value("RA").toString());
2926+ Dec = StelUtils::getDecAngle(map.value("Dec").toString());
2927+ distance = map.value("distance").toDouble();
2928+
2929+ initialized = true;
2930+}
2931+
2932+Nova::~Nova()
2933+{
2934+ //
2935+}
2936+
2937+QVariantMap Nova::getMap(void)
2938+{
2939+ QVariantMap map;
2940+ map["designation"] = designation;
2941+ map["name"] = novaName;
2942+ map["type"] = novaType;
2943+ map["maxMagnitude"] = maxMagnitude;
2944+ map["minMagnitude"] = minMagnitude;
2945+ map["peakJD"] = peakJD;
2946+ map["m2"] = m2;
2947+ map["m3"] = m3;
2948+ map["m6"] = m6;
2949+ map["m9"] = m9;
2950+ map["RA"] = RA;
2951+ map["Dec"] = Dec;
2952+ map["distance"] = distance;
2953+
2954+ return map;
2955+}
2956+
2957+float Nova::getSelectPriority(const StelCore* core) const
2958+{
2959+ //Same as StarWrapper::getSelectPriority()
2960+ return getVMagnitude(core, false);
2961+}
2962+
2963+QString Nova::getEnglishName() const
2964+{
2965+ return novaName;
2966+}
2967+
2968+QString Nova::getNameI18n() const
2969+{
2970+ return novaName;
2971+}
2972+
2973+QString Nova::getDesignation() const
2974+{
2975+ return designation;
2976+}
2977+
2978+QString Nova::getMaxBrightnessDate(const double JD) const
2979+{
2980+ return StelApp::getInstance().getLocaleMgr().getPrintableDateLocal(JD);
2981+}
2982+
2983+QString Nova::getInfoString(const StelCore* core, const InfoStringGroup& flags) const
2984+{
2985+ QString str;
2986+ QTextStream oss(&str);
2987+ double mag = getVMagnitude(core, false);
2988+
2989+ if (flags&Name)
2990+ {
2991+ QString name = novaName.isEmpty() ? QString("<h2>%1</h2>").arg(designation) : QString("<h2>%1 (%2)</h2>").arg(novaName).arg(designation);
2992+ oss << name;
2993+ }
2994+
2995+ if (flags&Extra1)
2996+ oss << q_("Type: <b>%1</b> (%2)").arg(q_("nova")).arg(novaType) << "<br />";
2997+
2998+ if (flags&Magnitude)
2999+ {
3000+ if (core->getSkyDrawer()->getFlagHasAtmosphere())
3001+ oss << q_("Magnitude: <b>%1</b> (extincted to: <b>%2</b>)").arg(QString::number(getVMagnitude(core, false), 'f', 2),
3002+ QString::number(getVMagnitude(core, true), 'f', 2)) << "<br>";
3003+ else
3004+ oss << q_("Magnitude: <b>%1</b>").arg(mag, 0, 'f', 2) << "<br>";
3005+ }
3006+
3007+ // Ra/Dec etc.
3008+ oss << getPositionInfoString(core, flags);
3009+
3010+ if (flags&Extra1)
3011+ {
3012+ oss << q_("Maximum brightness: %1").arg(getMaxBrightnessDate(peakJD)) << "<br>";
3013+ if (distance>0)
3014+ oss << q_("Distance: %1 Light Years").arg(distance*1000) << "<br>";
3015+ }
3016+
3017+ postProcessInfoString(str, flags);
3018+ return str;
3019+}
3020+
3021+Vec3f Nova::getInfoColor(void) const
3022+{
3023+ return StelApp::getInstance().getVisionModeNight() ? Vec3f(0.6, 0.0, 0.0) : Vec3f(1.0, 1.0, 1.0);
3024+}
3025+
3026+float Nova::getVMagnitude(const StelCore* core, bool withExtinction) const
3027+{
3028+ float extinctionMag=0.0; // track magnitude loss
3029+ if (withExtinction && core->getSkyDrawer()->getFlagHasAtmosphere())
3030+ {
3031+ Vec3d altAz=getAltAzPosApparent(core);
3032+ altAz.normalize();
3033+ core->getSkyDrawer()->getExtinction().forward(&altAz[2], &extinctionMag);
3034+ }
3035+
3036+ // OK, start from minimal brightness
3037+ double vmag = minMagnitude;
3038+ double currentJD = core->getJDay();
3039+ double deltaJD = std::abs(peakJD-currentJD);
3040+
3041+ // Fill "default" values for mX
3042+ int t2;
3043+ if (m2 < 0)
3044+ {
3045+ // m2 is unset, check type of nova
3046+ if (novaType.contains("NA", Qt::CaseSensitive))
3047+ t2 = 10; // Ok, "fast" nova
3048+
3049+ if (novaType.contains("NB", Qt::CaseSensitive))
3050+ t2 = 80; // Ok, "slow" nova
3051+
3052+ if (novaType.contains("NC", Qt::CaseSensitive))
3053+ t2 = 200; // Ok, "very slow" nova
3054+ }
3055+ else
3056+ t2 = m2;
3057+
3058+ int t3;
3059+ if (m3 < 0)
3060+ {
3061+ // m3 is unset, check type of nova
3062+ if (novaType.contains("NA", Qt::CaseSensitive))
3063+ t3 = 30; // Ok, "fast" nova
3064+
3065+ if (novaType.contains("NB", Qt::CaseSensitive))
3066+ t3 = 160; // Ok, "slow" nova
3067+
3068+ if (novaType.contains("NC", Qt::CaseSensitive))
3069+ t3 = 300; // Ok, "very slow" nova
3070+ }
3071+ else
3072+ t3 = m3;
3073+
3074+ int t6;
3075+ if (m6 < 0)
3076+ {
3077+ // m3 is unset, check type of nova
3078+ if (novaType.contains("NA", Qt::CaseSensitive))
3079+ t6 = 100; // Ok, "fast" nova
3080+
3081+ if (novaType.contains("NB", Qt::CaseSensitive))
3082+ t6 = 300; // Ok, "slow" nova
3083+
3084+ if (novaType.contains("NC", Qt::CaseSensitive))
3085+ t6 = 1200; // Ok, "very slow" nova
3086+ }
3087+ else
3088+ t6 = m6;
3089+
3090+ int t9;
3091+ if (m9 < 0)
3092+ {
3093+ // m3 is unset, check type of nova
3094+ if (novaType.contains("NA", Qt::CaseSensitive))
3095+ t9 = 400; // Ok, "fast" nova
3096+
3097+ if (novaType.contains("NB", Qt::CaseSensitive))
3098+ t9 = 1000; // Ok, "slow" nova
3099+
3100+ if (novaType.contains("NC", Qt::CaseSensitive))
3101+ t9 = 3000; // Ok, "very slow" nova
3102+ }
3103+ else
3104+ t9 = m9;
3105+
3106+ // Calculate light curve
3107+ if (peakJD<=currentJD)
3108+ {
3109+ float step;
3110+ float d2 = maxMagnitude+2.f;
3111+ float d3 = maxMagnitude+3.f;
3112+ float d6 = maxMagnitude+6.f;
3113+ float d9 = maxMagnitude+9.f;
3114+
3115+ if (deltaJD>0 && deltaJD<=t2)
3116+ {
3117+ step = d2/t2;
3118+ vmag = maxMagnitude + step*deltaJD;
3119+ }
3120+
3121+ if (deltaJD>t2 && deltaJD<=t3)
3122+ {
3123+ step = d3/t3;
3124+ vmag = maxMagnitude + step*deltaJD + d2;
3125+ }
3126+
3127+ if (deltaJD>t3 && deltaJD<=t6)
3128+ {
3129+ step = d6/t6;
3130+ vmag = maxMagnitude + step*deltaJD + d3;
3131+ }
3132+
3133+ if (deltaJD>t6 && deltaJD<=t9)
3134+ {
3135+ step = d9/t9;
3136+ vmag = maxMagnitude + step*deltaJD + d6;
3137+ }
3138+
3139+ if (deltaJD>t9)
3140+ vmag = minMagnitude;
3141+
3142+ }
3143+ else
3144+ {
3145+ int dt = 3;
3146+ if (deltaJD<=dt)
3147+ {
3148+ float step = (minMagnitude - maxMagnitude)/dt; // 3 days for outburst
3149+ vmag = maxMagnitude + step*deltaJD;
3150+ }
3151+ }
3152+
3153+ if (vmag>minMagnitude)
3154+ vmag = minMagnitude;
3155+
3156+ return vmag + extinctionMag;
3157+}
3158+
3159+double Nova::getAngularSize(const StelCore*) const
3160+{
3161+ return 0.00001;
3162+}
3163+
3164+void Nova::update(double deltaTime)
3165+{
3166+ labelsFader.update((int)(deltaTime*1000));
3167+}
3168+
3169+void Nova::draw(StelCore* core, StelRenderer* renderer, StelProjectorP projector)
3170+{
3171+ StelSkyDrawer* sd = core->getSkyDrawer();
3172+ StarMgr* smgr = GETSTELMODULE(StarMgr); // It's need for checking displaying of labels for stars
3173+
3174+ Vec3f color = Vec3f(1.f,1.f,1.f);
3175+ if (StelApp::getInstance().getVisionModeNight())
3176+ color = StelUtils::getNightColor(color);
3177+
3178+ float rcMag[2], size, shift;
3179+ double mag;
3180+
3181+ StelUtils::spheToRect(RA, Dec, XYZ);
3182+ mag = getVMagnitude(core, true);
3183+ sd->preDrawPointSource();
3184+ float mlimit = sd->getLimitMagnitude();
3185+
3186+ if (mag <= mlimit)
3187+ {
3188+ sd->computeRCMag(mag, rcMag);
3189+ const Vec3f XYZf(XYZ[0], XYZ[1], XYZ[2]);
3190+ Vec3f win;
3191+ if(sd->pointSourceVisible(&(*projector), XYZf, rcMag, false, win))
3192+ {
3193+ sd->drawPointSource(win, rcMag, color);
3194+ }
3195+ renderer->setGlobalColor(color[0], color[1], color[2], 1);
3196+ size = getAngularSize(NULL)*M_PI/180.*projector->getPixelPerRadAtCenter();
3197+ shift = 6.f + size/1.8f;
3198+ if (labelsFader.getInterstate()<=0.f && (mag+2.f)<mlimit && smgr->getFlagLabels())
3199+ {
3200+ QString name = novaName.isEmpty() ? designation : novaName;
3201+ renderer->drawText(TextParams(XYZ, projector, name).shift(shift, shift).useGravity());
3202+ }
3203+ }
3204+
3205+ sd->postDrawPointSource(projector);
3206+}
3207
3208=== added file 'plugins/Novae/src/Nova.hpp'
3209--- plugins/Novae/src/Nova.hpp 1970-01-01 00:00:00 +0000
3210+++ plugins/Novae/src/Nova.hpp 2013-08-24 18:42:27 +0000
3211@@ -0,0 +1,101 @@
3212+/*
3213+ * Copyright (C) 2013 Alexander Wolf
3214+ *
3215+ * This program is free software; you can redistribute it and/or
3216+ * modify it under the terms of the GNU General Public License
3217+ * as published by the Free Software Foundation; either version 2
3218+ * of the License, or (at your option) any later version.
3219+ *
3220+ * This program is distributed in the hope that it will be useful,
3221+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3222+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3223+ * GNU General Public License for more details.
3224+ *
3225+ * You should have received a copy of the GNU General Public License
3226+ * along with this program; if not, write to the Free Software
3227+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
3228+ */
3229+
3230+#ifndef _NOVA_HPP_
3231+#define _NOVA_HPP_ 1
3232+
3233+#include <QVariant>
3234+#include <QString>
3235+#include <QStringList>
3236+#include <QFont>
3237+#include <QList>
3238+#include <QDateTime>
3239+
3240+#include "StelObject.hpp"
3241+#include "StelFader.hpp"
3242+#include "StelProjectorType.hpp"
3243+
3244+
3245+//! @class Nova
3246+//! A Nova object represents one nova on the sky.
3247+//! Details about the novae are passed using a QVariant which contains
3248+//! a map of data from the json file.
3249+
3250+class Nova : public StelObject
3251+{
3252+ friend class Novae;
3253+public:
3254+ //! @param id The official designation for a nova, e.g. "........"
3255+ Nova(const QVariantMap& map);
3256+ ~Nova();
3257+
3258+ //! Get a QVariantMap which describes the nova. Could be used to
3259+ //! create a duplicate.
3260+ QVariantMap getMap(void);
3261+
3262+ virtual QString getType(void) const
3263+ {
3264+ return "Nova";
3265+ }
3266+ virtual float getSelectPriority(const StelCore* core) const;
3267+
3268+ //! Get an HTML string to describe the object
3269+ //! @param core A pointer to the core
3270+ //! @flags a set of flags with information types to include.
3271+ virtual QString getInfoString(const StelCore* core, const InfoStringGroup& flags) const;
3272+ virtual Vec3f getInfoColor(void) const;
3273+ virtual Vec3d getJ2000EquatorialPos(const StelCore*) const
3274+ {
3275+ return XYZ;
3276+ }
3277+ virtual float getVMagnitude(const StelCore* core, bool withExtinction=false) const;
3278+ virtual double getAngularSize(const StelCore* core) const;
3279+ virtual QString getNameI18n(void) const;
3280+ virtual QString getEnglishName(void) const;
3281+ QString getDesignation(void) const;
3282+
3283+ void update(double deltaTime);
3284+
3285+private:
3286+ bool initialized;
3287+
3288+ Vec3d XYZ; // holds J2000 position
3289+
3290+ void draw(StelCore* core, class StelRenderer* renderer, StelProjectorP projector);
3291+
3292+ // Nova
3293+ QString designation; //! The ID of the nova
3294+ QString novaName; //! Name of the nova
3295+ QString novaType; //! Type of the nova
3296+ float maxMagnitude; //! Maximal visual magnitude
3297+ float minMagnitude; //! Minimal visual magnitude
3298+ double peakJD; //! Julian Day of max. vis. mag.
3299+ int m2; //! Time to decline by 2mag from maximum
3300+ int m3; //! Time to decline by 3mag from maximum
3301+ int m6; //! Time to decline by 6mag from maximum
3302+ int m9; //! Time to decline by 9mag from maximum
3303+ double RA; //! R.A. for the nova
3304+ double Dec; //! Dec. for the nova
3305+ double distance; //! Distance to nova (10^3 ly)
3306+
3307+ LinearFader labelsFader;
3308+
3309+ QString getMaxBrightnessDate(const double JD) const;
3310+};
3311+
3312+#endif // _NOVA_HPP_
3313
3314=== added file 'plugins/Novae/src/Novae.cpp'
3315--- plugins/Novae/src/Novae.cpp 1970-01-01 00:00:00 +0000
3316+++ plugins/Novae/src/Novae.cpp 2013-08-24 18:42:27 +0000
3317@@ -0,0 +1,694 @@
3318+/*
3319+ * Copyright (C) 2013 Alexander Wolf
3320+ *
3321+ * This program is free software; you can redistribute it and/or
3322+ * modify it under the terms of the GNU General Public License
3323+ * as published by the Free Software Foundation; either version 2
3324+ * of the License, or (at your option) any later version.
3325+ *
3326+ * This program is distributed in the hope that it will be useful,
3327+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3328+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3329+ * GNU General Public License for more details.
3330+ *
3331+ * You should have received a copy of the GNU General Public License
3332+ * along with this program; if not, write to the Free Software
3333+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
3334+ */
3335+
3336+#include "StelProjector.hpp"
3337+#include "StelApp.hpp"
3338+#include "StelCore.hpp"
3339+#include "StelGui.hpp"
3340+#include "StelGuiItems.hpp"
3341+#include "StelLocaleMgr.hpp"
3342+#include "StelModuleMgr.hpp"
3343+#include "StelObjectMgr.hpp"
3344+#include "StelJsonParser.hpp"
3345+#include "StelFileMgr.hpp"
3346+#include "StelUtils.hpp"
3347+#include "StelTranslator.hpp"
3348+#include "LabelMgr.hpp"
3349+#include "Nova.hpp"
3350+#include "Novae.hpp"
3351+#include "renderer/StelRenderer.hpp"
3352+#include "renderer/StelTextureNew.hpp"
3353+#include "NovaeDialog.hpp"
3354+
3355+#include <QNetworkAccessManager>
3356+#include <QNetworkReply>
3357+#include <QKeyEvent>
3358+#include <QAction>
3359+#include <QProgressBar>
3360+#include <QDebug>
3361+#include <QFile>
3362+#include <QFileInfo>
3363+#include <QTimer>
3364+#include <QList>
3365+#include <QSettings>
3366+#include <QSharedPointer>
3367+#include <QStringList>
3368+#include <QVariant>
3369+#include <QVariantMap>
3370+#include <QDir>
3371+
3372+#define CATALOG_FORMAT_VERSION 1 /* Version of format of catalog */
3373+
3374+/*
3375+ This method is the one called automatically by the StelModuleMgr just
3376+ after loading the dynamic library
3377+*/
3378+StelModule* NovaeStelPluginInterface::getStelModule() const
3379+{
3380+ return new Novae();
3381+}
3382+
3383+StelPluginInfo NovaeStelPluginInterface::getPluginInfo() const
3384+{
3385+ Q_INIT_RESOURCE(Novae);
3386+
3387+ StelPluginInfo info;
3388+ info.id = "Novae";
3389+ info.displayedName = N_("Bright Novae");
3390+ info.authors = "Alexander Wolf";
3391+ info.contact = "alex.v.wolf@gmail.com";
3392+ info.description = N_("A plugin that shows some bright novae in the Milky Way galaxy.");
3393+ return info;
3394+}
3395+
3396+Q_EXPORT_PLUGIN2(Novae, NovaeStelPluginInterface)
3397+
3398+
3399+/*
3400+ Constructor
3401+*/
3402+Novae::Novae()
3403+ : texPointer(NULL)
3404+ , progressBar(NULL)
3405+{
3406+ setObjectName("Novae");
3407+ configDialog = new NovaeDialog();
3408+ conf = StelApp::getInstance().getSettings();
3409+ font.setPixelSize(conf->value("gui/base_font_size", 13).toInt());
3410+}
3411+
3412+/*
3413+ Destructor
3414+*/
3415+Novae::~Novae()
3416+{
3417+ delete configDialog;
3418+}
3419+
3420+void Novae::deinit()
3421+{
3422+ if(NULL != texPointer)
3423+ {
3424+ delete texPointer;
3425+ }
3426+}
3427+
3428+/*
3429+ Reimplementation of the getCallOrder method
3430+*/
3431+double Novae::getCallOrder(StelModuleActionName actionName) const
3432+{
3433+ if (actionName==StelModule::ActionDraw)
3434+ return StelApp::getInstance().getModuleMgr().getModule("ConstellationMgr")->getCallOrder(actionName)+10.;
3435+ return 0;
3436+}
3437+
3438+
3439+/*
3440+ Init our module
3441+*/
3442+void Novae::init()
3443+{
3444+ try
3445+ {
3446+ StelFileMgr::makeSureDirExistsAndIsWritable(StelFileMgr::getUserDir()+"/modules/Novae");
3447+
3448+ // If no settings in the main config file, create with defaults
3449+ if (!conf->childGroups().contains("Novae"))
3450+ {
3451+ qDebug() << "Novae::init no Novae section exists in main config file - creating with defaults";
3452+ restoreDefaultConfigIni();
3453+ }
3454+
3455+ // populate settings from main config file.
3456+ readSettingsFromConfig();
3457+
3458+ novaeJsonPath = StelFileMgr::findFile("modules/Novae", (StelFileMgr::Flags)(StelFileMgr::Directory|StelFileMgr::Writable)) + "/novae.json";
3459+ // key bindings and other actions
3460+ StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui());
3461+
3462+ connect(gui->getGuiAction("actionShow_Novae_ConfigDialog"), SIGNAL(toggled(bool)), configDialog, SLOT(setVisible(bool)));
3463+ connect(configDialog, SIGNAL(visibleChanged(bool)), gui->getGuiAction("actionShow_Novae_ConfigDialog"), SLOT(setChecked(bool)));
3464+ }
3465+ catch (std::runtime_error &e)
3466+ {
3467+ qWarning() << "Novas::init error: " << e.what();
3468+ return;
3469+ }
3470+
3471+ // A timer for hiding alert messages
3472+ messageTimer = new QTimer(this);
3473+ messageTimer->setSingleShot(true); // recurring check for update
3474+ messageTimer->setInterval(9000); // 6 seconds should be enough time
3475+ messageTimer->stop();
3476+ connect(messageTimer, SIGNAL(timeout()), this, SLOT(messageTimeout()));
3477+
3478+ // If the json file does not already exist, create it from the resource in the Qt resource
3479+ if(QFileInfo(novaeJsonPath).exists())
3480+ {
3481+ if (getJsonFileVersion() < CATALOG_FORMAT_VERSION)
3482+ {
3483+ restoreDefaultJsonFile();
3484+ }
3485+ }
3486+ else
3487+ {
3488+ qDebug() << "Novae::init novae.json does not exist - copying default file to " << QDir::toNativeSeparators(novaeJsonPath);
3489+ restoreDefaultJsonFile();
3490+ }
3491+
3492+ qDebug() << "Novae::init using file: " << QDir::toNativeSeparators(novaeJsonPath);
3493+
3494+ readJsonFile();
3495+
3496+ // Set up download manager and the update schedule
3497+ downloadMgr = new QNetworkAccessManager(this);
3498+ connect(downloadMgr, SIGNAL(finished(QNetworkReply*)), this, SLOT(updateDownloadComplete(QNetworkReply*)));
3499+ updateState = CompleteNoUpdates;
3500+ updateTimer = new QTimer(this);
3501+ updateTimer->setSingleShot(false); // recurring check for update
3502+ updateTimer->setInterval(13000); // check once every 13 seconds to see if it is time for an update
3503+ connect(updateTimer, SIGNAL(timeout()), this, SLOT(checkForUpdate()));
3504+ updateTimer->start();
3505+
3506+ GETSTELMODULE(StelObjectMgr)->registerStelObjectMgr(this);
3507+}
3508+
3509+/*
3510+ Draw our module. This should print name of first Nova in the main window
3511+*/
3512+void Novae::draw(StelCore* core, StelRenderer* renderer)
3513+{
3514+ StelProjectorP prj = core->getProjection(StelCore::FrameJ2000);
3515+ renderer->setFont(font);
3516+
3517+ foreach (const NovaP& n, nova)
3518+ {
3519+ if (n && n->initialized)
3520+ {
3521+ n->draw(core, renderer, prj);
3522+ }
3523+ }
3524+
3525+ if (GETSTELMODULE(StelObjectMgr)->getFlagSelectedObjectPointer())
3526+ {
3527+ drawPointer(core, renderer, prj);
3528+ }
3529+}
3530+
3531+void Novae::drawPointer(StelCore* core, StelRenderer* renderer, StelProjectorP projector)
3532+{
3533+ const QList<StelObjectP> newSelected = GETSTELMODULE(StelObjectMgr)->getSelectedObject("Nova");
3534+ if (!newSelected.empty())
3535+ {
3536+ const StelObjectP obj = newSelected[0];
3537+ Vec3d pos=obj->getJ2000EquatorialPos(core);
3538+
3539+ Vec3d screenpos;
3540+ // Compute 2D pos and return if outside screen
3541+ if (!projector->project(pos, screenpos))
3542+ {
3543+ return;
3544+ }
3545+
3546+ const Vec3f& c(obj->getInfoColor());
3547+ renderer->setGlobalColor(c[0],c[1],c[2]);
3548+ if(NULL == texPointer)
3549+ {
3550+ texPointer = renderer->createTexture("textures/pointeur2.png");
3551+ }
3552+ texPointer->bind();
3553+ renderer->setBlendMode(BlendMode_Alpha);
3554+ renderer->drawTexturedRect(screenpos[0] - 13.0f, screenpos[1] - 13.0f, 26.0f, 26.0f,
3555+ StelApp::getInstance().getTotalRunTime() * 40.0f);
3556+ }
3557+}
3558+
3559+QList<StelObjectP> Novae::searchAround(const Vec3d& av, double limitFov, const StelCore*) const
3560+{
3561+ QList<StelObjectP> result;
3562+
3563+ Vec3d v(av);
3564+ v.normalize();
3565+ double cosLimFov = cos(limitFov * M_PI/180.);
3566+ Vec3d equPos;
3567+
3568+ foreach(const NovaP& n, nova)
3569+ {
3570+ if (n->initialized)
3571+ {
3572+ equPos = n->XYZ;
3573+ equPos.normalize();
3574+ if (equPos[0]*v[0] + equPos[1]*v[1] + equPos[2]*v[2]>=cosLimFov)
3575+ {
3576+ result.append(qSharedPointerCast<StelObject>(n));
3577+ }
3578+ }
3579+ }
3580+
3581+ return result;
3582+}
3583+
3584+StelObjectP Novae::searchByName(const QString& englishName) const
3585+{
3586+ foreach(const NovaP& n, nova)
3587+ {
3588+ if (n->getEnglishName().toUpper() == englishName.toUpper() || n->getDesignation().toUpper() == englishName.toUpper())
3589+ return qSharedPointerCast<StelObject>(n);
3590+ }
3591+
3592+ return NULL;
3593+}
3594+
3595+StelObjectP Novae::searchByNameI18n(const QString& nameI18n) const
3596+{
3597+ foreach(const NovaP& n, nova)
3598+ {
3599+ if (n->getNameI18n().toUpper() == nameI18n.toUpper() || n->getDesignation().toUpper() == nameI18n.toUpper())
3600+ return qSharedPointerCast<StelObject>(n);
3601+ }
3602+
3603+ return NULL;
3604+}
3605+
3606+QStringList Novae::listMatchingObjectsI18n(const QString& objPrefix, int maxNbItem, bool useStartOfWords) const
3607+{
3608+ QStringList result;
3609+ if (maxNbItem==0)
3610+ return result;
3611+
3612+ QString sn;
3613+ bool find;
3614+ foreach(const NovaP& n, nova)
3615+ {
3616+ sn = n->getNameI18n();
3617+ find = false;
3618+ if (useStartOfWords)
3619+ {
3620+ if (objPrefix.toUpper()==sn.toUpper().left(objPrefix.length()))
3621+ find = true;
3622+ }
3623+ else
3624+ {
3625+ if (sn.contains(objPrefix, Qt::CaseInsensitive))
3626+ find = true;
3627+ }
3628+ if (find)
3629+ {
3630+ result << sn;
3631+ }
3632+ }
3633+
3634+ result.sort();
3635+ if (result.size()>maxNbItem)
3636+ result.erase(result.begin()+maxNbItem, result.end());
3637+
3638+ return result;
3639+}
3640+
3641+QStringList Novae::listMatchingObjects(const QString& objPrefix, int maxNbItem, bool useStartOfWords) const
3642+{
3643+ QStringList result;
3644+ if (maxNbItem==0)
3645+ return result;
3646+
3647+ QString sn;
3648+ bool find;
3649+ foreach(const NovaP& n, nova)
3650+ {
3651+ sn = n->getEnglishName();
3652+ find = false;
3653+ if (useStartOfWords)
3654+ {
3655+ if (objPrefix.toUpper()==sn.toUpper().left(objPrefix.length()))
3656+ find = true;
3657+ }
3658+ else
3659+ {
3660+ if (sn.contains(objPrefix, Qt::CaseInsensitive))
3661+ find = true;
3662+ }
3663+ if (find)
3664+ {
3665+ result << sn;
3666+ }
3667+
3668+ sn = n->getDesignation();
3669+ find = false;
3670+ if (useStartOfWords)
3671+ {
3672+ if (objPrefix.toUpper()==sn.toUpper().left(objPrefix.length()))
3673+ find = true;
3674+ }
3675+ else
3676+ {
3677+ if (sn.contains(objPrefix, Qt::CaseInsensitive))
3678+ find = true;
3679+ }
3680+ if (find)
3681+ {
3682+ result << sn;
3683+ }
3684+ }
3685+
3686+ result.sort();
3687+ if (result.size()>maxNbItem)
3688+ result.erase(result.begin()+maxNbItem, result.end());
3689+
3690+ return result;
3691+}
3692+
3693+QStringList Novae::listAllObjects(bool inEnglish) const
3694+{
3695+ QStringList result;
3696+ if (inEnglish)
3697+ {
3698+ foreach (const NovaP& n, nova)
3699+ {
3700+ result << n->getEnglishName();
3701+ }
3702+ }
3703+ else
3704+ {
3705+ foreach (const NovaP& n, nova)
3706+ {
3707+ result << n->getNameI18n();
3708+ }
3709+ }
3710+ return result;
3711+}
3712+
3713+/*
3714+ Replace the JSON file with the default from the compiled-in resource
3715+*/
3716+void Novae::restoreDefaultJsonFile(void)
3717+{
3718+ if (QFileInfo(novaeJsonPath).exists())
3719+ backupJsonFile(true);
3720+
3721+ QFile src(":/Novae/novae.json");
3722+ if (!src.copy(novaeJsonPath))
3723+ {
3724+ qWarning() << "Novae::restoreDefaultJsonFile cannot copy json resource to " + QDir::toNativeSeparators(novaeJsonPath);
3725+ }
3726+ else
3727+ {
3728+ qDebug() << "Novae::init copied default novae.json to " << QDir::toNativeSeparators(novaeJsonPath);
3729+ // The resource is read only, and the new file inherits this... make sure the new file
3730+ // is writable by the Stellarium process so that updates can be done.
3731+ QFile dest(novaeJsonPath);
3732+ dest.setPermissions(dest.permissions() | QFile::WriteOwner);
3733+
3734+ // Make sure that in the case where an online update has previously been done, but
3735+ // the json file has been manually removed, that an update is schreduled in a timely
3736+ // manner
3737+ conf->remove("Novae/last_update");
3738+ lastUpdate = QDateTime::fromString("2012-05-24T12:00:00", Qt::ISODate);
3739+ }
3740+}
3741+
3742+/*
3743+ Creates a backup of the novae.json file called novae.json.old
3744+*/
3745+bool Novae::backupJsonFile(bool deleteOriginal)
3746+{
3747+ QFile old(novaeJsonPath);
3748+ if (!old.exists())
3749+ {
3750+ qWarning() << "Novae::backupJsonFile no file to backup";
3751+ return false;
3752+ }
3753+
3754+ QString backupPath = novaeJsonPath + ".old";
3755+ if (QFileInfo(backupPath).exists())
3756+ QFile(backupPath).remove();
3757+
3758+ if (old.copy(backupPath))
3759+ {
3760+ if (deleteOriginal)
3761+ {
3762+ if (!old.remove())
3763+ {
3764+ qWarning() << "Novae::backupJsonFile WARNING - could not remove old novae.json file";
3765+ return false;
3766+ }
3767+ }
3768+ }
3769+ else
3770+ {
3771+ qWarning() << "Novae::backupJsonFile WARNING - failed to copy novae.json to novae.json.old";
3772+ return false;
3773+ }
3774+
3775+ return true;
3776+}
3777+
3778+/*
3779+ Read the JSON file and create list of novae.
3780+*/
3781+void Novae::readJsonFile(void)
3782+{
3783+ setNovaeMap(loadNovaeMap());
3784+}
3785+
3786+/*
3787+ Parse JSON file and load novae to map
3788+*/
3789+QVariantMap Novae::loadNovaeMap(QString path)
3790+{
3791+ if (path.isEmpty())
3792+ path = novaeJsonPath;
3793+
3794+ QVariantMap map;
3795+ QFile jsonFile(path);
3796+ if (!jsonFile.open(QIODevice::ReadOnly))
3797+ qWarning() << "Novae::loadNovaeMap cannot open " << QDir::toNativeSeparators(path);
3798+ else
3799+ map = StelJsonParser::parse(jsonFile.readAll()).toMap();
3800+
3801+ jsonFile.close();
3802+ return map;
3803+}
3804+
3805+/*
3806+ Set items for list of struct from data map
3807+*/
3808+void Novae::setNovaeMap(const QVariantMap& map)
3809+{
3810+ nova.clear();
3811+ novalist.clear();
3812+ QVariantMap novaeMap = map.value("nova").toMap();
3813+ foreach(QString novaeKey, novaeMap.keys())
3814+ {
3815+ QVariantMap novaeData = novaeMap.value(novaeKey).toMap();
3816+ novaeData["designation"] = QString("%1").arg(novaeKey);
3817+
3818+ novalist.insert(novaeData.value("designation").toString(), novaeData.value("peakJD").toDouble());
3819+
3820+ NovaP n(new Nova(novaeData));
3821+ if (n->initialized)
3822+ nova.append(n);
3823+
3824+ }
3825+}
3826+
3827+int Novae::getJsonFileVersion(void)
3828+{
3829+ int jsonVersion = -1;
3830+ QFile novaeJsonFile(novaeJsonPath);
3831+ if (!novaeJsonFile.open(QIODevice::ReadOnly))
3832+ {
3833+ qWarning() << "Novae::init cannot open " << QDir::toNativeSeparators(novaeJsonPath);
3834+ return jsonVersion;
3835+ }
3836+
3837+ QVariantMap map;
3838+ map = StelJsonParser::parse(&novaeJsonFile).toMap();
3839+ if (map.contains("version"))
3840+ {
3841+ jsonVersion = map.value("version").toInt();
3842+ }
3843+
3844+ novaeJsonFile.close();
3845+ qDebug() << "Novae::getJsonFileVersion() version from file:" << jsonVersion;
3846+ return jsonVersion;
3847+}
3848+
3849+NovaP Novae::getByID(const QString& id)
3850+{
3851+ foreach(const NovaP& n, nova)
3852+ {
3853+ if (n->initialized && n->designation == id)
3854+ return n;
3855+ }
3856+ return NovaP();
3857+}
3858+
3859+bool Novae::configureGui(bool show)
3860+{
3861+ if (show)
3862+ {
3863+ StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui());
3864+ gui->getGuiAction("actionShow_Novae_ConfigDialog")->setChecked(true);
3865+ }
3866+
3867+ return true;
3868+}
3869+
3870+void Novae::restoreDefaults(void)
3871+{
3872+ restoreDefaultConfigIni();
3873+ restoreDefaultJsonFile();
3874+ readJsonFile();
3875+ readSettingsFromConfig();
3876+}
3877+
3878+void Novae::restoreDefaultConfigIni(void)
3879+{
3880+ conf->beginGroup("Novae");
3881+
3882+ // delete all existing Novae settings...
3883+ conf->remove("");
3884+
3885+ conf->setValue("updates_enabled", true);
3886+ conf->setValue("url", "http://stellarium.org/json/novae.json");
3887+ conf->setValue("update_frequency_days", 100);
3888+ conf->endGroup();
3889+}
3890+
3891+void Novae::readSettingsFromConfig(void)
3892+{
3893+ conf->beginGroup("Novae");
3894+
3895+ updateUrl = conf->value("url", "http://stellarium.org/json/novae.json").toString();
3896+ updateFrequencyDays = conf->value("update_frequency_days", 100).toInt();
3897+ lastUpdate = QDateTime::fromString(conf->value("last_update", "2012-06-11T12:00:00").toString(), Qt::ISODate);
3898+ updatesEnabled = conf->value("updates_enabled", true).toBool();
3899+
3900+ conf->endGroup();
3901+}
3902+
3903+void Novae::saveSettingsToConfig(void)
3904+{
3905+ conf->beginGroup("Novae");
3906+
3907+ conf->setValue("url", updateUrl);
3908+ conf->setValue("update_frequency_days", updateFrequencyDays);
3909+ conf->setValue("updates_enabled", updatesEnabled );
3910+
3911+ conf->endGroup();
3912+}
3913+
3914+int Novae::getSecondsToUpdate(void)
3915+{
3916+ QDateTime nextUpdate = lastUpdate.addSecs(updateFrequencyDays * 3600 * 24);
3917+ return QDateTime::currentDateTime().secsTo(nextUpdate);
3918+}
3919+
3920+void Novae::checkForUpdate(void)
3921+{
3922+ if (updatesEnabled && lastUpdate.addSecs(updateFrequencyDays * 3600 * 24) <= QDateTime::currentDateTime())
3923+ updateJSON();
3924+}
3925+
3926+void Novae::updateJSON(void)
3927+{
3928+ if (updateState==Novae::Updating)
3929+ {
3930+ qWarning() << "Novae: already updating... will not start again current update is complete.";
3931+ return;
3932+ }
3933+ else
3934+ {
3935+ qDebug() << "Novae: starting update...";
3936+ }
3937+
3938+ lastUpdate = QDateTime::currentDateTime();
3939+ conf->setValue("Novae/last_update", lastUpdate.toString(Qt::ISODate));
3940+
3941+ updateState = Novae::Updating;
3942+ emit(updateStateChanged(updateState));
3943+
3944+ if (progressBar==NULL)
3945+ progressBar = StelApp::getInstance().getGui()->addProgressBar();
3946+
3947+ progressBar->setValue(0);
3948+ progressBar->setMaximum(100);
3949+ progressBar->setFormat("Update novae");
3950+ progressBar->setVisible(true);
3951+
3952+ QNetworkRequest request;
3953+ request.setUrl(QUrl(updateUrl));
3954+ request.setRawHeader("User-Agent", QString("Mozilla/5.0 (Stellarium Novae Plugin %1; http://stellarium.org/)").arg(NOVAE_PLUGIN_VERSION).toUtf8());
3955+ downloadMgr->get(request);
3956+
3957+ updateState = Novae::CompleteUpdates;
3958+ emit(updateStateChanged(updateState));
3959+ emit(jsonUpdateComplete());
3960+}
3961+
3962+void Novae::updateDownloadComplete(QNetworkReply* reply)
3963+{
3964+ // check the download worked, and save the data to file if this is the case.
3965+ if (reply->error() != QNetworkReply::NoError)
3966+ {
3967+ qWarning() << "Novae::updateDownloadComplete FAILED to download" << reply->url() << " Error: " << reply->errorString();
3968+ }
3969+ else
3970+ {
3971+ // download completed successfully.
3972+ try
3973+ {
3974+ QString jsonFilePath = StelFileMgr::findFile("modules/Novae", StelFileMgr::Flags(StelFileMgr::Writable|StelFileMgr::Directory)) + "/novae.json";
3975+ QFile jsonFile(jsonFilePath);
3976+ if (jsonFile.exists())
3977+ jsonFile.remove();
3978+
3979+ jsonFile.open(QIODevice::WriteOnly | QIODevice::Text);
3980+ jsonFile.write(reply->readAll());
3981+ jsonFile.close();
3982+ }
3983+ catch (std::runtime_error &e)
3984+ {
3985+ qWarning() << "Novae::updateDownloadComplete: cannot write JSON data to file:" << e.what();
3986+ }
3987+
3988+ }
3989+
3990+ if (progressBar)
3991+ {
3992+ progressBar->setValue(100);
3993+ delete progressBar;
3994+ progressBar = NULL;
3995+ }
3996+}
3997+
3998+void Novae::displayMessage(const QString& message, const QString hexColor)
3999+{
4000+ messageIDs << GETSTELMODULE(LabelMgr)->labelScreen(message, 30, 30 + (20*messageIDs.count()), true, 16, hexColor);
4001+ messageTimer->start();
4002+}
4003+
4004+void Novae::messageTimeout(void)
4005+{
4006+ foreach(int i, messageIDs)
4007+ {
4008+ GETSTELMODULE(LabelMgr)->deleteLabel(i);
4009+ }
4010+}
4011+
4012
4013=== added file 'plugins/Novae/src/Novae.hpp'
4014--- plugins/Novae/src/Novae.hpp 1970-01-01 00:00:00 +0000
4015+++ plugins/Novae/src/Novae.hpp 2013-08-24 18:42:27 +0000
4016@@ -0,0 +1,251 @@
4017+/*
4018+ * Copyright (C) 2013 Alexander Wolf
4019+ *
4020+ * This program is free software; you can redistribute it and/or
4021+ * modify it under the terms of the GNU General Public License
4022+ * as published by the Free Software Foundation; either version 2
4023+ * of the License, or (at your option) any later version.
4024+ *
4025+ * This program is distributed in the hope that it will be useful,
4026+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
4027+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4028+ * GNU General Public License for more details.
4029+ *
4030+ * You should have received a copy of the GNU General Public License
4031+ * along with this program; if not, write to the Free Software
4032+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
4033+ */
4034+
4035+#ifndef _NOVAE_HPP_
4036+#define _NOVAE_HPP_
4037+
4038+#include "StelObjectModule.hpp"
4039+#include "StelObject.hpp"
4040+#include "StelFader.hpp"
4041+#include "Nova.hpp"
4042+#include <QFont>
4043+#include <QVariantMap>
4044+#include <QDateTime>
4045+#include <QList>
4046+#include <QSharedPointer>
4047+#include <QHash>
4048+
4049+class QNetworkAccessManager;
4050+class QNetworkReply;
4051+class QProgressBar;
4052+class QSettings;
4053+class QTimer;
4054+class NovaeDialog;
4055+
4056+typedef QSharedPointer<Nova> NovaP;
4057+
4058+/*! @mainpage notitle
4059+@section overview Plugin Overview
4060+
4061+The %Bright Novae plugin displays the positions some bright
4062+novae in the Milky Way galaxy.
4063+
4064+@section ncat Bright Novae Catalog
4065+The novae catalog is stored on the disk in [JSON](http://www.json.org/)
4066+format, in a file named "novae.json". A default copy is embedded in the
4067+plug-in at compile time. A working copy is kept in the user data directory.
4068+
4069+@section config Configuration
4070+The plug-ins' configuration data is stored in Stellarium's main configuration
4071+file.
4072+*/
4073+
4074+//! @class Novae
4075+//! Main class of the %Bright Novae plugin.
4076+//! @author Alexander Wolf
4077+class Novae : public StelObjectModule
4078+{
4079+ Q_OBJECT
4080+public:
4081+ //! @enum UpdateState
4082+ //! Used for keeping for track of the download/update status
4083+ enum UpdateState {
4084+ Updating, //!< Update in progress
4085+ CompleteNoUpdates, //!< Update completed, there we no updates
4086+ CompleteUpdates, //!< Update completed, there were updates
4087+ DownloadError, //!< Error during download phase
4088+ OtherError //!< Other error
4089+ };
4090+
4091+ Novae();
4092+ virtual ~Novae();
4093+
4094+ ///////////////////////////////////////////////////////////////////////////
4095+ // Methods defined in the StelModule class
4096+ virtual void init();
4097+ virtual void deinit();
4098+ virtual void update(double) {;}
4099+ virtual void draw(StelCore* core, class StelRenderer* renderer);
4100+ virtual void drawPointer(StelCore* core, class StelRenderer* renderer, StelProjectorP projector);
4101+ virtual double getCallOrder(StelModuleActionName actionName) const;
4102+
4103+ ///////////////////////////////////////////////////////////////////////////
4104+ // Methods defined in StelObjectManager class
4105+ //! Used to get a list of objects which are near to some position.
4106+ //! @param v a vector representing the position in th sky around which to search for nebulae.
4107+ //! @param limitFov the field of view around the position v in which to search for satellites.
4108+ //! @param core the StelCore to use for computations.
4109+ //! @return an list containing the satellites located inside the limitFov circle around position v.
4110+ virtual QList<StelObjectP> searchAround(const Vec3d& v, double limitFov, const StelCore* core) const;
4111+
4112+ //! Return the matching satellite object's pointer if exists or NULL.
4113+ //! @param nameI18n The case in-sensistive satellite name
4114+ virtual StelObjectP searchByNameI18n(const QString& nameI18n) const;
4115+
4116+ //! Return the matching satellite if exists or NULL.
4117+ //! @param name The case in-sensistive standard program name
4118+ virtual StelObjectP searchByName(const QString& name) const;
4119+
4120+ //! Find and return the list of at most maxNbItem objects auto-completing the passed object I18n name.
4121+ //! @param objPrefix the case insensitive first letters of the searched object
4122+ //! @param maxNbItem the maximum number of returned object names
4123+ //! @param useStartOfWords the autofill mode for returned objects names
4124+ //! @return a list of matching object name by order of relevance, or an empty list if nothing match
4125+ virtual QStringList listMatchingObjectsI18n(const QString& objPrefix, int maxNbItem=5, bool useStartOfWords=false) const;
4126+ //! Find and return the list of at most maxNbItem objects auto-completing the passed object English name.
4127+ //! @param objPrefix the case insensitive first letters of the searched object
4128+ //! @param maxNbItem the maximum number of returned object names
4129+ //! @param useStartOfWords the autofill mode for returned objects names
4130+ //! @return a list of matching object name by order of relevance, or an empty list if nothing match
4131+ virtual QStringList listMatchingObjects(const QString& objPrefix, int maxNbItem=5, bool useStartOfWords=false) const;
4132+ virtual QStringList listAllObjects(bool inEnglish) const;
4133+ virtual QString getName() const { return "Novae"; }
4134+
4135+ //! get a nova object by identifier
4136+ NovaP getByID(const QString& id);
4137+
4138+ //! Implement this to tell the main Stellarium GUI that there is a GUI element to configure this
4139+ //! plugin.
4140+ virtual bool configureGui(bool show=true);
4141+
4142+ //! Set up the plugin with default values. This means clearing out the Pulsars section in the
4143+ //! main config.ini (if one already exists), and populating it with default values. It also
4144+ //! creates the default novae.json file from the resource embedded in the plugin lib/dll file.
4145+ void restoreDefaults(void);
4146+
4147+ //! Read (or re-read) settings from the main config file. This will be called from init and also
4148+ //! when restoring defaults (i.e. from the configuration dialog / restore defaults button).
4149+ void readSettingsFromConfig(void);
4150+
4151+ //! Save the settings to the main configuration file.
4152+ void saveSettingsToConfig(void);
4153+
4154+ //! Get whether or not the plugin will try to update catalog data from the internet
4155+ //! @return true if updates are set to be done, false otherwise
4156+ bool getUpdatesEnabled(void) {return updatesEnabled;}
4157+ //! Set whether or not the plugin will try to update catalog data from the internet
4158+ //! @param b if true, updates will be enabled, else they will be disabled
4159+ void setUpdatesEnabled(bool b) {updatesEnabled=b;}
4160+
4161+ //! Get the date and time the novae were updated
4162+ QDateTime getLastUpdate(void) {return lastUpdate;}
4163+
4164+ //! Get the update frequency in days
4165+ int getUpdateFrequencyDays(void) {return updateFrequencyDays;}
4166+ void setUpdateFrequencyDays(int days) {updateFrequencyDays = days;}
4167+
4168+ //! Get the number of seconds till the next update
4169+ int getSecondsToUpdate(void);
4170+
4171+ //! Get the current updateState
4172+ UpdateState getUpdateState(void) {return updateState;}
4173+
4174+signals:
4175+ //! @param state the new update state.
4176+ void updateStateChanged(Novae::UpdateState state);
4177+
4178+ //! Emitted after a JSON update has run.
4179+ void jsonUpdateComplete(void);
4180+
4181+public slots:
4182+ // FIXME: Add functions for scripting support
4183+
4184+ //! Download JSON from web recources described in the module section of the
4185+ //! module.ini file and update the local JSON file.
4186+ void updateJSON(void);
4187+
4188+ //! Display a message. This is used for plugin-specific warnings and such
4189+ void displayMessage(const QString& message, const QString hexColor="#999999");
4190+ void messageTimeout(void);
4191+
4192+private:
4193+ // Font used for displaying our text
4194+ QFont font;
4195+
4196+ // if existing, delete Satellites section in main config.ini, then create with default values
4197+ void restoreDefaultConfigIni(void);
4198+
4199+ //! Replace the JSON file with the default from the compiled-in resource
4200+ void restoreDefaultJsonFile(void);
4201+
4202+ //! Read the JSON file and create list of novae.
4203+ void readJsonFile(void);
4204+
4205+ //! Creates a backup of the novae.json file called novae.json.old
4206+ //! @param deleteOriginal if true, the original file is removed, else not
4207+ //! @return true on OK, false on failure
4208+ bool backupJsonFile(bool deleteOriginal=false);
4209+
4210+ //! Get the version from the "version" value in the novae.json file
4211+ //! @return version string, e.g. "1"
4212+ int getJsonFileVersion(void);
4213+
4214+ //! Parse JSON file and load novae to map
4215+ QVariantMap loadNovaeMap(QString path=QString());
4216+
4217+ //! Set items for list of struct from data map
4218+ void setNovaeMap(const QVariantMap& map);
4219+
4220+ QString novaeJsonPath;
4221+
4222+ class StelTextureNew* texPointer;
4223+ QList<NovaP> nova;
4224+ QHash<QString, double> novalist;
4225+
4226+ // variables and functions for the updater
4227+ UpdateState updateState;
4228+ QNetworkAccessManager* downloadMgr;
4229+ QString updateUrl;
4230+ QProgressBar* progressBar;
4231+ QTimer* updateTimer;
4232+ QTimer* messageTimer;
4233+ QList<int> messageIDs;
4234+ bool updatesEnabled;
4235+ QDateTime lastUpdate;
4236+ int updateFrequencyDays;
4237+
4238+ QSettings* conf;
4239+
4240+ // GUI
4241+ NovaeDialog* configDialog;
4242+
4243+private slots:
4244+ //! Check to see if an update is required. This is called periodically by a timer
4245+ //! if the last update was longer than updateFrequencyHours ago then the update is
4246+ //! done.
4247+ void checkForUpdate(void);
4248+ void updateDownloadComplete(QNetworkReply* reply);
4249+
4250+};
4251+
4252+
4253+#include "fixx11h.h"
4254+#include <QObject>
4255+#include "StelPluginInterface.hpp"
4256+
4257+//! This class is used by Qt to manage a plug-in interface
4258+class NovaeStelPluginInterface : public QObject, public StelPluginInterface
4259+{
4260+ Q_OBJECT
4261+ Q_INTERFACES(StelPluginInterface)
4262+public:
4263+ virtual StelModule* getStelModule() const;
4264+ virtual StelPluginInfo getPluginInfo() const;
4265+};
4266+
4267+#endif /*_NOVAE_HPP_*/
4268
4269=== added directory 'plugins/Novae/src/gui'
4270=== added file 'plugins/Novae/src/gui/NovaeDialog.cpp'
4271--- plugins/Novae/src/gui/NovaeDialog.cpp 1970-01-01 00:00:00 +0000
4272+++ plugins/Novae/src/gui/NovaeDialog.cpp 2013-08-24 18:42:27 +0000
4273@@ -0,0 +1,227 @@
4274+/*
4275+ * Stellarium Novae Plug-in GUI
4276+ *
4277+ * Copyright (C) 2013 Alexander Wolf
4278+ *
4279+ * This program is free software; you can redistribute it and/or
4280+ * modify it under the terms of the GNU General Public License
4281+ * as published by the Free Software Foundation; either version 2
4282+ * of the License, or (at your option) any later version.
4283+ *
4284+ * This program is distributed in the hope that it will be useful,
4285+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
4286+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4287+ * GNU General Public License for more details.
4288+ *
4289+ * You should have received a copy of the GNU General Public License
4290+ * along with this program; if not, write to the Free Software
4291+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
4292+*/
4293+
4294+#include <QDebug>
4295+#include <QTimer>
4296+#include <QDateTime>
4297+#include <QUrl>
4298+#include <QFileDialog>
4299+
4300+#include "StelApp.hpp"
4301+#include "ui_novaeDialog.h"
4302+#include "NovaeDialog.hpp"
4303+#include "Novae.hpp"
4304+#include "StelModuleMgr.hpp"
4305+#include "StelObjectMgr.hpp"
4306+#include "StelMovementMgr.hpp"
4307+#include "StelStyle.hpp"
4308+#include "StelGui.hpp"
4309+#include "StelMainGraphicsView.hpp"
4310+#include "StelFileMgr.hpp"
4311+#include "StelTranslator.hpp"
4312+
4313+NovaeDialog::NovaeDialog() : updateTimer(NULL)
4314+{
4315+ ui = new Ui_novaeDialog;
4316+}
4317+
4318+NovaeDialog::~NovaeDialog()
4319+{
4320+ if (updateTimer)
4321+ {
4322+ updateTimer->stop();
4323+ delete updateTimer;
4324+ updateTimer = NULL;
4325+ }
4326+ delete ui;
4327+}
4328+
4329+void NovaeDialog::retranslate()
4330+{
4331+ if (dialog)
4332+ {
4333+ ui->retranslateUi(dialog);
4334+ refreshUpdateValues();
4335+ setAboutHtml();
4336+ }
4337+}
4338+
4339+// Initialize the dialog widgets and connect the signals/slots
4340+void NovaeDialog::createDialogContent()
4341+{
4342+ ui->setupUi(dialog);
4343+ ui->tabs->setCurrentIndex(0);
4344+ connect(&StelApp::getInstance(), SIGNAL(languageChanged()),
4345+ this, SLOT(retranslate()));
4346+
4347+ // Settings tab / updates group
4348+ connect(ui->internetUpdatesCheckbox, SIGNAL(stateChanged(int)), this, SLOT(setUpdatesEnabled(int)));
4349+ connect(ui->updateButton, SIGNAL(clicked()), this, SLOT(updateJSON()));
4350+ connect(GETSTELMODULE(Novae), SIGNAL(updateStateChanged(Novae::UpdateState)), this, SLOT(updateStateReceiver(Novae::UpdateState)));
4351+ connect(GETSTELMODULE(Novae), SIGNAL(jsonUpdateComplete(void)), this, SLOT(updateCompleteReceiver(void)));
4352+ connect(ui->updateFrequencySpinBox, SIGNAL(valueChanged(int)), this, SLOT(setUpdateValues(int)));
4353+ refreshUpdateValues(); // fetch values for last updated and so on
4354+ // if the state didn't change, setUpdatesEnabled will not be called, so we force it
4355+ setUpdatesEnabled(ui->internetUpdatesCheckbox->checkState());
4356+
4357+ updateTimer = new QTimer(this);
4358+ connect(updateTimer, SIGNAL(timeout()), this, SLOT(refreshUpdateValues()));
4359+ updateTimer->start(7000);
4360+
4361+ connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close()));
4362+
4363+ connect(ui->restoreDefaultsButton, SIGNAL(clicked()), this, SLOT(restoreDefaults()));
4364+ connect(ui->saveSettingsButton, SIGNAL(clicked()), this, SLOT(saveSettings()));
4365+
4366+ // About tab
4367+ setAboutHtml();
4368+ StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui());
4369+ Q_ASSERT(gui);
4370+ ui->aboutTextBrowser->document()->setDefaultStyleSheet(QString(gui->getStelStyle().htmlStyleSheet));
4371+
4372+ updateGuiFromSettings();
4373+
4374+}
4375+
4376+void NovaeDialog::setAboutHtml(void)
4377+{
4378+ QString html = "<html><head></head><body>";
4379+ html += "<h2>" + q_("Novae Plug-in") + "</h2><table width=\"90%\">";
4380+ html += "<tr width=\"30%\"><td><strong>" + q_("Version") + ":</strong></td><td>" + NOVAE_PLUGIN_VERSION + "</td></tr>";
4381+ html += "<tr><td><strong>" + q_("Author") + ":</strong></td><td>Alexander Wolf &lt;alex.v.wolf@gmail.com&gt;</td></tr>";
4382+ html += "</table>";
4383+
4384+ html += "<p>" + q_("A plugin that shows some bright novae in the Milky Way galaxy.");
4385+ html += " " + q_("You can find novae via search tool by entering designation of nova or its common name (e.g. 'Nova Cygni 1975' or 'V1500 Cyg').") + "</p>";
4386+
4387+ html += "<h3>" + q_("Light curves") + "</h3>";
4388+ html += q_("This plugin uses a very simple model for calculation of light curves for novae stars.") + " ";
4389+ html += q_("This model is based on time for decay by %1 magnitudes from the maximum value, where %1 is 2, 3, 6 and 9.").arg("<em>N</em>") + " ";
4390+ html += q_("If a nova has no values for decay of magnitude then this plugin will use generalized values for it.");
4391+ html += "<p>";
4392+
4393+ html += "<h3>" + q_("Links") + "</h3>";
4394+ html += "<p>" + QString(q_("Support is provided via the Launchpad website. Be sure to put \"%1\" in the subject when posting.")).arg("Bright Novae plugin") + "</p>";
4395+ html += "<p><ul>";
4396+ // TRANSLATORS: The numbers contain the opening and closing tag of an HTML link
4397+ html += "<li>" + QString(q_("If you have a question, you can %1get an answer here%2").arg("<a href=\"https://answers.launchpad.net/stellarium\">")).arg("</a>") + "</li>";
4398+ // TRANSLATORS: The numbers contain the opening and closing tag of an HTML link
4399+ html += "<li>" + QString(q_("Bug reports can be made %1here%2.")).arg("<a href=\"https://bugs.launchpad.net/stellarium\">").arg("</a>") + "</li>";
4400+ // TRANSLATORS: The numbers contain the opening and closing tag of an HTML link
4401+ html += "<li>" + q_("If you would like to make a feature request, you can create a bug report, and set the severity to \"wishlist\".") + "</li>";
4402+ // TRANSLATORS: The numbers contain the opening and closing tag of an HTML link
4403+ html += "<li>" + q_("If you want to read full information about this plugin, its history and catalog format, you can %1get info here%2.").arg("<a href=\"http://stellarium.org/wiki/index.php/Bright_Novae_plugin\">").arg("</a>") + "</li>";
4404+ html += "</ul></p></body></html>";
4405+
4406+ StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui());
4407+ Q_ASSERT(gui);
4408+ QString htmlStyleSheet(gui->getStelStyle().htmlStyleSheet);
4409+ ui->aboutTextBrowser->document()->setDefaultStyleSheet(htmlStyleSheet);
4410+
4411+ ui->aboutTextBrowser->setHtml(html);
4412+}
4413+
4414+void NovaeDialog::refreshUpdateValues(void)
4415+{
4416+ ui->lastUpdateDateTimeEdit->setDateTime(GETSTELMODULE(Novae)->getLastUpdate());
4417+ ui->updateFrequencySpinBox->setValue(GETSTELMODULE(Novae)->getUpdateFrequencyDays());
4418+ int secondsToUpdate = GETSTELMODULE(Novae)->getSecondsToUpdate();
4419+ ui->internetUpdatesCheckbox->setChecked(GETSTELMODULE(Novae)->getUpdatesEnabled());
4420+ if (!GETSTELMODULE(Novae)->getUpdatesEnabled())
4421+ ui->nextUpdateLabel->setText(q_("Internet updates disabled"));
4422+ else if (GETSTELMODULE(Novae)->getUpdateState() == Novae::Updating)
4423+ ui->nextUpdateLabel->setText(q_("Updating now..."));
4424+ else if (secondsToUpdate <= 60)
4425+ ui->nextUpdateLabel->setText(q_("Next update: < 1 minute"));
4426+ else if (secondsToUpdate < 3600)
4427+ ui->nextUpdateLabel->setText(QString(q_("Next update: %1 minutes")).arg((secondsToUpdate/60)+1));
4428+ else if (secondsToUpdate < 86400)
4429+ ui->nextUpdateLabel->setText(QString(q_("Next update: %1 hours")).arg((secondsToUpdate/3600)+1));
4430+ else
4431+ ui->nextUpdateLabel->setText(QString(q_("Next update: %1 days")).arg((secondsToUpdate/86400)+1));
4432+}
4433+
4434+void NovaeDialog::setUpdateValues(int days)
4435+{
4436+ GETSTELMODULE(Novae)->setUpdateFrequencyDays(days);
4437+ refreshUpdateValues();
4438+}
4439+
4440+void NovaeDialog::setUpdatesEnabled(int checkState)
4441+{
4442+ bool b = checkState != Qt::Unchecked;
4443+ GETSTELMODULE(Novae)->setUpdatesEnabled(b);
4444+ ui->updateFrequencySpinBox->setEnabled(b);
4445+ if(b)
4446+ ui->updateButton->setText(q_("Update now"));
4447+ else
4448+ ui->updateButton->setText(q_("Update from files"));
4449+
4450+ refreshUpdateValues();
4451+}
4452+
4453+void NovaeDialog::updateStateReceiver(Novae::UpdateState state)
4454+{
4455+ //qDebug() << "NovaeDialog::updateStateReceiver got a signal";
4456+ if (state==Novae::Updating)
4457+ ui->nextUpdateLabel->setText(q_("Updating now..."));
4458+ else if (state==Novae::DownloadError || state==Novae::OtherError)
4459+ {
4460+ ui->nextUpdateLabel->setText(q_("Update error"));
4461+ updateTimer->start(); // make sure message is displayed for a while...
4462+ }
4463+}
4464+
4465+void NovaeDialog::updateCompleteReceiver(void)
4466+{
4467+ ui->nextUpdateLabel->setText(QString(q_("Novae is updated")));
4468+ // display the status for another full interval before refreshing status
4469+ updateTimer->start();
4470+ ui->lastUpdateDateTimeEdit->setDateTime(GETSTELMODULE(Novae)->getLastUpdate());
4471+ QTimer *timer = new QTimer(this);
4472+ connect(timer, SIGNAL(timeout()), this, SLOT(refreshUpdateValues()));
4473+}
4474+
4475+void NovaeDialog::restoreDefaults(void)
4476+{
4477+ qDebug() << "Novae::restoreDefaults";
4478+ GETSTELMODULE(Novae)->restoreDefaults();
4479+ GETSTELMODULE(Novae)->readSettingsFromConfig();
4480+ updateGuiFromSettings();
4481+}
4482+
4483+void NovaeDialog::updateGuiFromSettings(void)
4484+{
4485+ ui->internetUpdatesCheckbox->setChecked(GETSTELMODULE(Novae)->getUpdatesEnabled());
4486+ refreshUpdateValues();
4487+}
4488+
4489+void NovaeDialog::saveSettings(void)
4490+{
4491+ GETSTELMODULE(Novae)->saveSettingsToConfig();
4492+}
4493+
4494+void NovaeDialog::updateJSON(void)
4495+{
4496+ if(GETSTELMODULE(Novae)->getUpdatesEnabled())
4497+ {
4498+ GETSTELMODULE(Novae)->updateJSON();
4499+ }
4500+}
4501
4502=== added file 'plugins/Novae/src/gui/NovaeDialog.hpp'
4503--- plugins/Novae/src/gui/NovaeDialog.hpp 1970-01-01 00:00:00 +0000
4504+++ plugins/Novae/src/gui/NovaeDialog.hpp 2013-08-24 18:42:27 +0000
4505@@ -0,0 +1,64 @@
4506+/*
4507+ * Stellarium Novae Plug-in GUI
4508+ *
4509+ * Copyright (C) 2013 Alexander Wolf
4510+ *
4511+ * This program is free software; you can redistribute it and/or
4512+ * modify it under the terms of the GNU General Public License
4513+ * as published by the Free Software Foundation; either version 2
4514+ * of the License, or (at your option) any later version.
4515+ *
4516+ * This program is distributed in the hope that it will be useful,
4517+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
4518+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4519+ * GNU General Public License for more details.
4520+ *
4521+ * You should have received a copy of the GNU General Public License
4522+ * along with this program; if not, write to the Free Software
4523+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
4524+*/
4525+
4526+#ifndef _NOVAEDIALOG_HPP_
4527+#define _NOVAEDIALOG_HPP_
4528+
4529+#include <QObject>
4530+#include "StelDialog.hpp"
4531+#include "Novae.hpp"
4532+
4533+class Ui_novaeDialog;
4534+class QTimer;
4535+
4536+class NovaeDialog : public StelDialog
4537+{
4538+ Q_OBJECT
4539+
4540+public:
4541+ NovaeDialog();
4542+ ~NovaeDialog();
4543+
4544+protected:
4545+ //! Initialize the dialog widgets and connect the signals/slots
4546+ void createDialogContent();
4547+
4548+public slots:
4549+ void retranslate();
4550+ void refreshUpdateValues(void);
4551+
4552+private slots:
4553+ void setUpdateValues(int days);
4554+ void setUpdatesEnabled(int checkState);
4555+ void updateStateReceiver(Novae::UpdateState state);
4556+ void updateCompleteReceiver();
4557+ void restoreDefaults(void);
4558+ void saveSettings(void);
4559+ void updateJSON(void);
4560+
4561+private:
4562+ Ui_novaeDialog* ui;
4563+ void setAboutHtml(void);
4564+ void updateGuiFromSettings(void);
4565+ QTimer* updateTimer;
4566+
4567+};
4568+
4569+#endif // _NOVAEDIALOG_HPP_
4570
4571=== added file 'plugins/Novae/src/gui/novaeDialog.ui'
4572--- plugins/Novae/src/gui/novaeDialog.ui 1970-01-01 00:00:00 +0000
4573+++ plugins/Novae/src/gui/novaeDialog.ui 2013-08-24 18:42:27 +0000
4574@@ -0,0 +1,311 @@
4575+<?xml version="1.0" encoding="UTF-8"?>
4576+<ui version="4.0">
4577+ <class>novaeDialog</class>
4578+ <widget class="QWidget" name="novaeDialog">
4579+ <property name="geometry">
4580+ <rect>
4581+ <x>0</x>
4582+ <y>0</y>
4583+ <width>537</width>
4584+ <height>465</height>
4585+ </rect>
4586+ </property>
4587+ <property name="windowTitle">
4588+ <string>Novae Configuration</string>
4589+ </property>
4590+ <layout class="QVBoxLayout" name="verticalLayout_2">
4591+ <property name="spacing">
4592+ <number>0</number>
4593+ </property>
4594+ <property name="margin">
4595+ <number>0</number>
4596+ </property>
4597+ <item>
4598+ <widget class="BarFrame" name="TitleBar">
4599+ <property name="sizePolicy">
4600+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
4601+ <horstretch>0</horstretch>
4602+ <verstretch>0</verstretch>
4603+ </sizepolicy>
4604+ </property>
4605+ <property name="minimumSize">
4606+ <size>
4607+ <width>530</width>
4608+ <height>25</height>
4609+ </size>
4610+ </property>
4611+ <property name="maximumSize">
4612+ <size>
4613+ <width>16777215</width>
4614+ <height>25</height>
4615+ </size>
4616+ </property>
4617+ <property name="focusPolicy">
4618+ <enum>Qt::NoFocus</enum>
4619+ </property>
4620+ <property name="autoFillBackground">
4621+ <bool>false</bool>
4622+ </property>
4623+ <property name="frameShape">
4624+ <enum>QFrame::StyledPanel</enum>
4625+ </property>
4626+ <layout class="QHBoxLayout">
4627+ <property name="spacing">
4628+ <number>0</number>
4629+ </property>
4630+ <property name="leftMargin">
4631+ <number>0</number>
4632+ </property>
4633+ <property name="topMargin">
4634+ <number>0</number>
4635+ </property>
4636+ <property name="rightMargin">
4637+ <number>4</number>
4638+ </property>
4639+ <property name="bottomMargin">
4640+ <number>0</number>
4641+ </property>
4642+ <item>
4643+ <spacer>
4644+ <property name="orientation">
4645+ <enum>Qt::Horizontal</enum>
4646+ </property>
4647+ <property name="sizeHint" stdset="0">
4648+ <size>
4649+ <width>40</width>
4650+ <height>20</height>
4651+ </size>
4652+ </property>
4653+ </spacer>
4654+ </item>
4655+ <item>
4656+ <widget class="QLabel" name="stelWindowTitle">
4657+ <property name="text">
4658+ <string>Bright Novae Plug-in Configuration</string>
4659+ </property>
4660+ </widget>
4661+ </item>
4662+ <item>
4663+ <spacer>
4664+ <property name="orientation">
4665+ <enum>Qt::Horizontal</enum>
4666+ </property>
4667+ <property name="sizeHint" stdset="0">
4668+ <size>
4669+ <width>40</width>
4670+ <height>20</height>
4671+ </size>
4672+ </property>
4673+ </spacer>
4674+ </item>
4675+ <item>
4676+ <widget class="QPushButton" name="closeStelWindow">
4677+ <property name="minimumSize">
4678+ <size>
4679+ <width>16</width>
4680+ <height>16</height>
4681+ </size>
4682+ </property>
4683+ <property name="maximumSize">
4684+ <size>
4685+ <width>16</width>
4686+ <height>16</height>
4687+ </size>
4688+ </property>
4689+ <property name="focusPolicy">
4690+ <enum>Qt::NoFocus</enum>
4691+ </property>
4692+ <property name="text">
4693+ <string/>
4694+ </property>
4695+ </widget>
4696+ </item>
4697+ </layout>
4698+ </widget>
4699+ </item>
4700+ <item>
4701+ <widget class="QTabWidget" name="tabs">
4702+ <property name="currentIndex">
4703+ <number>0</number>
4704+ </property>
4705+ <property name="documentMode">
4706+ <bool>false</bool>
4707+ </property>
4708+ <widget class="QWidget" name="settingsTab">
4709+ <attribute name="title">
4710+ <string>Settings</string>
4711+ </attribute>
4712+ <layout class="QVBoxLayout" name="verticalLayout_3">
4713+ <item>
4714+ <widget class="QGroupBox" name="updatesGroup">
4715+ <property name="title">
4716+ <string>Update catalog from Internet</string>
4717+ </property>
4718+ <property name="flat">
4719+ <bool>true</bool>
4720+ </property>
4721+ <property name="checkable">
4722+ <bool>false</bool>
4723+ </property>
4724+ <layout class="QVBoxLayout" name="verticalLayout_12">
4725+ <item>
4726+ <widget class="QCheckBox" name="internetUpdatesCheckbox">
4727+ <property name="text">
4728+ <string>Update from Internet sources</string>
4729+ </property>
4730+ </widget>
4731+ </item>
4732+ <item>
4733+ <layout class="QGridLayout" name="gridLayout">
4734+ <item row="0" column="0">
4735+ <widget class="QLabel" name="lastUpdateLabel">
4736+ <property name="text">
4737+ <string>Last update:</string>
4738+ </property>
4739+ </widget>
4740+ </item>
4741+ <item row="0" column="2">
4742+ <widget class="QDateTimeEdit" name="lastUpdateDateTimeEdit">
4743+ <property name="enabled">
4744+ <bool>false</bool>
4745+ </property>
4746+ <property name="frame">
4747+ <bool>false</bool>
4748+ </property>
4749+ <property name="buttonSymbols">
4750+ <enum>QAbstractSpinBox::NoButtons</enum>
4751+ </property>
4752+ </widget>
4753+ </item>
4754+ <item row="1" column="0">
4755+ <widget class="QLabel" name="updateFrequencyLabel">
4756+ <property name="text">
4757+ <string>Update frequency (days):</string>
4758+ </property>
4759+ </widget>
4760+ </item>
4761+ <item row="1" column="2">
4762+ <widget class="QSpinBox" name="updateFrequencySpinBox">
4763+ <property name="minimum">
4764+ <number>1</number>
4765+ </property>
4766+ <property name="maximum">
4767+ <number>9999</number>
4768+ </property>
4769+ <property name="value">
4770+ <number>1</number>
4771+ </property>
4772+ </widget>
4773+ </item>
4774+ <item row="2" column="0">
4775+ <widget class="QLabel" name="nextUpdateLabel">
4776+ <property name="text">
4777+ <string>[next update info]</string>
4778+ </property>
4779+ </widget>
4780+ </item>
4781+ <item row="2" column="1">
4782+ <spacer name="horizontalSpacer">
4783+ <property name="orientation">
4784+ <enum>Qt::Horizontal</enum>
4785+ </property>
4786+ <property name="sizeHint" stdset="0">
4787+ <size>
4788+ <width>17</width>
4789+ <height>20</height>
4790+ </size>
4791+ </property>
4792+ </spacer>
4793+ </item>
4794+ <item row="2" column="2">
4795+ <widget class="QPushButton" name="updateButton">
4796+ <property name="text">
4797+ <string>Update now</string>
4798+ </property>
4799+ </widget>
4800+ </item>
4801+ </layout>
4802+ </item>
4803+ </layout>
4804+ </widget>
4805+ </item>
4806+ <item>
4807+ <spacer name="verticalSpacer_3">
4808+ <property name="orientation">
4809+ <enum>Qt::Vertical</enum>
4810+ </property>
4811+ <property name="sizeHint" stdset="0">
4812+ <size>
4813+ <width>20</width>
4814+ <height>120</height>
4815+ </size>
4816+ </property>
4817+ </spacer>
4818+ </item>
4819+ <item>
4820+ <layout class="QHBoxLayout" name="horizontalLayout_7">
4821+ <item>
4822+ <widget class="QPushButton" name="restoreDefaultsButton">
4823+ <property name="sizePolicy">
4824+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
4825+ <horstretch>0</horstretch>
4826+ <verstretch>0</verstretch>
4827+ </sizepolicy>
4828+ </property>
4829+ <property name="text">
4830+ <string>Restore default settings</string>
4831+ </property>
4832+ </widget>
4833+ </item>
4834+ <item>
4835+ <widget class="QPushButton" name="saveSettingsButton">
4836+ <property name="sizePolicy">
4837+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
4838+ <horstretch>0</horstretch>
4839+ <verstretch>0</verstretch>
4840+ </sizepolicy>
4841+ </property>
4842+ <property name="text">
4843+ <string>Save settings as default</string>
4844+ </property>
4845+ </widget>
4846+ </item>
4847+ </layout>
4848+ </item>
4849+ </layout>
4850+ </widget>
4851+ <widget class="QWidget" name="aboutTab">
4852+ <attribute name="title">
4853+ <string comment="tab in plugin windows">About</string>
4854+ </attribute>
4855+ <layout class="QVBoxLayout" name="verticalLayout_11">
4856+ <property name="spacing">
4857+ <number>9</number>
4858+ </property>
4859+ <item>
4860+ <widget class="QTextBrowser" name="aboutTextBrowser">
4861+ <property name="openExternalLinks">
4862+ <bool>true</bool>
4863+ </property>
4864+ <property name="openLinks">
4865+ <bool>true</bool>
4866+ </property>
4867+ </widget>
4868+ </item>
4869+ </layout>
4870+ </widget>
4871+ </widget>
4872+ </item>
4873+ </layout>
4874+ </widget>
4875+ <customwidgets>
4876+ <customwidget>
4877+ <class>BarFrame</class>
4878+ <extends>QFrame</extends>
4879+ <header>Dialog.hpp</header>
4880+ <container>1</container>
4881+ </customwidget>
4882+ </customwidgets>
4883+ <resources/>
4884+ <connections/>
4885+</ui>
4886
4887=== modified file 'po/stellarium/POTFILES.in'
4888--- po/stellarium/POTFILES.in 2013-02-16 10:52:56 +0000
4889+++ po/stellarium/POTFILES.in 2013-08-24 18:42:27 +0000
4890@@ -84,6 +84,10 @@
4891 plugins/Supernovae/src/Supernova.cpp
4892 plugins/Supernovae/src/gui/SupernovaeDialog.cpp
4893 plugins/Supernovae/src/ui_supernovaeDialog.h
4894+plugins/Novae/src/Novae.cpp
4895+plugins/Novae/src/Nova.cpp
4896+plugins/Novae/src/gui/NovaeDialog.cpp
4897+plugins/Novae/src/ui_novaeDialog.h
4898 plugins/Quasars/src/Quasars.cpp
4899 plugins/Quasars/src/Quasar.cpp
4900 plugins/Quasars/src/gui/QuasarsDialog.cpp
4901
4902=== modified file 'src/CMakeLists.txt'
4903--- src/CMakeLists.txt 2013-06-01 18:52:59 +0000
4904+++ src/CMakeLists.txt 2013-08-24 18:42:27 +0000
4905@@ -526,6 +526,11 @@
4906 SET(QT_USE_QTSQL TRUE)
4907 ENDIF()
4908
4909+ IF (USE_PLUGIN_NOVAE)
4910+ SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Novae/src/${CMAKE_CFG_INTDIR}/libNovae.a")
4911+ ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_NOVAE)
4912+ ENDIF()
4913+
4914 IF (USE_PLUGIN_OBSERVABILITY)
4915 SET(STELLARIUM_STATIC_PLUGINS_LIBRARIES ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} "${CMAKE_BINARY_DIR}/plugins/Observability/src/${CMAKE_CFG_INTDIR}/libObservability.a")
4916 ADD_DEFINITIONS(-DUSE_STATIC_PLUGIN_OBSERVABILITY)
4917
4918=== modified file 'src/StelMainGraphicsView.cpp'
4919--- src/StelMainGraphicsView.cpp 2013-07-23 13:51:31 +0000
4920+++ src/StelMainGraphicsView.cpp 2013-08-24 18:42:27 +0000
4921@@ -92,6 +92,10 @@
4922 Q_IMPORT_PLUGIN(LogBook)
4923 #endif
4924
4925+#ifdef USE_STATIC_PLUGIN_NOVAE
4926+Q_IMPORT_PLUGIN(Novae)
4927+#endif
4928+
4929 #ifdef USE_STATIC_PLUGIN_OCULARS
4930 Q_IMPORT_PLUGIN(Oculars)
4931 #endif
4932
4933=== modified file 'src/translations.h'
4934--- src/translations.h 2013-07-21 11:55:38 +0000
4935+++ src/translations.h 2013-08-24 18:42:27 +0000
4936@@ -668,6 +668,9 @@
4937
4938 // Historical Supernovae Plugin
4939 N_("Historical Supernovae configuration window");
4940+
4941+ // Bright Novae Plugin
4942+ N_("Bright Novae configuration window");
4943
4944 // Telescope Control Plugin
4945 N_("Move a telescope to a given set of coordinates");