PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
QuestionEditorState Struct Reference

#include <LauncherUI.h>

Classes

struct  AnchorEdit
 

Public Member Functions

 QuestionEditorState ()
 

Public Attributes

bool show
 
int editingIndex
 
bool isSection
 
bool isVirtualStart
 
char id [64]
 
char textKey [64]
 
char questionText [2048]
 
int questionType
 
int likertPoints
 
int likertMin
 
int likertMax
 
bool likertReverse
 
bool randomizeOptions
 
std::vector< bool > selectedResponseOptions
 
int vasMinValue
 
int vasMaxValue
 
char vasLeftLabel [256]
 
char vasRightLabel [256]
 
int vasOrientationIdx
 
std::vector< AnchorEditvasAnchors
 
char multiOptions [4096]
 
char gridColumns [2048]
 
char gridRows [4096]
 
char imagePath [512]
 
int randomGroup
 
int requiredState
 
bool hasVisibleWhen
 
int visibleWhenLogic
 
bool visibleWhenIsComplex
 
std::vector< EditorConditionvisibleWhenConditions
 
char questionHead [256]
 
char answerAlias [64]
 
bool hasGate
 
char gateRequiredValue [64]
 
int gateOperator
 
double gateValue
 
char gateTerminateMessageKey [64]
 
char gateTerminateMessageText [512]
 
bool sectionRevisable
 
bool sectionRandomize
 
char sectionRandomizeFixed [512]
 
bool valMinLengthEnabled
 
int valMinLength
 
char valMinLengthError [256]
 
bool valMaxLengthEnabled
 
int valMaxLength
 
char valMaxLengthError [256]
 
bool valMinWordsEnabled
 
int valMinWords
 
char valMinWordsError [256]
 
bool valMaxWordsEnabled
 
int valMaxWords
 
char valMaxWordsError [256]
 
bool valNumberMinEnabled
 
double valNumberMin
 
char valNumberMinError [256]
 
bool valNumberMaxEnabled
 
double valNumberMax
 
char valNumberMaxError [256]
 
bool valPatternEnabled
 
char valPattern [256]
 
char valPatternError [256]
 
bool valMinSelectedEnabled
 
int valMinSelected
 
char valMinSelectedError [256]
 
bool valMaxSelectedEnabled
 
int valMaxSelected
 
char valMaxSelectedError [256]
 

Detailed Description

Definition at line 113 of file LauncherUI.h.

Constructor & Destructor Documentation

◆ QuestionEditorState()

QuestionEditorState::QuestionEditorState ( )
inline

Definition at line 187 of file LauncherUI.h.

187 : show(false), editingIndex(-1), isSection(false), isVirtualStart(false), questionType(0),
191 hasGate(false), gateOperator(0), gateValue(0.0), sectionRevisable(true), sectionRandomize(false),
198 valPatternEnabled(false),
201 id[0] = '\0';
202 textKey[0] = '\0';
203 questionText[0] = '\0';
204 vasLeftLabel[0] = '\0';
205 vasRightLabel[0] = '\0';
206 multiOptions[0] = '\0';
207 gridColumns[0] = '\0';
208 gridRows[0] = '\0';
209 imagePath[0] = '\0';
210 questionHead[0] = '\0';
211 answerAlias[0] = '\0';
212 gateRequiredValue[0] = '\0';
213 gateTerminateMessageKey[0] = '\0';
214 gateTerminateMessageText[0] = '\0';
216 valMinWordsError[0] = valMaxWordsError[0] = '\0';
218 valPattern[0] = valPatternError[0] = '\0';
220 sectionRandomizeFixed[0] = '\0';
221 }
char valPatternError[256]
Definition LauncherUI.h:183
char gridRows[4096]
Definition LauncherUI.h:145
char valMaxWordsError[256]
Definition LauncherUI.h:180
char gateTerminateMessageText[512]
Definition LauncherUI.h:169
char sectionRandomizeFixed[512]
Definition LauncherUI.h:174
char multiOptions[4096]
Definition LauncherUI.h:141
char valMinSelectedError[256]
Definition LauncherUI.h:184
char questionText[2048]
Definition LauncherUI.h:120
char gridColumns[2048]
Definition LauncherUI.h:144
char valMaxSelectedError[256]
Definition LauncherUI.h:185
char valNumberMinError[256]
Definition LauncherUI.h:181
char valNumberMaxError[256]
Definition LauncherUI.h:182
char gateRequiredValue[64]
Definition LauncherUI.h:165
char gateTerminateMessageKey[64]
Definition LauncherUI.h:168
char valMinWordsError[256]
Definition LauncherUI.h:179
char vasRightLabel[256]
Definition LauncherUI.h:135
char valMaxLengthError[256]
Definition LauncherUI.h:178
char vasLeftLabel[256]
Definition LauncherUI.h:134
char questionHead[256]
Definition LauncherUI.h:160
char valMinLengthError[256]
Definition LauncherUI.h:177

