casa
5.7.0-16
|
Widget used to display table keywords. More...
#include <TBKeywordsTab.qo.h>
Public Slots | |
void | clearWidgetInSplitter () |
Clears whatever widget (if any) is currently being displayed in the side panel. More... | |
void | showWidgetInSplitter (QWidget *widget) |
Show the given widget on the right side of the splitter. More... | |
Signals | |
void | rightWidgetClosed (QWidget *widget) |
This signal is emitted when the right widget is closed. More... | |
Public Member Functions | |
TBTableKeywordsTab (TBTableTabs *tt, TBTable *t) | |
Constructor which takes pointers to the table backend. More... | |
~TBTableKeywordsTab () | |
QTableWidget * | getTableWidget () |
Returns the table widget used to display the keywords. More... | |
void | updateTable (ProgressHelper *pp=NULL) |
Updates the QTableWidget with the new data that has been loaded into the table backend. More... | |
Private Slots | |
void | doubleClicked (int row, int col) |
Slot for when a keyword is double-clicked. More... | |
void | addKeyword () |
Slot for "Add Keyword" button. More... | |
void | editKeyword () |
Slot for "Edit Keyword" button. More... | |
void | removeKeyword () |
Slot for "Remove Keyword" button. More... | |
void | cellSelected (int row) |
Slot for when a keyword is selected in the table. More... | |
Private Attributes | |
TBTableTabs * | ttabs |
Useful pointers to table backend. More... | |
TBTable * | table |
bool | update |
Flag on whether events generated by the QTableWidget are "genuine.". More... | |
QCloseableWidget * | rightWidget |
Side panel. More... | |
TBArrayPanel * | arrayPanel |
casacore::Array panel. More... | |
Widget used to display table keywords.
casacore::Table keywords are displayed in a QTableWidget which cannot be edited. double-clicking certain types of keywords has certain effects: double-clicking a table keyword will open that subtable while double-clicking an array will open the array in a side panel.
Definition at line 98 of file TBKeywordsTab.qo.h.
casa::TBTableKeywordsTab::TBTableKeywordsTab | ( | TBTableTabs * | tt, |
TBTable * | t | ||
) |
Constructor which takes pointers to the table backend.
casa::TBTableKeywordsTab::~TBTableKeywordsTab | ( | ) |
|
privateslot |
Slot for "Add Keyword" button.
(Not currently implemented.)
|
privateslot |
Slot for when a keyword is selected in the table.
|
slot |
Clears whatever widget (if any) is currently being displayed in the side panel.
|
privateslot |
Slot for when a keyword is double-clicked.
|
privateslot |
Slot for "Edit Keyword" button.
(Not currently implemented.)
QTableWidget* casa::TBTableKeywordsTab::getTableWidget | ( | ) |
Returns the table widget used to display the keywords.
|
privateslot |
Slot for "Remove Keyword" button.
(Not currently implemented.)
|
signal |
This signal is emitted when the right widget is closed.
The QWidget points to the widget that was just closed.
|
slot |
Show the given widget on the right side of the splitter.
void casa::TBTableKeywordsTab::updateTable | ( | ProgressHelper * | pp = NULL | ) |
Updates the QTableWidget with the new data that has been loaded into the table backend.
If a ProgressHelper is provided, it will be updated periodically with progress information.
|
private |
casacore::Array panel.
Definition at line 142 of file TBKeywordsTab.qo.h.
|
private |
Side panel.
Definition at line 139 of file TBKeywordsTab.qo.h.
|
private |
Definition at line 133 of file TBKeywordsTab.qo.h.
|
private |
Useful pointers to table backend.
Definition at line 132 of file TBKeywordsTab.qo.h.
|
private |
Flag on whether events generated by the QTableWidget are "genuine.".
Definition at line 136 of file TBKeywordsTab.qo.h.