DataInfo Class Reference
The widget for the Data Info tab page. More...
#include <datainfo.h>
Inherits QWidget.
Inheritance diagram for DataInfo:


Public Slots | |
| void | refreshList () |
| void | slotUpdateList (SetiLoc *loc, int type) |
Public Methods | |
| DataInfo (QWidget *parent=0, const char *name=0) | |
| ~DataInfo () | |
Protected Types | |
| enum | ColumnIds |
Protected Slots | |
| void | slotUpdateWorkUnitData () |
| void | showMap () |
| void | toggleSorting (int column) |
Protected Methods | |
| void | resizeEvent (QResizeEvent *e) |
| void | paintEvent (QPaintEvent *e) |
| void | refreshListItem (SetiLoc *loc, DataInfoListViewItem *it=0) |
Protected Attributes | |
| popListView * | QListView_1 |
| QDict< DataInfoListViewItem > | lvDict |
| QPushButton * | QPushButton_1 |
Detailed Description
The widget for the Data Info tab page.This widget contains a list view with information about the work units currently being processed.
Definition at line 52 of file datainfo.h.
Member Enumeration Documentation
|
|
Identifiers for the columns in the Data Info list view.
Definition at line 128 of file datainfo.h. |
Constructor & Destructor Documentation
|
||||||||||||
|
The constructor.
Definition at line 54 of file datainfo.cpp. References QListView::addColumn(), QObject::connect(), QListView::header(), lvDict, QWidget::move(), QListView_1, QPushButton_1, refreshList(), QListView::setColumnAlignment(), QListView::setColumnWidth(), popListView::setPopupStyle(), QListView::setShowSortIndicator(), QPushButton::setText(), showMap(), toggleSorting(), and QWidget::width(). |
|
|
The destructor.
Definition at line 96 of file datainfo.cpp. |
Member Function Documentation
|
|
Refreshes all items in the list view. If corresponding list view item for a S@h location does not exist, it is created on-the-fly. Definition at line 116 of file datainfo.cpp. References QList< SetiLoc >::first(), SetiLoc::id(), Ksetiwatch::locationList(), lvDict, QList< SetiLoc >::next(), refreshListItem(), and slotUpdateList(). Referenced by DataInfo(). |
|
||||||||||||
|
Updates the private dictionary of S@h locations. Updates the private list of S@h locations with the location loc. The type parameter specifies what to do with loc.
Definition at line 132 of file datainfo.cpp. References QObject::connect(), QObject::disconnect(), SetiLoc::id(), QDict< DataInfoListViewItem >::insert(), lvDict, QListView_1, refreshListItem(), QDict< DataInfoListViewItem >::remove(), and slotUpdateWorkUnitData(). Referenced by refreshList(). |
|
|
Resizes and rearranges widgets in the tab page when the window size changes. A relict from ancient times when there were no layout widgets.
Reimplemented from QWidget. Definition at line 101 of file datainfo.cpp. References QWidget::height(), QListView_1, QPushButton_1, QWidget::resize(), and QWidget::y(). |
|
|
Reimplemented to tell the list view whether it shall draw grid lines.
Reimplemented from QWidget. Definition at line 109 of file datainfo.cpp. References globalopts, QWidget::paintEvent(), QListView_1, and popListView::setGridEnabled(). |
|
||||||||||||
|
Refreshes all columns of the list view item of location loc.
Definition at line 166 of file datainfo.cpp. References SetiContainer::angleRange(), SetiContainer::baseFrequency(), SetiContainer::convertDecToString(), SetiContainer::convertRAToString(), SetiLoc::description(), SetiContainer::exists(), SetiLoc::id(), lvDict, QString::number(), SetiContainer::receiver(), QString::setNum(), QListViewItem::setText(), SetiContainer::startDec(), SetiContainer::startRA(), SetiContainer::teraFlops(), and SetiContainer::timeRecordedString(). Referenced by refreshList(), slotUpdateList(), and slotUpdateWorkUnitData(). |
|
|
Determines the sender of the signal and refreshes the corresponding item in the Data Info list.
Definition at line 229 of file datainfo.cpp. References refreshListItem(), and QObject::sender(). Referenced by slotUpdateList(). |
|
|
Opens the skymap window.
Definition at line 205 of file datainfo.cpp. References SkyMap::addLocation(), SkyMap::clearMap(), QList< SetiLoc >::first(), Ksetiwatch::locationList(), QList< SetiLoc >::next(), QWidget::repaint(), and SkyMap::showMap(). Referenced by DataInfo(). |
|
|
Toggles the sorting order of column column.
Definition at line 222 of file datainfo.cpp. References QListView_1, and QListView::setSorting(). Referenced by DataInfo(). |
Member Data Documentation
|
|
The list view shown in the Data Info tab page.
Definition at line 119 of file datainfo.h. Referenced by DataInfo(), paintEvent(), resizeEvent(), slotUpdateList(), and toggleSorting(). |
|
|
A dictionary that stores all the list view items currently shown in the Data Info tab page. Items are identified by the unique ID of a S@h location. Definition at line 123 of file datainfo.h. Referenced by DataInfo(), refreshList(), refreshListItem(), and slotUpdateList(). |
|
|
The button that needs to be clicked to open the skymap window.
Definition at line 125 of file datainfo.h. Referenced by DataInfo(), and resizeEvent(). |
The documentation for this class was generated from the following files:

