kstars
ObservingList Class Reference
Tool window for managing a custom list of objects. More...
#include <observinglist.h>

Public Slots | |
void | saveCurrentUserLog () |
void | slotAddObject (SkyObject *o=NULL) |
void | slotAVT () |
void | slotCenterObject () |
void | slotDetails () |
void | slotNewSelection () |
void | slotOpenList () |
void | slotPrepTable (QWidget *tab) |
void | slotRemoveObject (SkyObject *o=NULL) |
void | slotRemoveObjects () |
void | slotSaveList () |
void | slotSaveListAs () |
void | slotSlewToObject () |
void | slotToggleSize () |
void | slotWizard () |
Public Member Functions | |
bool | contains (const SkyObject *o) |
uint | count () const |
SkyObject * | first () |
bool | isLarge () const |
SkyObject * | next () |
ObservingList (KStars *_ks, QWidget *parent=0) | |
void | saveCurrentList () |
~ObservingList () | |
Protected Slots | |
void | slotClose () |
Detailed Description
Tool window for managing a custom list of objects.The window displays the Name, RA, Dec, mag, and type of each object in the list.
By selecting an object in the list, you can perform a number of functions on that object: + Center it in the display (TBD) + Examine its Details Window (TBD) + Point the telescope at it (TBD) + Attach a custom icon or name label (TBD) + Attach a trail (solar system only) (TBD) + Open the AltVsTime tool (TBD)
The user can also save/load their observing lists, and can export list data (TBD: as HTML table? CSV format? plain text?)
The observing notes associated with the selected object are displayed below the list. (TBD)
TODO: + Implement a "shaded" state, in which the UI is compressed to make it easier to float on the KStars window. Displays only object names, and single-letter action buttons, and no user log. + Implement an InfoBox version (the ultimate shaded state)
Tool for managing a custom list of objects
- Version:
- 1.0
Definition at line 58 of file observinglist.h.
Constructor & Destructor Documentation
ObservingList::~ObservingList | ( | ) | [inline] |
Member Function Documentation
bool ObservingList::contains | ( | const SkyObject * | o | ) |
- Returns:
- true if the object is in the observing list
o
pointer to the object to test.
Definition at line 124 of file observinglist.cpp.
uint ObservingList::count | ( | ) | const [inline] |
Definition at line 77 of file observinglist.h.
SkyObject* ObservingList::first | ( | ) | [inline] |
Definition at line 75 of file observinglist.h.
bool ObservingList::isLarge | ( | ) | const [inline] |
- Returns:
- true if the window is in its default "large" state.
Definition at line 81 of file observinglist.h.
SkyObject* ObservingList::next | ( | ) | [inline] |
Definition at line 76 of file observinglist.h.
void ObservingList::saveCurrentList | ( | ) |
If the current list has unsaved changes, ask the user about saving it.
- Note:
- also clears the list in preparation of opening a new one
Definition at line 589 of file observinglist.cpp.
void ObservingList::saveCurrentUserLog | ( | ) | [slot] |
Save the user log text to a file.
- Note:
- the log is attached to the current object in obsList.
Definition at line 500 of file observinglist.cpp.
void ObservingList::slotAddObject | ( | SkyObject * | o = NULL |
) | [slot] |
add a new object to list o
pointer to the object to add to the list
Definition at line 140 of file observinglist.cpp.
void ObservingList::slotAVT | ( | ) | [slot] |
void ObservingList::slotCenterObject | ( | ) | [slot] |
void ObservingList::slotClose | ( | ) | [protected, slot] |
Definition at line 490 of file observinglist.cpp.
void ObservingList::slotDetails | ( | ) | [slot] |
void ObservingList::slotNewSelection | ( | ) | [slot] |
Tasks needed when changing the selected object Save the user log of the previous selected object, find the new selected object in the obsList, and show the notes associated with the new selected object.
Definition at line 224 of file observinglist.cpp.
void ObservingList::slotOpenList | ( | ) | [slot] |
void ObservingList::slotPrepTable | ( | QWidget * | tab | ) | [slot] |
about to switch the visible table in the widget stack tab
pointer to the table which is about to be shown
Definition at line 134 of file observinglist.cpp.
void ObservingList::slotRemoveObject | ( | SkyObject * | o = NULL |
) | [slot] |
Remove skyobject from the observing list.
o
pointer to the SkyObject to be removed. Use SkyMap::clickedObject() if o is NULL (default)
Definition at line 170 of file observinglist.cpp.
void ObservingList::slotRemoveObjects | ( | ) | [slot] |
Remove skyobjects which are highlighted in the observing list tool from the observing list.
Definition at line 215 of file observinglist.cpp.
void ObservingList::slotSaveList | ( | ) | [slot] |
void ObservingList::slotSaveListAs | ( | ) | [slot] |
save the current observing list to disk, specify filename.
Definition at line 607 of file observinglist.cpp.
void ObservingList::slotSlewToObject | ( | ) | [slot] |
void ObservingList::slotToggleSize | ( | ) | [slot] |
void ObservingList::slotWizard | ( | ) | [slot] |
The documentation for this class was generated from the following files: