casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
casa::TBValidityChecker Class Reference

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

#include <TBValidityChecker.qo.h>

List of all members.

Public Member Functions

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

Private Slots

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

Private Member Functions

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

Private Attributes

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

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 56 of file TBValidityChecker.qo.h.


Constructor & Destructor Documentation

Constructor that takes the browser parent.


Member Function Documentation

void casa::TBValidityChecker::loadTest ( int  index) [private, slot]

Slot for when the user selects a new test.

Loads the checks in the right side of the widget.

void casa::TBValidityChecker::runCheck ( ) [private, slot]

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

void casa::TBValidityChecker::runChecks ( ) [private, slot]

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

Sets up the tests in the GUI.

void casa::TBValidityChecker::tableChanged ( QString  newTable) [private, slot]

Slot for when the user selects a new table.

void casa::TBValidityChecker::tableClosed ( String  table) [private, slot]

Slot for when a table is closed in the browser.

Removes the name from the list of opened tables.

void casa::TBValidityChecker::tableOpened ( String  table) [private, slot]

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

Adds the name to the list of opened tables.


Member Data Documentation

Browser parent.

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

List of tests that can be run.

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


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