Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ProjectWidget Class Referencefinal

#include <ProjectWidget.h>

Inheritance diagram for sf::ProjectWidget:
Collaboration diagram for sf::ProjectWidget:

Public Types

enum  EColumnField : int {
  cfArea = 0 , cfTool , cfElement , cfMaterial ,
  cfInspectionState , cfCalibrationSet , cfSettings , cfFilterConfig ,
  cfMethod , cfCommand , cfScanState , cfUsername ,
  cfDateTime , cfComment
}
 Enumeration of displayable fields. More...
 

Public Member Functions

 ProjectWidget (QWidget *parent)
 Default Qt constructor.
 
 ~ProjectWidget () override
 Overridden destructor.
 
void storeState (bool rd)
 Stores and restores the state of the widget.
 
ProjectDatagetProjectData ()
 Gets the project data associated with this widget.
 
bool isProjectActive () const
 
void updateTitle ()
 
bool store (StoreProject::EAction action)
 Action to take on the project file.
 
void manageProjectData (bool create)
 

Member Enumeration Documentation

◆ EColumnField

Enumeration of displayable fields.

Enumerator
cfArea 

Name of the area to scan.

cfTool 

Tool used for .

cfElement 
cfMaterial 
cfInspectionState 
cfCalibrationSet 
cfSettings 
cfFilterConfig 
cfMethod 
cfCommand 
cfScanState 
cfUsername 
cfDateTime 
cfComment 

Constructor & Destructor Documentation

◆ ProjectWidget()

sf::ProjectWidget::ProjectWidget ( QWidget *  parent)
explicit

Default Qt constructor.

◆ ~ProjectWidget()

sf::ProjectWidget::~ProjectWidget ( )
override

Overridden destructor.

Member Function Documentation

◆ getProjectData()

ProjectData * sf::ProjectWidget::getProjectData ( )

Gets the project data associated with this widget.

◆ isProjectActive()

bool sf::ProjectWidget::isProjectActive ( ) const

◆ manageProjectData()

void sf::ProjectWidget::manageProjectData ( bool  create)

◆ store()

bool sf::ProjectWidget::store ( StoreProject::EAction  action)

Action to take on the project file.

Parameters
actionWhat to do.
Returns
True when action resulted in a reaction.

◆ storeState()

void sf::ProjectWidget::storeState ( bool  rd)

Stores and restores the state of the widget.

◆ updateTitle()

void sf::ProjectWidget::updateTitle ( )

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