casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
casa::TBValidityChecker Class Reference

Widget for running TBTests on opened tables. More...

#include <TBValidityChecker.qo.h>

Inheritance diagram for casa::TBValidityChecker:

Public Member Functions

 TBValidityChecker (TBBrowser *browser)
 Constructor that takes the browser parent. More...
 
 ~TBValidityChecker ()
 

Private Slots

void tableChanged (QString newTable)
 Slot for when the user selects a new table. More...
 
void loadTest (int index)
 Slot for when the user selects a new test. More...
 
void runChecks ()
 Slot to run all checks in the selected test on the selected table. More...
 
void runCheck ()
 Slot to run the selected check in the selected test on the selected table. More...
 
void tableOpened (casacore::String table)
 Slot for when a new table is opened in the browser. More...
 
void tableClosed (casacore::String table)
 Slot for when a table is closed in the browser. More...
 

Private Member Functions

void setupTests ()
 Sets up the tests in the GUI. More...
 

Private Attributes

TBBrowserbrowser
 Browser parent. More...
 
std::vector< TBTest * > tests
 casacore::List of tests that can be run. More...
 

Detailed Description

Widget for running TBTests on opened tables.

Synopsis

A TBValidityChecker allows the user to select a table and then run any defined TBTests on it. The pass/fail results are then shown to the user.

Definition at line 53 of file TBValidityChecker.qo.h.

Constructor & Destructor Documentation

casa::TBValidityChecker::TBValidityChecker ( TBBrowser browser)

Constructor that takes the browser parent.

casa::TBValidityChecker::~TBValidityChecker ( )

Member Function Documentation

void casa::TBValidityChecker::loadTest ( int  index)
privateslot

Slot for when the user selects a new test.

Loads the checks in the right side of the widget.

void casa::TBValidityChecker::runCheck ( )
privateslot

Slot to run the selected check in the selected test on the selected table.

void casa::TBValidityChecker::runChecks ( )
privateslot

Slot to run all checks in the selected test on the selected table.

void casa::TBValidityChecker::setupTests ( )
private

Sets up the tests in the GUI.

void casa::TBValidityChecker::tableChanged ( QString  newTable)
privateslot

Slot for when the user selects a new table.

void casa::TBValidityChecker::tableClosed ( casacore::String  table)
privateslot

Slot for when a table is closed in the browser.

Removes the name from the list of opened tables.

void casa::TBValidityChecker::tableOpened ( casacore::String  table)
privateslot

Slot for when a new table is opened in the browser.

Adds the name to the list of opened tables.

Member Data Documentation

TBBrowser* casa::TBValidityChecker::browser
private

Browser parent.

Definition at line 64 of file TBValidityChecker.qo.h.

std::vector<TBTest*> casa::TBValidityChecker::tests
private

casacore::List of tests that can be run.

Definition at line 67 of file TBValidityChecker.qo.h.


The documentation for this class was generated from the following file: