casa
5.7.0-16
|
Widget used to display field 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 | |
TBFieldKeywordsTab (TBTableTabs *tt, TBTable *t) | |
Constructor which takes pointers to the table backend. More... | |
~TBFieldKeywordsTab () | |
QTreeWidget * | getTreeWidget () |
Returns the QTreeWidget in which the field keywords are displayed. More... | |
void | updateTable (ProgressHelper *pp=NULL) |
Updates the QTreeWidget with the new data that has been loaded into the table backend. More... | |
Private Slots | |
void | doubleClicked (QTreeWidgetItem *item, int col) |
Slot for when a field keyword is double-clicked. More... | |
Private Attributes | |
TBTableTabs * | ttabs |
Useful pointers to the 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 field keywords.
Field keywords are displayed in a QTreeWidget 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 172 of file TBKeywordsTab.qo.h.
casa::TBFieldKeywordsTab::TBFieldKeywordsTab | ( | TBTableTabs * | tt, |
TBTable * | t | ||
) |
Constructor which takes pointers to the table backend.
casa::TBFieldKeywordsTab::~TBFieldKeywordsTab | ( | ) |
|
slot |
Clears whatever widget (if any) is currently being displayed in the side panel.
|
privateslot |
Slot for when a field keyword is double-clicked.
QTreeWidget* casa::TBFieldKeywordsTab::getTreeWidget | ( | ) |
Returns the QTreeWidget in which the field keywords are displayed.
|
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::TBFieldKeywordsTab::updateTable | ( | ProgressHelper * | pp = NULL | ) |
Updates the QTreeWidget 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 216 of file TBKeywordsTab.qo.h.
|
private |
Side panel.
Definition at line 213 of file TBKeywordsTab.qo.h.
|
private |
Definition at line 207 of file TBKeywordsTab.qo.h.
|
private |
Useful pointers to the table backend.
Definition at line 206 of file TBKeywordsTab.qo.h.
|
private |
Flag on whether events generated by the QTableWidget are "genuine.".
Definition at line 210 of file TBKeywordsTab.qo.h.