• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Slots | Public Member Functions | List of all members
DetailDialog Class Reference

#include <detaildialog.h>

Inheritance diagram for DetailDialog:
Inheritance graph
[legend]

Public Slots

void addToObservingList ()
 
void centerMap ()
 
void centerTelescope ()
 
void editLinkDialog ()
 
void removeLinkDialog ()
 
void saveLogData ()
 
void setCurrentLink (QListWidgetItem *it)
 
void showThumbnail ()
 
void updateButtons ()
 
void updateLists ()
 
void updateThumbnail ()
 
void viewADVData ()
 
void viewLink ()
 

Public Member Functions

 DetailDialog (SkyObject *o, const KStarsDateTime &ut, GeoLocation *geo, QWidget *parent=0)
 
 ~DetailDialog ()
 
QPixmap * thumbnail ()
 

Detailed Description

window showing detailed information for a selected object.

The window is split into four Tabs: General, Links, Advanced and Log. The General Tab displays some type-specific data about the object, as well as its present coordinates and Rise/Set/Transit times for the current date. The Type-specific data are:

  • Stars: common name, genetive name, Spectral type, magnitude, distance
  • Solar System: name, object type (planet/comet/asteroid), Distance, magnitude (TBD), angular size (TBD)
  • Deep Sky: Common name, other names, object type, magnitude, angular size

The Links Tab allows the user to manage the list of Image and Information links listed in the object's popup menu. The Advanced Tab allows the user to query a number of professional-grade online astronomical databases for data on the object. The Log tab allows the user to attach their own text notes about the object.

The General Tab includes a clickable image of the object. Clicking the image opens a Thumbnail picker tool, which downloads a list of mages of the object from the network, which the user may select as the new image for this objects Details window.

Author
Jason Harris, Jasem Mutlaq
Version
1.0

Definition at line 88 of file detaildialog.h.

Constructor & Destructor Documentation

DetailDialog::DetailDialog ( SkyObject *  o,
const KStarsDateTime &  ut,
GeoLocation *  geo,
QWidget *  parent = 0 
)

Constructor.

Definition at line 69 of file detaildialog.cpp.

DetailDialog::~DetailDialog ( )

Destructor.

Definition at line 94 of file detaildialog.cpp.

Member Function Documentation

void DetailDialog::addToObservingList ( )
slot

Slot to add this object to the observing list.

Definition at line 1004 of file detaildialog.cpp.

void DetailDialog::centerMap ( )
slot

Slot to center this object in the display.

Definition at line 1008 of file detaildialog.cpp.

void DetailDialog::centerTelescope ( )
slot

Slot to center this object in the telescope.

Definition at line 1014 of file detaildialog.cpp.

void DetailDialog::editLinkDialog ( )
slot

Open a dialog to edit a URL in either the Images or Info lists, and update the user's *url.dat file.

Definition at line 679 of file detaildialog.cpp.

void DetailDialog::removeLinkDialog ( )
slot

remove a URL entry from either the Images or Info lists, and update the user's *url.dat file.

Definition at line 772 of file detaildialog.cpp.

void DetailDialog::saveLogData ( )
slot

Save the User's text in the Log Tab to the userlog.dat file.

Definition at line 1000 of file detaildialog.cpp.

void DetailDialog::setCurrentLink ( QListWidgetItem *  it)
slot

Set the currently-selected URL resource.

This function is needed because there are two QListWidgets, each with its own selection. We need to know which the user selected most recently.

Definition at line 629 of file detaildialog.cpp.

void DetailDialog::showThumbnail ( )
slot

Slot to display the thumbnail image for the object.

Definition at line 1056 of file detaildialog.cpp.

QPixmap* DetailDialog::thumbnail ( )
inline
Returns
pointer to the QPixmap of the object's thumbnail image

Definition at line 102 of file detaildialog.h.

void DetailDialog::updateButtons ( )
slot

Update View/Edit/Remove buttons.

Definition at line 665 of file detaildialog.cpp.

void DetailDialog::updateLists ( )
slot

Rebuild the Image and Info URL lists for this object.

Note
used when an item is added to either list.

Definition at line 651 of file detaildialog.cpp.

void DetailDialog::updateThumbnail ( )
slot

Slot to update thumbnail image for the object, using the Thumbnail Picker tool.

See also
ThumbnailPicker

Definition at line 1085 of file detaildialog.cpp.

void DetailDialog::viewADVData ( )
slot

Open the web browser to the selected online astronomy database, with a query to the object of this Detail Dialog.

Definition at line 937 of file detaildialog.cpp.

void DetailDialog::viewLink ( )
slot

Slot for viewing the selected image or info URL in the web browser.

Definition at line 634 of file detaildialog.cpp.


The documentation for this class was generated from the following files:
  • detaildialog.h
  • detaildialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal