ui::TaskDetailsWidget Class Reference

Widget that shows all task details. More...

#include <taskdetailswidget.h>

Inheritance diagram for ui::TaskDetailsWidget:
Inheritance graph
[legend]
Collaboration diagram for ui::TaskDetailsWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TaskDetailsWidget (const control::data::TaskTypeDetails &type, QWidget *parent=0)
 Creates a new task detail widget.
void setDetails (const control::data::TaskDetails &details)
 Sets the given details.
control::data::TaskDetails currentDetails () const
 Returns the current details.
void setTasks (control::TaskModel *tasks)
 Sets the given tasks.
void setUserRequirements (control::UserRequirementsModel *model)
void setResourceRequirements (control::ResourceRequirementsModel *model)
void setEditMode (bool editMode)

Private Member Functions

void initType (const control::data::TaskTypeDetails &type)

Private Attributes

Ui::TaskDetailsWidget widgets
QMap< QString, InputWidget * > fieldWidgets
bool editMode

Detailed Description

Widget that shows all task details.

This widget is used to set, show or modify task details

Definition at line 32 of file taskdetailswidget.h.


Constructor & Destructor Documentation

TaskDetailsWidget::TaskDetailsWidget ( const control::data::TaskTypeDetails type,
QWidget parent = 0 
)

Creates a new task detail widget.

Parameters:
parent The parent widget for this widget

Definition at line 17 of file taskdetailswidget.cpp.


Member Function Documentation

void TaskDetailsWidget::setDetails ( const control::data::TaskDetails details  ) 

Sets the given details.

Parameters:
details Details to set in the widget
Postcondition:
The widget now shows the given details to the user

Definition at line 48 of file taskdetailswidget.cpp.

void TaskDetailsWidget::setTasks ( control::TaskModel tasks  ) 

Sets the given tasks.

Parameters:
tasks Tasks to set in the widget
Postcondition:
The widget now shows the given tasks as possible subtasks

Definition at line 93 of file taskdetailswidget.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator
Generated on Thu May 27 14:20:21 2010 for MopTaskManager by  doxygen 1.6.3