casa
5.7.0-16
|
Dialog for opening/connecting to a table with options. More...
#include <TBConnection.qo.h>
Public Member Functions | |
TBConnection (TBMain *main, QWidget *parent=NULL) | |
Builds a connection dialog with the given TBMain. More... | |
~TBConnection () | |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) |
Detects when one of the QLineEdit objects are clicked and calls the relevant clicked[Name]() slot. More... | |
Private Slots | |
void | accepted () |
Slot for when the user clicks the "accept" button. More... | |
void | browse () |
Slot for when the user clicks the "browse" button. More... | |
void | clickedLocal () |
Slot for when the user clicks the local box. More... | |
void | clickedRemote () |
Slot for when the user clicks the remote box. More... | |
void | clickedHost () |
Slot for when the user clicks the host line edit. More... | |
void | clickedPort () |
Slot for when the user clicks the port line edit. More... | |
void | clickedLocation () |
Slot for when the user clicks the location line edit. More... | |
void | clickedDirect () |
Slot for when the user clicks the direct box. More... | |
void | clickedXML () |
Slot for when the user clicks the XML box. More... | |
void | clickedHome () |
Slot for when the user clicks the home parser box. More... | |
void | clickedDOM () |
Slot for when the user clicks the DOM parser box. More... | |
void | clickedSAX () |
Slot for when the user clicks the SAX parser box. More... | |
void | clickedStart () |
Slot for when the user clicks the start line edit. More... | |
void | clickedNum () |
Slot for when the user clicks the num line edit. More... | |
Private Attributes | |
TBMain * | parent |
Pointer to TBMain parent. More... | |
Dialog for opening/connecting to a table with options.
TBConnection is a dialog to open a table with user-specified options. Important: this is not currently supported, but in the future if a client/server architecture is used then this widget can be used for connecting to a remote table. Other options include the driver type: direct (using the casacore::Table module code for a local table) or XML. TBConnection displays helpful explanation text when the user clicks on the different options.
Definition at line 54 of file TBConnection.qo.h.
casa::TBConnection::TBConnection | ( | TBMain * | main, |
QWidget * | parent = NULL |
||
) |
Builds a connection dialog with the given TBMain.
If parent is NULL, then the connection is displayed as a modal dialog; otherwise it is displayed in the parent.
casa::TBConnection::~TBConnection | ( | ) |
|
privateslot |
Slot for when the user clicks the "accept" button.
Checks for errors, and then opens the table with the specified options in the browser.
|
privateslot |
Slot for when the user clicks the "browse" button.
Opens a filebrowser and sets the text of the line edit to the path of the selected file. Updates the help text to TBConstants::OPEN_TEXT_LOCATION.
|
privateslot |
Slot for when the user clicks the direct box.
Updates the help text to TBConstants::OPEN_TEXT_DIRECT.
|
privateslot |
Slot for when the user clicks the DOM parser box.
Updates the help text to TBConstants::OPEN_TEXT_DOM.
|
privateslot |
Slot for when the user clicks the home parser box.
Updates the help text to TBConstants::OPEN_TEXT_HOME.
|
privateslot |
Slot for when the user clicks the host line edit.
Updates the help text to TBConstants::OPEN_TEXT_HOST.
|
privateslot |
Slot for when the user clicks the local box.
Updates the help text to TBConstants::OPEN_TEXT_LOCAL.
|
privateslot |
Slot for when the user clicks the location line edit.
Updates the help text to TBConstants::OPEN_TEXT_LOCATION.
|
privateslot |
Slot for when the user clicks the num line edit.
Updates the help text to TBConstants::OPEN_TEXT_NUM.
|
privateslot |
Slot for when the user clicks the port line edit.
Updates the help text to TBConstants::OPEN_TEXT_PORT.
|
privateslot |
Slot for when the user clicks the remote box.
Updates the help text to TBConstants::OPEN_TEXT_REMOTE.
|
privateslot |
Slot for when the user clicks the SAX parser box.
Updates the help text to TBConstants::OPEN_TEXT_SAX.
|
privateslot |
Slot for when the user clicks the start line edit.
Updates the help text to TBConstants::OPEN_TEXT_START.
|
privateslot |
Slot for when the user clicks the XML box.
Updates the help text to TBConstants::OPEN_TEXT_XML.
|
protected |
Detects when one of the QLineEdit objects are clicked and calls the relevant clicked[Name]() slot.
|
private |
Pointer to TBMain parent.
Definition at line 72 of file TBConnection.qo.h.