casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Signals | Public Member Functions | Private Slots | Private Attributes
casa::TBFieldKeywordsTab Class Reference

Widget used to display field keywords. More...

#include <TBKeywordsTab.qo.h>

List of all members.

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

TBTableTabsttabs
 Useful pointers to the table backend.
TBTabletable
bool update
 Flag on whether events generated by the QTableWidget are "genuine.".
QCloseableWidgetrightWidget
 Side panel.
TBArrayPanelarrayPanel
 Array panel.

Detailed Description

Widget used to display field keywords.

Synopsis

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 175 of file TBKeywordsTab.qo.h.


Constructor & Destructor Documentation

Constructor which takes pointers to the table backend.


Member Function Documentation

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.

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.

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.


Member Data Documentation

Array panel.

Definition at line 219 of file TBKeywordsTab.qo.h.

Side panel.

Definition at line 216 of file TBKeywordsTab.qo.h.

Definition at line 210 of file TBKeywordsTab.qo.h.

Useful pointers to the table backend.

Definition at line 209 of file TBKeywordsTab.qo.h.

Flag on whether events generated by the QTableWidget are "genuine.".

Definition at line 213 of file TBKeywordsTab.qo.h.


The documentation for this class was generated from the following file: