Version: 8.3.0
YACS::HMI::GenericEditor Class Reference

#include <ValueDelegate.hxx>

Inheritance diagram for YACS::HMI::GenericEditor:
Collaboration diagram for YACS::HMI::GenericEditor:

Public Member Functions

 GenericEditor ()
 
virtual ~GenericEditor ()
 
virtual void setSubject (Subject *subject)
 
virtual void setColumn (int column)
 
virtual void setDelegate (const ValueDelegate *delegate)
 
virtual QString GetStrValue ()
 
virtual SubjectgetSubject ()
 
virtual int getColumnInSubject ()
 
virtual void setData (QVariant val)
 
virtual bool firstSetData ()
 

Protected Attributes

Subject_subject
 
int _column
 
const ValueDelegate_delegate
 
bool _first
 

Detailed Description

Definition at line 40 of file ValueDelegate.hxx.

Constructor & Destructor Documentation

GenericEditor::GenericEditor ( )

Definition at line 43 of file ValueDelegate.cxx.

44 {
45  _subject = 0;
46  _column = 0;
47  _delegate = 0;
48  _first = true;
49 }
GenericEditor::~GenericEditor ( )
virtual

Definition at line 51 of file ValueDelegate.cxx.

References DEBTRACE.

52 {
53  DEBTRACE("GenericEditor::~GenericEditor " << this);
54 
55 }

Member Function Documentation

bool GenericEditor::firstSetData ( )
virtual

Definition at line 91 of file ValueDelegate.cxx.

References PMMLBasicsTestLauncher::ret.

Referenced by YACS::HMI::ValueDelegate::setEditorData().

92 {
93  bool ret = _first;
94  _first = false;
95  return ret;
96 }
int GenericEditor::getColumnInSubject ( )
virtual

Definition at line 82 of file ValueDelegate.cxx.

Referenced by YACS::HMI::EditionElementaryNode::onCommitData(), and YACS::HMI::TreeView::onCommitData().

83 {
84  return _column;
85 }
void GenericEditor::setColumn ( int  column)
virtual
void GenericEditor::setData ( QVariant  val)
virtual
void GenericEditor::setDelegate ( const ValueDelegate delegate)
virtual
void GenericEditor::setSubject ( Subject subject)
virtual

Member Data Documentation

int YACS::HMI::GenericEditor::_column
protected

Definition at line 55 of file ValueDelegate.hxx.

const ValueDelegate* YACS::HMI::GenericEditor::_delegate
protected

Definition at line 56 of file ValueDelegate.hxx.

bool YACS::HMI::GenericEditor::_first
protected

Definition at line 57 of file ValueDelegate.hxx.

Subject* YACS::HMI::GenericEditor::_subject
protected

Definition at line 54 of file ValueDelegate.hxx.


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