SALOME Registry tool window.
#include <ToolsGUI_RegWidget.h>
Public Member Functions |
| | ~ToolsGUI_RegWidget () |
| | Destructor.
|
Static Public Member Functions |
| static ToolsGUI_RegWidget * | GetRegWidget (CORBA::ORB_ptr orb, QWidget *parent=0) |
| | Create/get the only instance of the Registry window.
|
Private Types |
| enum | { Refresh,
Interval,
Close
} |
| enum | { Clients,
History
} |
Private Slots |
| void | refresh () |
| | Refresh registry information.
|
| void | showDetails (QTreeWidgetItem *, int) |
| | Show details about the chosen service.
|
| void | refreshInterval () |
| | Called when Interval button is clicked (open dialog box to change refresh interval).
|
Private Member Functions |
| | ToolsGUI_RegWidget (CORBA::ORB_ptr orb, QWidget *parent=0) |
| | Constructor.
|
Static Private Member Functions |
| static QString | getDetails (const Registry::Infos &c_info) |
| | Get description text, containing information about the service.
|
Private Attributes |
| CORBA::ORB_var | myOrb |
| QMap< int, Registry::AllInfos * > | myData |
| QMap< int, QAction * > | myActions |
| QMap< int, QTreeWidget * > | myViews |
| QTextEdit * | myDetails |
| QTimer * | myTimer |
Static Private Attributes |
| static ToolsGUI_RegWidget * | myRegWidgetPtr = 0 |
| | The only instance of Registry window.
|
Member Enumeration Documentation
Constructor & Destructor Documentation
| ToolsGUI_RegWidget::ToolsGUI_RegWidget |
( |
CORBA::ORB_ptr |
orb, |
|
|
QWidget * |
parent = 0 |
|
) |
| [private] |
- Parameters:
-
| orb | CORBA ORB reference |
| parent | parent widget |
References Qtx.AlignCenter, Qtx.alignWidget(), Clients, Close, close_data, History, Interval, myActions, myDetails, myOrb, myTimer, myViews, refresh(), Refresh, refresh_data, refreshInterval(), showDetails(), SPACING_SIZE, and time_data.
| ToolsGUI_RegWidget::~ToolsGUI_RegWidget |
( |
| ) |
|
Member Function Documentation
| void ToolsGUI_RegWidget::refresh |
( |
| ) |
[private, slot] |
| void ToolsGUI_RegWidget::showDetails |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| [private, slot] |
| void ToolsGUI_RegWidget::refreshInterval |
( |
| ) |
[private, slot] |
| QString ToolsGUI_RegWidget::getDetails |
( |
const Registry::Infos & |
c_info | ) |
[static, private] |
- Parameters:
-
- Returns:
- formatted client description
References test_table.a, and BOLD.
Field Documentation