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. | |
| void | showWidgetInSplitter (QWidget *widget) |
| Show the given widget on the right side of the splitter. | |
Signals | |
| void | rightWidgetClosed (QWidget *widget) |
| This signal is emitted when the right widget is closed. | |
Public Member Functions | |
| TBFieldKeywordsTab (TBTableTabs *tt, TBTable *t) | |
| Constructor which takes pointers to the table backend. | |
| ~TBFieldKeywordsTab () | |
| QTreeWidget * | getTreeWidget () |
| Returns the QTreeWidget in which the field keywords are displayed. | |
| void | updateTable (ProgressHelper *pp=NULL) |
| Updates the QTreeWidget with the new data that has been loaded into the table backend. | |
Private Slots | |
| void | doubleClicked (QTreeWidgetItem *item, int col) |
| Slot for when a field keyword is double-clicked. | |
Private Attributes | |
| TBTableTabs * | ttabs |
| Useful pointers to the table backend. | |
| TBTable * | table |
| bool | update |
| Flag on whether events generated by the QTableWidget are "genuine.". | |
| QCloseableWidget * | rightWidget |
| Side panel. | |
| TBArrayPanel * | arrayPanel |
| Array panel. | |
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 | ( | ) |
| void casa::TBFieldKeywordsTab::clearWidgetInSplitter | ( | ) | [slot] |
Clears whatever widget (if any) is currently being displayed in the side panel.
| void casa::TBFieldKeywordsTab::doubleClicked | ( | QTreeWidgetItem * | item, | |
| int | col | |||
| ) | [private, slot] |
Slot for when a field keyword is double-clicked.
| QTreeWidget* casa::TBFieldKeywordsTab::getTreeWidget | ( | ) |
Returns the QTreeWidget in which the field keywords are displayed.
| void casa::TBFieldKeywordsTab::rightWidgetClosed | ( | QWidget * | widget | ) | [signal] |
This signal is emitted when the right widget is closed.
The QWidget points to the widget that was just closed.
| void casa::TBFieldKeywordsTab::showWidgetInSplitter | ( | QWidget * | widget | ) | [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.
TBArrayPanel* casa::TBFieldKeywordsTab::arrayPanel [private] |
Array panel.
Definition at line 216 of file TBKeywordsTab.qo.h.
Side panel.
Definition at line 213 of file TBKeywordsTab.qo.h.
TBTable* casa::TBFieldKeywordsTab::table [private] |
Definition at line 207 of file TBKeywordsTab.qo.h.
TBTableTabs* casa::TBFieldKeywordsTab::ttabs [private] |
Useful pointers to the table backend.
Definition at line 206 of file TBKeywordsTab.qo.h.
bool casa::TBFieldKeywordsTab::update [private] |
Flag on whether events generated by the QTableWidget are "genuine.".
Definition at line 210 of file TBKeywordsTab.qo.h.
1.6.1