casa
$Rev:20696$
|
Widget for running TBTests on opened tables. More...
#include <TBValidityChecker.qo.h>
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 | |
TBBrowser * | browser |
Browser parent. | |
vector< TBTest * > | tests |
List of tests that can be run. |
Widget for running TBTests on opened tables.
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.
casa::TBValidityChecker::TBValidityChecker | ( | TBBrowser * | browser | ) |
Constructor that takes the browser parent.
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.
void casa::TBValidityChecker::setupTests | ( | ) | [private] |
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.
TBBrowser* casa::TBValidityChecker::browser [private] |
Browser parent.
Definition at line 67 of file TBValidityChecker.qo.h.
vector<TBTest*> casa::TBValidityChecker::tests [private] |
List of tests that can be run.
Definition at line 70 of file TBValidityChecker.qo.h.