Object Information Widget. More...

#include <qgobjectvars.h>

Inheritance diagram for QGObjectVars:
[legend]

Public Member Functions

 QGObjectVars (QWidget *parent)
 
void Set (GDoc *doc)
 
void Set (GTopic *topic)
 
void Set (GCommunity *community)
 
void Set (GProfile *profile)
 
void Set (GClass *theclass)
 
virtual ~QGObjectVars (void)
 

Private Member Functions

void AddVar (const QString &var, const R::RString &value)
 
void AddVar (const QString &var, size_t value)
 
void AddVar (const QString &var, char value)
 
void AddVar (const QString &var, double value)
 
void AddVar (const QString &var, const GLang *value)
 
void AddVar (const QString &var, bool value)
 
void AddVar (const QString &var, const tObjState value)
 
void AddVar (const QString &var, const R::RDate &value)
 

Private Attributes

void * Ui
 

Detailed Description

Object Information Widget.

The GGObjectVars provides a widget to manage the information of a given object.

Constructor & Destructor Documentation

QGObjectVars ( QWidget *  parent)

Construct the widget.

Parameters
parentParent.
virtual ~QGObjectVars ( void  )
virtual

Destruct the widget.

Member Function Documentation

void Set ( GDoc doc)

Put the variables of a given document.

Parameters
docDocument.
void Set ( GTopic topic)

Put the variables of a given topic.

Parameters
topicTopic.
void Set ( GCommunity community)

Put the variables of a given community.

Parameters
communityCommunity.
void Set ( GProfile profile)

Put the variables of a given profile.

Parameters
profileProfile.
void Set ( GClass theclass)

Put the variables of a given class.

Parameters
theclassClass.
void AddVar ( const QString &  var,
const R::RString value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
size_t  value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
char  value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
double  value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
const GLang value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
bool  value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
const tObjState  value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.
void AddVar ( const QString &  var,
const R::RDate value 
)
private

Add a variable.

Parameters
varName of the variable.
valueValue of the variable.

Member Data Documentation

void* Ui
private

Pointer to the widget created by Qt.