ProjectInfoWidget Class Reference

A widget for present te::qt::af::Project informations. More...

#include <ProjectInfoWidget.h>

Inheritance diagram for ProjectInfoWidget:
QWidget

Public Member Functions

 ProjectInfoWidget (QWidget *parent=0)
 Constructor. More...
 
void setProject (ProjectMetadata *proj)
 Updates the te::qt::af::Project being visualized. More...
 
void updateProjectInfo ()
 Updates the te::qt::af::Project informations. More...
 
 ~ProjectInfoWidget ()
 Destructor. More...
 

Protected Attributes

ProjectMetadatam_proj
 te::qt::af::Project being presented. More...
 

Private Attributes

Ui::ProjectInfoWidgetForm * m_ui
 Pointer to the form. More...
 

Detailed Description

A widget for present te::qt::af::Project informations.

Definition at line 45 of file ProjectInfoWidget.h.

Constructor & Destructor Documentation

ProjectInfoWidget::ProjectInfoWidget ( QWidget parent = 0)

Constructor.

Parameters
parentQWidget parent.

Definition at line 5 of file ProjectInfoWidget.cpp.

References m_ui, and ~ProjectInfoWidget().

ProjectInfoWidget::~ProjectInfoWidget ( )
default

Destructor.

Referenced by ProjectInfoWidget().

Member Function Documentation

void ProjectInfoWidget::setProject ( ProjectMetadata proj)

Updates the te::qt::af::Project being visualized.

Parameters
projThe te::qt::af::Project to be presented.

Definition at line 16 of file ProjectInfoWidget.cpp.

References ProjectMetadata::m_author, ProjectMetadata::m_fileName, m_proj, ProjectMetadata::m_title, and m_ui.

Referenced by ProjectInfoDialog::setProject().

void ProjectInfoWidget::updateProjectInfo ( )

Updates the te::qt::af::Project informations.

Definition at line 28 of file ProjectInfoWidget.cpp.

References ProjectMetadata::m_author, ProjectMetadata::m_changed, m_proj, ProjectMetadata::m_title, and m_ui.

Referenced by ProjectInfoDialog::onOkPushButtonPressed().

Member Data Documentation

ProjectMetadata* ProjectInfoWidget::m_proj
protected

te::qt::af::Project being presented.

Definition at line 75 of file ProjectInfoWidget.h.

Referenced by setProject(), and updateProjectInfo().

Ui::ProjectInfoWidgetForm* ProjectInfoWidget::m_ui
private

Pointer to the form.

Definition at line 79 of file ProjectInfoWidget.h.

Referenced by ProjectInfoWidget(), setProject(), and updateProjectInfo().


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