BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
SessionFlags Class Reference

Description

Collection of flags for SessionModel and SessionItem.

Definition at line 22 of file SessionFlags.h.

Public Types

enum  EAppearance { VISIBLE = 0x001 , ENABLED = 0x002 , EDITABLE = 0x004 }
 
enum  EColumn { ITEM_NAME , ITEM_VALUE , MAX_COLUMNS }
 
enum  ERoles {
  ModelTypeRole = Qt::UserRole + 1 , FlagRole , DisplayNameRole , LimitsRole ,
  DecimalRole , DefaultTagRole , obsolete_CustomEditorRole , EndSessionRoles
}
 

Member Enumeration Documentation

◆ EAppearance

Enumerator
VISIBLE 
ENABLED 
EDITABLE 

Definition at line 42 of file SessionFlags.h.

42 { VISIBLE = 0x001, ENABLED = 0x002, EDITABLE = 0x004 };

◆ EColumn

Enumerator
ITEM_NAME 
ITEM_VALUE 
MAX_COLUMNS 

Definition at line 25 of file SessionFlags.h.

◆ ERoles

Enumerator
ModelTypeRole 
FlagRole 
DisplayNameRole 
LimitsRole 
DecimalRole 
DefaultTagRole 
obsolete_CustomEditorRole 
EndSessionRoles 

Definition at line 29 of file SessionFlags.h.

29  {
30  ModelTypeRole = Qt::UserRole + 1,
31  FlagRole,
33  LimitsRole,
36  obsolete_CustomEditorRole, // don't remove -> keep numbering (is serialized!)
38  };
@ obsolete_CustomEditorRole
Definition: SessionFlags.h:36

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