casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
casa::TBFieldKeywordsTab Class Reference

Widget used to display field keywords. More...

#include <TBKeywordsTab.qo.h>

Inheritance diagram for casa::TBFieldKeywordsTab:

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

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

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

Constructor & Destructor Documentation

casa::TBFieldKeywordsTab::TBFieldKeywordsTab ( TBTableTabs tt,
TBTable t 
)

Constructor which takes pointers to the table backend.

casa::TBFieldKeywordsTab::~TBFieldKeywordsTab ( )

Member Function Documentation

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 
)
privateslot

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.

Member Data Documentation

TBArrayPanel* casa::TBFieldKeywordsTab::arrayPanel
private

casacore::Array panel.

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

QCloseableWidget* casa::TBFieldKeywordsTab::rightWidget
private

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.


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