• 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
WIView Class Reference

#include <wiview.h>

Inheritance diagram for WIView:
Inheritance graph
[legend]

Public Slots

void onCategorySelected (int type)
 
void onDetailsButtonClicked ()
 
void onNextObjClicked ()
 
void onPrevObjClicked ()
 
void onReloadIconClicked ()
 
void onSettingsIconClicked ()
 
void onSlewButtonClicked ()
 
void onSoListItemClicked (int type, QString typeName, int index)
 

Public Member Functions

 WIView (QWidget *parent=0, ObsConditions *obs=0)
 
 ~WIView ()
 
QDeclarativeView * getWIBaseView () const
 
void loadDetailsView (SkyObjItem *soitem, int index)
 
void updateModels (ObsConditions *obs)
 

Detailed Description

Manages the QML user interface for What's Interesting.

WIView is used to display the QML UI using a QDeclarativeView. It acts on all signals emitted by the UI and manages the data sent to the UI for display.

Author
Samikshan Bairagya

Definition at line 37 of file wiview.h.

Constructor & Destructor Documentation

WIView::WIView ( QWidget *  parent = 0,
ObsConditions *  obs = 0 
)

Constructor - Store QML components as QObject pointers.

Connect signals from various QML components into public slots. Displays the user interface for What's Interesting

To use i18n() instead of qsTr() in qml/wiview.qml for translation

Definition at line 28 of file wiview.cpp.

WIView::~WIView ( )

Destructor.

Definition at line 77 of file wiview.cpp.

Member Function Documentation

QDeclarativeView* WIView::getWIBaseView ( ) const
inline

Definition at line 64 of file wiview.h.

void WIView::loadDetailsView ( SkyObjItem *  soitem,
int  index 
)

Load details-view for selected sky-object.

Definition at line 164 of file wiview.cpp.

void WIView::onCategorySelected ( int  type)
slot

public slot - Act upon signal emitted when category of sky-object is selected from category selection view of the QML UI.

Parameters
typeCategory selected

Definition at line 83 of file wiview.cpp.

void WIView::onDetailsButtonClicked ( )
slot

public slot - Open Details Dialog to show more details for current sky-object.

Code taken from WUTDialog::slotDetails()

Definition at line 128 of file wiview.cpp.

void WIView::onNextObjClicked ( )
slot

public slot - Show details-view for next sky-object from list of current sky-objects's category.

Definition at line 101 of file wiview.cpp.

void WIView::onPrevObjClicked ( )
slot

public slot - Show details-view for previous sky-object from list of current sky-objects's category.

Definition at line 108 of file wiview.cpp.

void WIView::onReloadIconClicked ( )
slot

public slot - Reload list of visible sky-objects.

Definition at line 144 of file wiview.cpp.

void WIView::onSettingsIconClicked ( )
slot

public slot - Open WI settings dialog.

Definition at line 138 of file wiview.cpp.

void WIView::onSlewButtonClicked ( )
slot

public slot - Slew map to current sky-object in the details view.

Slew map to selected sky-object

Definition at line 115 of file wiview.cpp.

void WIView::onSoListItemClicked ( int  type,
QString  typeName,
int  index 
)
slot

public slot - Act upon signal emitted when an item is selected from list of sky-objects.

Display details-view for the skyobject selected.

Parameters
typeCategory selected.
typenameName of category selected.
indexIndex of item in the list of skyobjects.

Definition at line 89 of file wiview.cpp.

void WIView::updateModels ( ObsConditions *  obs)

Updates sky-object list models.

Definition at line 149 of file wiview.cpp.


The documentation for this class was generated from the following files:
  • wiview.h
  • wiview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:23 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