CompletedWUList Class Reference
The widget for the Completed Work Units tab page. More...
#include <completedwulist.h>
Inherits QWidget.
Inheritance diagram for CompletedWUList:
Detailed Description
The widget for the Completed Work Units tab page.
Definition at line 77 of file completedwulist.h.
Member Enumeration Documentation
|
Identifiers for the four different list views.
Definition at line 277 of file completedwulist.h. |
|
Identifiers for the columns in the WU list view.
Definition at line 279 of file completedwulist.h. |
|
Identifiers for the columns in the WU summary list view.
Definition at line 283 of file completedwulist.h. |
|
Identifiers for the columns in the signal list view.
Definition at line 287 of file completedwulist.h. |
|
Identifiers for the columns in the signal summary list view.
Definition at line 291 of file completedwulist.h. |
|
Identifiers for the right-click popup menu items.
Definition at line 295 of file completedwulist.h. |
Constructor & Destructor Documentation
|
The constructor.
Definition at line 123 of file completedwulist.cpp. References QListView::addColumn(), QObject::connect(), createList(), currentView, cwuList, fillTreeList(), handleSigListDoubleClick(), handleSigListPopupCommand(), handleTreeListPopupCommand(), handleWUListPopupCommand(), QListView::header(), QWidget::hide(), popListView::insertPopupItem(), popListView::popupMenu(), prepareTreeListPopupMenu(), popListView::setPopupStyle(), QSplitter::setResizeMode(), QListView::setRootIsDecorated(), QWidget::show(), splitview, toggleSorting(), and treelist. |
|
The destructor.
Definition at line 266 of file completedwulist.cpp. |
Member Function Documentation
|
Updates the tree list. Updates the tree list (at the left of the tab page) with S@h location loc. type specifies in detail what to do with loc (valid IDs are Ksetiwatch::ListAdd, Ksetiwatch::ListEdit, and Ksetiwatch::ListDelete).
Definition at line 1139 of file completedwulist.cpp. References refreshList(), and updateList(). |
|
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 271 of file completedwulist.cpp. References QWidget::height(), and splitview. |
|
Reimplemented to tell the list views whether they shall draw grid lines.
Reimplemented from QWidget. Definition at line 277 of file completedwulist.cpp. References cwuList, globalopts, QWidget::paintEvent(), and popListView::setGridEnabled(). |
|
Creates a list view. This method adds the columns defined in tc to the list view list.
Definition at line 310 of file completedwulist.cpp. References QListView::addColumn(), QListView::setColumnAlignment(), QListView::setColumnWidth(), Ksetiwatch::TableColumn::text, QWidget::width(), and Ksetiwatch::TableColumn::width. Referenced by CompletedWUList(). |
|
Fills the tree list view with items representing the different S@h locations.
Definition at line 285 of file completedwulist.cpp. References QObject::connect(), QList::first(), popListView::insertRootItem(), Ksetiwatch::locationList(), QList::next(), QListViewItem::setOpen(), QListView::setSelected(), QListView::setSorting(), slotSelect(), QListViewItem::sortChildItems(), treelist, and updateList(). Referenced by CompletedWUList(). |
|
Fills a list view with data about the logged WUs of S@h location loc.
The list of logged work units is read from the file
Definition at line 373 of file completedwulist.cpp. References QFile::atEnd(), QFile::close(), SetiContainer::convertDecToString(), SetiContainer::convertRAToString(), SetiContainer::convertTime(), cwuList, QString::find(), globalopts, QString::isEmpty(), SetiLoc::logDirectory(), QString::mid(), QString::number(), QFile::open(), CSVDataBase::readItem(), QApplication::restoreOverrideCursor(), QString::setNum(), QApplication::setOverrideCursor(), QListViewItem::setText(), SetiContainer::teraFlops(), QString::toDouble(), QWidget::x(), and QWidget::y(). Referenced by fillSigList(), handleTreeListPopupCommand(), refreshList(), and slotSelect(). |
|
|
|
Fills a list view with a summary of returned signals for all S@h locations.
The list of returned signals is read from the file Definition at line 755 of file completedwulist.cpp. References QTextStream::atEnd(), checkForRedirect(), QFile::close(), cwuList, SetiLoc::description(), SpikeScore::fft_len, fillSigSumColumns(), QString::find(), QList< SetiLoc >::first(), WUScore::gaussian, SetiContainer::initWUScore(), QListViewItem::itemBelow(), QString::length(), Ksetiwatch::locationList(), SetiLoc::logDirectory(), SetiLoc::loggedGaussianSignal(), SetiLoc::loggedPulseSignal(), SetiLoc::loggedSpikeSignal(), SetiLoc::loggedTripletSignal(), QList< SetiLoc >::next(), QFile::open(), QWidget::pos(), SpikeScore::power, WUScore::pulse, QTextStream::readLine(), QApplication::restoreOverrideCursor(), QString::right(), TripletScore::score, PulseScore::score, GaussianScore::score, SpikeScore::score, QApplication::setOverrideCursor(), QListViewItem::setText(), WUScore::spike, QString::startsWith(), and WUScore::triplet. Referenced by handleTreeListPopupCommand(), refreshList(), and slotSelect(). |
|
Adds the logged WUs of S@h location loc to the skymap window.
Definition at line 1146 of file completedwulist.cpp. References SkyMap::addLocation(), QFile::atEnd(), QFile::close(), SetiLoc::color(), SetiLoc::description(), QString::find(), SkyMap::instance(), QString::isEmpty(), SetiLoc::logDirectory(), QString::mid(), QFile::open(), CSVDataBase::readItem(), QApplication::restoreOverrideCursor(), QApplication::setOverrideCursor(), and QString::toDouble(). Referenced by addAllLoggedWU(), and handleTreeListPopupCommand(). |
|
Adds the logged WUs of all S@h locations to the skymap window.
Definition at line 1180 of file completedwulist.cpp. References addLoggedWU(), QList< SetiLoc >::first(), Ksetiwatch::locationList(), and QList< SetiLoc >::next(). Referenced by handleTreeListPopupCommand(). |
|
Refreshes the currently visible list view.
Definition at line 1059 of file completedwulist.cpp. References QListView::currentItem(), SetiLoc::description(), fillSigList(), fillSigSumList(), fillTotalList(), fillWUList(), QListViewItem::parent(), QListViewItem::text(), and treelist. Referenced by slotRefreshList(), and slotUpdateList(). |
|
Checks whether the log directory of S@h location loc is redirected to another S@h location.
Definition at line 898 of file completedwulist.cpp. References QString::append(), SetiContainer::directory(), QList::first(), QString::length(), Ksetiwatch::locationList(), SetiLoc::logDirectory(), QList::next(), SetiLoc::options(), LocSettings::redirectLog, and QString::stripWhiteSpace(). Referenced by fillSigSumList(), and fillTotalList(). |
|
Updates the tree list. Updates the tree list (at the left of the tab page) with S@h location loc. type specifies in detail what to do with loc (valid IDs are Ksetiwatch::ListAdd, Ksetiwatch::ListEdit, and Ksetiwatch::ListDelete).
Definition at line 1094 of file completedwulist.cpp. References QObject::connect(), SetiLoc::description(), QObject::disconnect(), QListViewItem::firstChild(), QListView::firstChild(), SetiLoc::id(), popListView::insertChildItem(), QListViewItem::nextSibling(), QListViewItem::setText(), slotRefreshList(), QListViewItem::sortChildItems(), QListViewItem::text(), and treelist. Referenced by fillTreeList(), and slotUpdateList(). |
|
Sets the columns of list view item it to the given arguments.
Definition at line 964 of file completedwulist.cpp. References WUScore::gaussian, QString::number(), WUScore::pulse, TripletScore::score, PulseScore::score, GaussianScore::score, SpikeScore::score, QListViewItem::setText(), WUScore::spike, and WUScore::triplet. Referenced by fillSigSumList(). |
|
Sets the columns of list view item it to the given arguments.
Definition at line 926 of file completedwulist.cpp. References GaussianScore::chisq, SetiContainer::convertTime(), WUScore::gaussian, globalopts, QString::number(), TripletScore::period, PulseScore::period, PulseScore::power, GaussianScore::power, SpikeScore::power, WUScore::pulse, TripletScore::score, PulseScore::score, GaussianScore::score, QListViewItem::setText(), WUScore::spike, WUScore::triplet, and QWidget::x(). Referenced by fillTotalList(). |
|
Processes mouse-button click event on the tree list.
Definition at line 322 of file completedwulist.cpp. References currentView, cwuList, fillSigList(), fillSigSumList(), fillTotalList(), fillWUList(), QList< SetiLoc >::first(), SetiLoc::id(), Ksetiwatch::locationList(), QList< SetiLoc >::next(), QListViewItem::parent(), and QListViewItem::text(). Referenced by fillTreeList(). |
|
Disables menu items depending on which tree list item is chosen.
Definition at line 992 of file completedwulist.cpp. References QListView::currentItem(), QListViewItem::parent(), popListView::popupMenu(), QListViewItem::text(), and treelist. Referenced by CompletedWUList(). |
|
Processes a command from the right-click popup menu of the tree list.
Definition at line 1007 of file completedwulist.cpp. References addAllLoggedWU(), addLoggedWU(), SkyMap::clearMap(), QListView::currentItem(), fillSigList(), fillSigSumList(), fillTotalList(), fillWUList(), Ksetiwatch::getLocation(), QListViewItem::parent(), SkyMap::showMap(), QListViewItem::text(), treelist, and QWidget::update(). Referenced by CompletedWUList(). |
|
Processes a command from the right-click popup menu of the WU list.
Definition at line 1191 of file completedwulist.cpp. References SkyMap::addLocation(), SetiLoc::color(), QListView::currentItem(), cwuList, SetiLoc::description(), Ksetiwatch::getLocation(), QWidget::pos(), QWidget::repaint(), QDialog::show(), SkyMap::showMap(), QStringList::split(), QListViewItem::text(), and treelist. Referenced by CompletedWUList(). |
|
Processes a command from the right-click popup menu of the signal list.
Definition at line 1228 of file completedwulist.cpp. References QListView::currentItem(), cwuList, SetiLoc::description(), Ksetiwatch::getLocation(), QDialog::show(), QListViewItem::text(), and treelist. Referenced by CompletedWUList(). |
|
Toggles the sorting order of column column.
Definition at line 1264 of file completedwulist.cpp. References currentView, and cwuList. Referenced by CompletedWUList(). |
|
Shows the Logged Signals dialog after double-clicking an item in the signal list.
Definition at line 1249 of file completedwulist.cpp. References QListView::currentItem(), SetiLoc::description(), Ksetiwatch::getLocation(), QDialog::show(), QListViewItem::text(), and treelist. Referenced by CompletedWUList(). |
|
Refreshes the currently visible list view.
Definition at line 1087 of file completedwulist.cpp. References listUpdated(), and refreshList(). Referenced by updateList(). |
|
This signal is emitted whenever a list has been updated. Needed to save potential new record signals.
Referenced by slotRefreshList(). |
Member Data Documentation
|
The main widget of this tab. All list views below are children of this widget. Definition at line 270 of file completedwulist.h. Referenced by CompletedWUList(), and resizeEvent(). |
|
The tree list at the left. Always visible. Definition at line 272 of file completedwulist.h. Referenced by CompletedWUList(), fillTreeList(), handleSigListDoubleClick(), handleSigListPopupCommand(), handleTreeListPopupCommand(), handleWUListPopupCommand(), prepareTreeListPopupMenu(), refreshList(), and updateList(). |
|
Four different list views (WU summary list, WU list, signal summary list, signal list).
Definition at line 275 of file completedwulist.h. Referenced by CompletedWUList(), fillSigList(), fillSigSumList(), fillTotalList(), fillWUList(), handleSigListPopupCommand(), handleWUListPopupCommand(), paintEvent(), slotSelect(), and toggleSorting(). |
|
Determines which list is currently shown.
Definition at line 297 of file completedwulist.h. Referenced by CompletedWUList(), slotSelect(), and toggleSorting(). |
The documentation for this class was generated from the following files: