JobPropertyItemRoot Class Reference

#include <jobpropertyitem.h>

Inheritance diagram for JobPropertyItemRoot:

Inheritance graph
[legend]
Collaboration diagram for JobPropertyItemRoot:

Collaboration graph
[legend]

List of all members.

Public Slots

void setWalltime (const QString &walltime)
void setNodes (const QString &nodes)

Signals

void walltimeChanged (const QString &walltime)
void nodesChanged (const QString &nodes)

Public Member Functions

 JobPropertyItemRoot (JobPropertyModel *_model, JobPropertyItem *parent=0)
virtual ~JobPropertyItemRoot ()
virtual QWidget * createEditor (QWidget *parent, const QObject *target, const char *receiver) const
virtual void updateEditorContents (QWidget *editor)
virtual void updateValue (QWidget *editor)


Detailed Description

Root item of the model JobPropertyModel

Definition at line 71 of file jobpropertyitem.h.


Constructor & Destructor Documentation

JobPropertyItemRoot::JobPropertyItemRoot ( JobPropertyModel model,
JobPropertyItem parent = 0 
)

Construct a JobPropertyItemRoot

Parameters:
model model where the item is in
parent should be null

Definition at line 178 of file jobpropertyitem.cpp.

References JobPropertyItem::_model, JobPropertyItem::childItems, JobPropertyItem::data(), JobPropertyItem::itemData, JobPropertyItem::parentItem, JobPropertyItem::setReadOnly(), and JobPropertyItemString::setRegExpValidator().

Here is the call graph for this function:

JobPropertyItemRoot::~JobPropertyItemRoot (  )  [virtual]

Destroy this item and its children

Definition at line 268 of file jobpropertyitem.cpp.

References JobPropertyItem::childItems.


Member Function Documentation

QWidget * JobPropertyItemRoot::createEditor ( QWidget *  parent,
const QObject *  target,
const char *  receiver 
) const [virtual]

Create an editor for this item

Parameters:
parent parent widget
target 
receiver 

Implements JobPropertyItem.

Definition at line 280 of file jobpropertyitem.cpp.

void JobPropertyItemRoot::updateEditorContents ( QWidget *  editor  )  [virtual]

Update the content of the editor

Parameters:
editor the editor widget

Implements JobPropertyItem.

Definition at line 292 of file jobpropertyitem.cpp.

void JobPropertyItemRoot::updateValue ( QWidget *  editor  )  [virtual]

Update the value of the item from the editor

Parameters:
editor the editor widget

Implements JobPropertyItem.

Definition at line 302 of file jobpropertyitem.cpp.

void JobPropertyItemRoot::setWalltime ( const QString &  walltime  )  [slot]

Set the walltime value

Parameters:
walltime the value of the property walltime

Definition at line 314 of file jobpropertyitem.cpp.

References JobPropertyItem::childItems.

void JobPropertyItemRoot::setNodes ( const QString &  nodes  )  [slot]

Set the nodes value

Parameters:
nodes the value of the property nodes

Definition at line 324 of file jobpropertyitem.cpp.

References JobPropertyItem::childItems.

void JobPropertyItemRoot::walltimeChanged ( const QString &  walltime  )  [signal]

Signal emitted when the walltime has changed

void JobPropertyItemRoot::nodesChanged ( const QString &  nodes  )  [signal]

Signal emitted when the nodes property has changed


The documentation for this class was generated from the following files:
Generated on Mon Mar 16 18:46:08 2009 for QCJM by  doxygen 1.5.4