• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

ObservingList Class Reference

Tool window for managing a custom list of objects. More...

#include <observinglist.h>

Inheritance diagram for ObservingList:

Inheritance graph
[legend]

List of all members.


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

Author:
Jeff Woods, Jason Harris
Version:
1.0

Definition at line 58 of file observinglist.h.


Constructor & Destructor Documentation

ObservingList::ObservingList ( KStars *  _ks,
QWidget *  parent = 0 
)

Cunstructor.

Definition at line 56 of file observinglist.cpp.

ObservingList::~ObservingList (  )  [inline]

Destuctor (empty).

Definition at line 68 of file observinglist.h.


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]

Show the details window for the selected object.

Definition at line 478 of file observinglist.cpp.

void ObservingList::slotCenterObject (  )  [slot]

center the selected object in the display

Definition at line 330 of file observinglist.cpp.

void ObservingList::slotClose (  )  [protected, slot]

Definition at line 490 of file observinglist.cpp.

void ObservingList::slotDetails (  )  [slot]

Show the details window for the selected object.

Definition at line 471 of file observinglist.cpp.

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]

load an observing list from disk.

Definition at line 512 of file observinglist.cpp.

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]

save the current observing list to disk.

Definition at line 622 of file observinglist.cpp.

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]

slew the telescope to the selected object

Definition at line 338 of file observinglist.cpp.

void ObservingList::slotToggleSize (  )  [slot]

toggle between the large and small window states

Definition at line 677 of file observinglist.cpp.

void ObservingList::slotWizard (  )  [slot]

construct a new observing list using the wizard.

Definition at line 665 of file observinglist.cpp.


The documentation for this class was generated from the following files:
  • observinglist.h
  • observinglist.cpp

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal