JG ROOT Tools libraries  version 5.0 - august 2014
RGTestWidget Class Reference

#include <RGTestWidget.hh>

Inheritance diagram for RGTestWidget:

Public Member Functions

 RGTestWidget (const TGWindow *parent, const TGWindow *main, TGFrame *widget=NULL, const UInt_t layout=kLHintsExpandX|kLHintsExpandY)
 
virtual ~RGTestWidget ()
 
TGFrame * GetTestedWidget ()
 
virtual void Request ()
 
virtual void Quit ()
 
 ClassDef (RGTestWidget, 0)
 

Protected Member Functions

 RGTestWidget (const RGTestWidget &req)
 
virtual void SetTestedWidget (TGFrame *wid, const UInt_t layout=kLHintsExpandX|kLHintsExpandY)
 

Protected Attributes

TGFrame * w_test
 Pointer to widget to be tested.
 

Private Member Functions

 GObject (RGTestWidget)
 

Detailed Description

Class for widget tests: it creates a request window with the widget to be tested.

Constructor & Destructor Documentation

RGTestWidget::RGTestWidget ( const TGWindow *  parent,
const TGWindow *  main,
TGFrame *  widget = NULL,
const UInt_t  layout = kLHintsExpandX | kLHintsExpandY 
)

Constructor.

Parameters
parentpointer to parent window
mainpointer to application main window
widgetpointer to tested widget
layoutwidget layout

References SetTestedWidget(), and w_test.

RGTestWidget::RGTestWidget ( const RGTestWidget req)
protected

Copy constructor, not implemented.

Parameters
reqobject to copy
RGTestWidget::~RGTestWidget ( )
virtual

Destructor.

Referenced by Quit().

Member Function Documentation

RGTestWidget::GObject ( RGTestWidget  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
void RGTestWidget::SetTestedWidget ( TGFrame *  wid,
const UInt_t  layout = kLHintsExpandX | kLHintsExpandY 
)
protectedvirtual

Set the widget to be tested.

Parameters
widwidget pointer
layoutwidget layout

References w_test.

Referenced by RGTestWidget().

TGFrame* RGTestWidget::GetTestedWidget ( )
inline

Get the tested widget pointer.

References w_test.

void RGTestWidget::Request ( )
virtual

Start the requester.

void RGTestWidget::Quit ( )
virtual

Close the window (called from close window button).

References ~RGTestWidget().

RGTestWidget::ClassDef ( RGTestWidget  ,
 
)

For ROOT dictionary.


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