Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ToolsGUI_RegWidget Class Reference

SALOME Registry tool window.

#include <ToolsGUI_RegWidget.h>

Inheritance diagram for ToolsGUI_RegWidget:
Inheritance graph

Public Member Functions

 ~ToolsGUI_RegWidget ()
 Destructor. More...
 

Static Public Member Functions

static ToolsGUI_RegWidgetGetRegWidget (CORBA::ORB_ptr orb, QWidget *parent=0)
 Create/get the only instance of the Registry window. More...
 

Private Types

enum  { Refresh, Interval, Close }
 
enum  { Clients, History }
 

Private Slots

void refresh ()
 Refresh registry information. More...
 
void showDetails (QTreeWidgetItem *, int)
 Show details about the chosen service. More...
 
void refreshInterval ()
 Called when Interval button is clicked (open dialog box to change refresh interval). More...
 

Private Member Functions

 ToolsGUI_RegWidget (CORBA::ORB_ptr orb, QWidget *parent=0)
 Constructor. More...
 

Static Private Member Functions

static QString getDetails (const Registry::Infos &c_info)
 Get description text, containing information about the service. More...
 

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_RegWidgetmyRegWidgetPtr = 0
 The only instance of Registry window. More...
 

Member Enumeration Documentation

anonymous enum
private
Enumerator
Refresh 
Interval 
Close 
anonymous enum
private
Enumerator
Clients 
History 

Constructor & Destructor Documentation

ToolsGUI_RegWidget::ToolsGUI_RegWidget ( CORBA::ORB_ptr  orb,
QWidget parent = 0 
)
private
ToolsGUI_RegWidget::~ToolsGUI_RegWidget ( )

References myRegWidgetPtr.

Member Function Documentation

QString ToolsGUI_RegWidget::getDetails ( const Registry::Infos &  c_info)
staticprivate
Parameters
c_infoclient info data
Returns
formatted client description

References BOLD.

ToolsGUI_RegWidget * ToolsGUI_RegWidget::GetRegWidget ( CORBA::ORB_ptr  orb,
QWidget parent = 0 
)
static
Parameters
orbCORBA ORB reference
parentparent widget

References myRegWidgetPtr, and ToolsGUI_RegWidget().

void ToolsGUI_RegWidget::refresh ( )
privateslot
void ToolsGUI_RegWidget::refreshInterval ( )
privateslot

References myTimer.

void ToolsGUI_RegWidget::showDetails ( QTreeWidgetItem item,
int  column 
)
privateslot
Parameters
itemitem activated by the user
columncolumn index

References Clients, getDetails(), History, myData, myDetails, and myViews.

Member Data Documentation

QMap<int, QAction*> ToolsGUI_RegWidget::myActions
private
QMap<int, Registry::AllInfos*> ToolsGUI_RegWidget::myData
private
QTextEdit* ToolsGUI_RegWidget::myDetails
private
CORBA::ORB_var ToolsGUI_RegWidget::myOrb
private
ToolsGUI_RegWidget * ToolsGUI_RegWidget::myRegWidgetPtr = 0
staticprivate
QTimer* ToolsGUI_RegWidget::myTimer
private
QMap<int, QTreeWidget*> ToolsGUI_RegWidget::myViews
private

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