References answerAlias, gateRequiredValue, gateTerminateMessageKey, gateTerminateMessageText, gridColumns, gridRows, imagePath, multiOptions, questionHead, questionText, sectionRandomizeFixed, textKey, valMaxLengthError, valMaxSelectedError, valMaxWordsError, valMinLengthError, valMinSelectedError, valMinWordsError, valNumberMaxError, valNumberMinError, valPattern, valPatternError, vasLeftLabel, and vasRightLabel.

Member Data Documentation

◆ answerAlias

char QuestionEditorState::answerAlias[64]

Definition at line 161 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ editingIndex

int QuestionEditorState::editingIndex

Definition at line 115 of file LauncherUI.h.

◆ gateOperator

int QuestionEditorState::gateOperator

Definition at line 166 of file LauncherUI.h.

◆ gateRequiredValue

char QuestionEditorState::gateRequiredValue[64]

Definition at line 165 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ gateTerminateMessageKey

char QuestionEditorState::gateTerminateMessageKey[64]

Definition at line 168 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ gateTerminateMessageText

char QuestionEditorState::gateTerminateMessageText[512]

Definition at line 169 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ gateValue

double QuestionEditorState::gateValue

Definition at line 167 of file LauncherUI.h.

◆ gridColumns

char QuestionEditorState::gridColumns[2048]

Definition at line 144 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ gridRows

char QuestionEditorState::gridRows[4096]

Definition at line 145 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ hasGate

bool QuestionEditorState::hasGate

Definition at line 164 of file LauncherUI.h.

◆ hasVisibleWhen

bool QuestionEditorState::hasVisibleWhen

Definition at line 154 of file LauncherUI.h.

◆ id

char QuestionEditorState::id[64]

Definition at line 118 of file LauncherUI.h.

◆ imagePath

char QuestionEditorState::imagePath[512]

Definition at line 148 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ isSection

bool QuestionEditorState::isSection

Definition at line 116 of file LauncherUI.h.

◆ isVirtualStart

bool QuestionEditorState::isVirtualStart

Definition at line 117 of file LauncherUI.h.

◆ likertMax

int QuestionEditorState::likertMax

Definition at line 126 of file LauncherUI.h.

◆ likertMin

int QuestionEditorState::likertMin

Definition at line 125 of file LauncherUI.h.

◆ likertPoints

int QuestionEditorState::likertPoints

Definition at line 124 of file LauncherUI.h.

◆ likertReverse

bool QuestionEditorState::likertReverse

Definition at line 127 of file LauncherUI.h.

◆ multiOptions

char QuestionEditorState::multiOptions[4096]

Definition at line 141 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ questionHead

char QuestionEditorState::questionHead[256]

Definition at line 160 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ questionText

char QuestionEditorState::questionText[2048]

Definition at line 120 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ questionType

int QuestionEditorState::questionType

Definition at line 121 of file LauncherUI.h.

◆ randomGroup

int QuestionEditorState::randomGroup

Definition at line 150 of file LauncherUI.h.

◆ randomizeOptions

bool QuestionEditorState::randomizeOptions

Definition at line 128 of file LauncherUI.h.

◆ requiredState

int QuestionEditorState::requiredState

Definition at line 151 of file LauncherUI.h.

◆ sectionRandomize

bool QuestionEditorState::sectionRandomize

Definition at line 173 of file LauncherUI.h.

◆ sectionRandomizeFixed

char QuestionEditorState::sectionRandomizeFixed[512]

Definition at line 174 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ sectionRevisable

bool QuestionEditorState::sectionRevisable

Definition at line 172 of file LauncherUI.h.

◆ selectedResponseOptions

std::vector<bool> QuestionEditorState::selectedResponseOptions

Definition at line 129 of file LauncherUI.h.

◆ show

bool QuestionEditorState::show

Definition at line 114 of file LauncherUI.h.

Referenced by LauncherUI::Render().

◆ textKey

char QuestionEditorState::textKey[64]

