#include <jobpropertyitem.h>
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) |
Definition at line 71 of file jobpropertyitem.h.
JobPropertyItemRoot::JobPropertyItemRoot | ( | JobPropertyModel * | model, | |
JobPropertyItem * | parent = 0 | |||
) |
Construct a JobPropertyItemRoot
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().
JobPropertyItemRoot::~JobPropertyItemRoot | ( | ) | [virtual] |
Destroy this item and its children
Definition at line 268 of file jobpropertyitem.cpp.
References JobPropertyItem::childItems.
QWidget * JobPropertyItemRoot::createEditor | ( | QWidget * | parent, | |
const QObject * | target, | |||
const char * | receiver | |||
) | const [virtual] |
Create an editor for this item
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
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
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
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
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