Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CurveCreator_TreeView Class Reference

#include <CurveCreator_TreeView.h>

Inheritance diagram for CurveCreator_TreeView:
Inheritance graph

Public Types

enum  SelectionType {
  ST_NOSEL, ST_POINTS, ST_POINTS_ONE_SECTION, ST_SECTIONS,
  ST_MIXED
}
 

Signals

void selectionChanged ()
 
void sectionEntered (int)
 

Public Member Functions

 CurveCreator_TreeView (CurveCreator_ICurve *theCurve, QWidget *parent=0)
 
SelectionType getSelectionType () const
 
QList< int > getSelectedSections () const
 
void pointsAdded (int theSection, int thePoint, int thePointsCnt=1)
 
void pointDataChanged (int theSection, int thePoint)
 
void pointsRemoved (int theSection, int thePoint, int thePointsCnt=1)
 
void sectionAdded (int theSection)
 
void sectionChanged (int theSection, int aSectCnt=1)
 
void sectionsRemoved (int theSection, int theSectionCnt=1)
 
void sectionsSwapped (int theSection, int theOffset)
 
void setSelectedSections (const QList< int > &theList)
 
void setCurve (CurveCreator_ICurve *theCurve)
 
void reset ()
 

Protected Slots

void onActivated (QModelIndex theIndx)
 

Protected Member Functions

void setIndexState (const QModelIndex &theIndx, bool &isExpanded, bool &isSelected, bool &isCurrent)
 
void swapIndexes (const QModelIndex &theFirst, const QModelIndex &theSecond)
 
void getIndexInfo (const QModelIndex &theIndx, bool &isExpanded, bool &isSelected, bool &isCurrent)
 

Member Enumeration Documentation

Enumerator
ST_NOSEL 
ST_POINTS 
ST_POINTS_ONE_SECTION 
ST_SECTIONS 
ST_MIXED 

Constructor & Destructor Documentation

CurveCreator_TreeView::CurveCreator_TreeView ( CurveCreator_ICurve theCurve,
QWidget parent = 0 
)
explicit

Member Function Documentation

void CurveCreator_TreeView::getIndexInfo ( const QModelIndex &  theIndx,
bool &  isExpanded,
bool &  isSelected,
bool &  isCurrent 
)
protected
QList< int > CurveCreator_TreeView::getSelectedSections ( ) const
void CurveCreator_TreeView::onActivated ( QModelIndex  theIndx)
protectedslot
void CurveCreator_TreeView::pointDataChanged ( int  theSection,
int  thePoint 
)
void CurveCreator_TreeView::pointsAdded ( int  theSection,
int  thePoint,
int  thePointsCnt = 1 
)
void CurveCreator_TreeView::pointsRemoved ( int  theSection,
int  thePoint,
int  thePointsCnt = 1 
)
void CurveCreator_TreeView::reset ( )
void CurveCreator_TreeView::sectionAdded ( int  theSection)
void CurveCreator_TreeView::sectionChanged ( int  theSection,
int  aSectCnt = 1 
)
void CurveCreator_TreeView::sectionEntered ( int  )
signal
void CurveCreator_TreeView::sectionsRemoved ( int  theSection,
int  theSectionCnt = 1 
)
void CurveCreator_TreeView::sectionsSwapped ( int  theSection,
int  theOffset 
)
void CurveCreator_TreeView::selectionChanged ( )
signal
void CurveCreator_TreeView::setCurve ( CurveCreator_ICurve theCurve)
void CurveCreator_TreeView::setIndexState ( const QModelIndex &  theIndx,
bool &  isExpanded,
bool &  isSelected,
bool &  isCurrent 
)
protected
void CurveCreator_TreeView::setSelectedSections ( const QList< int > &  theList)
void CurveCreator_TreeView::swapIndexes ( const QModelIndex &  theFirst,
const QModelIndex &  theSecond 
)
protected

References getIndexInfo(), and setIndexState().


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