Definition at line 119 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valMaxLength

int QuestionEditorState::valMaxLength

Definition at line 178 of file LauncherUI.h.

◆ valMaxLengthEnabled

bool QuestionEditorState::valMaxLengthEnabled

Definition at line 178 of file LauncherUI.h.

◆ valMaxLengthError

char QuestionEditorState::valMaxLengthError[256]

Definition at line 178 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valMaxSelected

int QuestionEditorState::valMaxSelected

Definition at line 185 of file LauncherUI.h.

◆ valMaxSelectedEnabled

bool QuestionEditorState::valMaxSelectedEnabled

Definition at line 185 of file LauncherUI.h.

◆ valMaxSelectedError

char QuestionEditorState::valMaxSelectedError[256]

Definition at line 185 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valMaxWords

int QuestionEditorState::valMaxWords

Definition at line 180 of file LauncherUI.h.

◆ valMaxWordsEnabled

bool QuestionEditorState::valMaxWordsEnabled

Definition at line 180 of file LauncherUI.h.

◆ valMaxWordsError

char QuestionEditorState::valMaxWordsError[256]

Definition at line 180 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valMinLength

int QuestionEditorState::valMinLength

Definition at line 177 of file LauncherUI.h.

◆ valMinLengthEnabled

bool QuestionEditorState::valMinLengthEnabled

Definition at line 177 of file LauncherUI.h.

◆ valMinLengthError

char QuestionEditorState::valMinLengthError[256]

Definition at line 177 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valMinSelected

int QuestionEditorState::valMinSelected

Definition at line 184 of file LauncherUI.h.

◆ valMinSelectedEnabled

bool QuestionEditorState::valMinSelectedEnabled

Definition at line 184 of file LauncherUI.h.

◆ valMinSelectedError

char QuestionEditorState::valMinSelectedError[256]

Definition at line 184 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valMinWords

int QuestionEditorState::valMinWords

Definition at line 179 of file LauncherUI.h.

◆ valMinWordsEnabled

bool QuestionEditorState::valMinWordsEnabled

Definition at line 179 of file LauncherUI.h.

◆ valMinWordsError

char QuestionEditorState::valMinWordsError[256]

Definition at line 179 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valNumberMax

double QuestionEditorState::valNumberMax

Definition at line 182 of file LauncherUI.h.

◆ valNumberMaxEnabled

bool QuestionEditorState::valNumberMaxEnabled

Definition at line 182 of file LauncherUI.h.

◆ valNumberMaxError

char QuestionEditorState::valNumberMaxError[256]

Definition at line 182 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valNumberMin

double QuestionEditorState::valNumberMin

Definition at line 181 of file LauncherUI.h.

◆ valNumberMinEnabled

bool QuestionEditorState::valNumberMinEnabled

Definition at line 181 of file LauncherUI.h.

◆ valNumberMinError

char QuestionEditorState::valNumberMinError[256]

Definition at line 181 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valPattern

char QuestionEditorState::valPattern[256]

Definition at line 183 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ valPatternEnabled

bool QuestionEditorState::valPatternEnabled

Definition at line 183 of file LauncherUI.h.

◆ valPatternError

char QuestionEditorState::valPatternError[256]

Definition at line 183 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ vasAnchors

std::vector<AnchorEdit> QuestionEditorState::vasAnchors

Definition at line 138 of file LauncherUI.h.

◆ vasLeftLabel

char QuestionEditorState::vasLeftLabel[256]

Definition at line 134 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ vasMaxValue

int QuestionEditorState::vasMaxValue

Definition at line 133 of file LauncherUI.h.

◆ vasMinValue

int QuestionEditorState::vasMinValue

Definition at line 132 of file LauncherUI.h.

◆ vasOrientationIdx

int QuestionEditorState::vasOrientationIdx

Definition at line 136 of file LauncherUI.h.

◆ vasRightLabel

char QuestionEditorState::vasRightLabel[256]

Definition at line 135 of file LauncherUI.h.

Referenced by QuestionEditorState().

◆ visibleWhenConditions

std::vector<EditorCondition> QuestionEditorState::visibleWhenConditions

Definition at line 157 of file LauncherUI.h.

◆ visibleWhenIsComplex

bool QuestionEditorState::visibleWhenIsComplex

Definition at line 156 of file LauncherUI.h.

◆ visibleWhenLogic

int QuestionEditorState::visibleWhenLogic

Definition at line 155 of file LauncherUI.h.


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