kstars
#include <wiview.h>

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.
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
void WIView::loadDetailsView | ( | SkyObjItem * | soitem, |
int | index | ||
) |
Load details-view for selected sky-object.
Definition at line 164 of file wiview.cpp.
|
slot |
public slot - Act upon signal emitted when category of sky-object is selected from category selection view of the QML UI.
- Parameters
-
type Category selected
Definition at line 83 of file wiview.cpp.
|
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.
|
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.
|
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.
|
slot |
public slot - Reload list of visible sky-objects.
Definition at line 144 of file wiview.cpp.
|
slot |
public slot - Open WI settings dialog.
Definition at line 138 of file wiview.cpp.
|
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.
|
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
-
type Category selected. typename Name of category selected. index Index 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:
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.