Skip to content

names_changelog

Johannes Brachem edited this page Apr 29, 2019 · 1 revision

Overview of Changed Names between Alfred 0.2b5 and Alfred 0.3

Summary

Page becomes Page

  • In general, we changed all occurences of Page to Page, because that is a better reflection of how an alfred experiment is structured.

PageGroup becomes Section

  • Parallel to the change from Page to Page, we changed PageGroup and QG to Section. We think this is a more concise label for the structure of Alfred Experiments.

lowerCamelCase becomes underscore_case

  • The remaining changes reflect our effort to adhere to the Python Enhancement Proposal (PEP - click for more info) by switching from lowerCamelCase (starting a new word in function or variable names with a capital letter) to underscore_case (separating words in function or variable names with an underscore).

Classes

Old Name New Name
AutoHideQuestion AutoHidePage
CompositeQuestion CompositePage
CoreCompositeQuestion CoreCompositePage
DemographicQuestion DemographicPage
DynamicQuestion DynamicPage
ExperimentFinishQuestion ExperimentFinishPage
HeadOpenQG HeadOpenSection
HeadOpenQGCantClose HeadOpenSectionCantClose
MongoSaveCompositeQuestion MongoSaveCompositePage
Question Page
QuestionController PageController
QuestionCore PageCore
QuestionGroup PageGroup
QuestionPlaceholder PagePlaceholder
SegmentedQG SegmentedSection
WebCompositeQuestion WebCompositePage
WebQuestionInterface WebPageInterface
WebTimeoutCloseQuestion WebTimeoutClosePage
WebTimeoutForwardQuestion WebTimeoutForwardPage

Functions and Methods

Old Name New Name
_allowClosingAllChildQuestions _allow_closing_all_child_pages
_closeChildQuestions _close_child_pages
_coreQuestionAtIndex _core_page_at_index
_findByUid _find_by_uid
_getLayout _get_layout
_onHidingWidget _on_hiding_widget
_onShowingWidget _on_showing_widget
_setShowCorrectiveHints _set_show_corrective_hints
absExternalFilePath abs_external_file_path
addAdditionalData add_additional_data
addCallable add_callable
addDynamicFile add_dynamic_file
addElement add_element
addElements add_elements
addFailureSavingAgent add_failure_saving_agent
addSavingAgent add_saving_agent
addStaticFile add_static_file
addTestCondition add_test_condition
addedToExperiment added_to_experiment
addedToQuestion added_to_page
addedToQuestionGroup added_to_section
alignmentConverter alignment_converter
allowClosing allow_closing
allowLeaving allow_leaving
appendItem append_item
appendItemToFinishQuestionGroup append_item_to_finish_section
appendItems append_items
backwardEnabled backward_enabled
backwardLink backward_link
backwardText backward_text
barValue bar_value
canDisplayCorrectiveHintsInline can_display_corrective_hints_in_line
canMoveBackward can_move_backward
canMoveForward can_move_forward
changeLayout change_layout
changeToFinishedGroup change_to_finished_group
closePage close_page
correctiveHints corrective_hints
cssCode css_code
cssURLs css_urls
currentQuestion current_page
currentStatustext current_status_text
currentSubtitle current_subtitle
currentTitle current_title
dataManager data_manager
experimenterMessageManager experimenter_message_manager
findAdditionalDataByKeyAndUid find_additional_data_by_key_and_uid
findExperimentDataByUid find_experiment_data_by_uid
findExternalExperimentDataByUid find_external_experiment_data_by_uid
finishDisabled finish_disabled
finishText finish_text
fontsizeConverter fontsize_converter
forwardEnabled forward_enabled
forwardLink forward_link
forwardText forward_text
generateUnsetTagsInSubtree generate_unset_tags_in_subtree
getAdditionalDataByKey get_additional_data_by_key
getCallable get_callable
getData get_data
getDynamicFile get_dynamic_file
getMessages get_messages
getStaticFile get_static_file
initSavingAgents init_saving_agents
isClosed is_closed
isJumpable is_jumpable
javascriptCode javascript_code
javascriptURLs javascript_urls
jsCode js_code
jsURLs js_urls
jumpListEnabled jump_list_enabled
jumpURLfromPosList jump_url_from_pos_list
maxQuestionIndex max_page_index
maximumWidgetWidth maximum_widget_width
messageManager message_manager
moveBackward move_backward
moveForward move_forward
moveToFirst move_to_first
moveToLast move_to_last
moveToPosition move_to_position
onHidingWidget on_hiding_widget
onShowingWidget on_showing_widget
parseXmlToDict parse_xml_to_dict
postMessage post_message
prepareWebWidget prepare_web_widget
questionController page_controller
questionGroup section
question_group section
questionList page_list
readCSVData read_csv_data
removeShouldBeShownFilterFunction remove_should_be_shown_filter_function
renderHtml render_html
renderSlot render_slot
runSavingAgents run_saving_agents
saveData save_data
savingAgentController saving_agent_controller
savingAgent saving_agent
setData set_data
setExperiment set_experiment
setGenerator set_generator
setShouldBeShownFilterFunction set_should_be_shown_filter_function
shouldBeShown should_be_shown
showCorrectiveHints show_corrective_hints
showThumbnail show_thumbnail
startTimeStamp start_timestamp
testCondition test_condition
updateWithUserInput update_with_user_input
userInterfaceController user_interface_controller
uiController ui_controller
validateData validate_data
webThumbnail web_thumbnail
webWidget web_widget

Function Parameters

Old Name New Name
barRange bar_range
barValue bar_value
barWidth bar_width
bottomLabel bottom_label
bottomScaleLabels bottom_scale_labels
courseOfStudies course_of_studies
customLayout custom_layout
debugString debug_string
debugValue debug_value
expAuthorMail exp_author_mail
expName EXP_NAME
expType EXP_TYPE
expVersion EXP_VERSION
extData ext_data
forceInput force_input
fullScreen full_scren
hideData hide_data
instructionHeight instruction_height
instructionWidth instruction_width
itemLabelHeight item_label_height
itemLabelWidth item_label_width
itemLabels item_labels
matchHint match_hint
maxSelect max_select
minSelect min_select
minimumDisplayTime minimum_display_time
minimumDisplayTimeMsg minimum_display_time_msg
mp3Path mp3_path
mp3URL mp3_url
mp4Path mp4_path
mp4URL mp4_url
noInputCorrectiveHint no_input_corrective_hint
oggPath ogg_path
oggURL ogg_url
onClosing on_closing
onHiding on_hiding
regEx reg_ex
selectHint select_hint
shouldBeShownFilterFunction should_be_shown_filter_function
sliderWidth slider_width
tableStriped table_striped
textHeight text_height
textWidth text_width
topLabel top_label
topScaleLabels top_scale_labels
uiController ui_controller
wavPath wav_path
wavURL wav_url
webMPath web_m_path
webMURL web_m_url
xSize x_size
ySize y_size

Class Attributets

Old Name New Name
_additionalData _additional_data
_backwardEnabled _backward_enabled
_backwardLink _backward_link
_backwardText _backward_text
_barRange _bar_range
_barValue _bar_value
_barWidth _bar_width
_bottomLabel _bottom_label
_bottomScaleLabels _bottom_scale_labels
_callablesDict _callables_dict
_currentQuestionIndex _current_page_index
_dataManager _data_manager
_debugString _debug_string
_debugValue _debug_value
_defaultSet _default_set
_dynamicFilesDict _dynamic_files_dict
_elementList _element_list
_elementNameCounter _element_name_counter
_experimenterMessageManager _experimenter_message_manager
_extData _ext_data
_finishText _finish_text
_finishedDisabled _finished_diasbled
_finishedQuestionAdded _finished_page_added
_finishedQuestionGroup _finished_section
_fontSize _font_size
_forceInput _force_input
_forwardEnabled _forward_enabled
_forwardLink _forward_link
_forwardText _forward_text
_hasBeenHidden _has_been_hidden
_hasBeenShown _has_been_shown
_instructionHeight _instruction_height
_instructionWidth _instruction_width
_isClosed _is_closed
_isJumpable _is_jumpable
_itemLabelAlign _item_label_align
_itemLabelHeight _item_label_height
_itemLabelWidth _item_label_width
_itemLabels _item_labels
_jumpList _jump_list
_jumpListEnabled _jump_list_enabled
_matchHint _match_hint
_maxQuestionIndex _max_page_index
_maxSelect _max_select
_maximumWidgetWidth _maximum_widget_width
_messageManager _message_manager
_minSelect _min_select
_minimumDisplayTime _minimum_display_time
_minimumDisplayTimeMsg _minimum_display_time_msg
_mp3Path _mp3_path
_mp4Path _mp4_path
_noInputCorrectiveHint _no_input_corrective_hint
_oggPath _ogg_path
_oldQuestion _old_page
_onClosing _on_closing
_onHiding _on_hiding
_parentGroup _parent_group
_progressBar _progress_bar
_qtMainScrollArea _qt_main_scroll_area
_qtWindow _qt_window
_questionController _page_controller
_questionList _page_list
_regEx _reg_ex
_rootQuestionGroup _root_section
_savingAgentController _saving_agent_controller
_shouldBeShown _should_be_shown
_shouldBeShownFilterFunction _should_be_shown_filter_function
_showCorrectiveHints _show_corrective_hints
_sliderWidth _slider_width
_startTimeStamp _start_timestamp
_staticFilesDict _static_files_dict
_tableStriped _table_striped
_textHeight _text_height
_textLabel _text_label
_textWidth _text_width
_topLabel _top_label
_topScaleLabels _top_scale_labels
_uiController _ui_controller
_useShortLabels _use_short_labels
_userInterfaceController _user_interface_controller
_wavPath _wav_path
_webMPath _web_m_path
_webM_video_url _web_m_video_url
_webView _web_view
_xSize _x_size
_ySize _y_size
changeQtLayout change_qt_layout
closeQuestion close_page
renderSignal render_signal

Variables

Old Name New Name
addWidget add_widget
added_to_pageGroup added_to_section
additionalData additional_data
alignmentArgument alignment_argument
appendTo append_to
append_itemToFinishQuestionGroup append_item_to_finish_section
authSource auth_source
closingTime closing_time
configFile config_file
coreQuestion core_page
cssScript css_script
cssScripts css_scripts
cssURL css_url
currentCoreQuestion current_core_page
dT d_t
dataIn data_in
dataOut data_out
defaultValues default_values
disableMinimumDisplayTime disable_minimum_display_time
disable_minimumDisplayTime disable_minimum_display_time
endSession end_session
expFinished exp_finished
expUuid exp_uuid
fadeIn fade_in
fadeOut fade_out
fileObj file_obj
finishedQuestionGroup finished_section
firstShowTime first_show_time
fontArgument font_argument
fontSize font_size
getTime get_time
imgLft img_lft
imgTop img_top
itemLabelAlignment item_label_alignment
jsScript js_script
jsScripts js_scripts
jsURL js_url
jumpItem jump_item
jumpList jump_list
lmData lm_data
logLevel log_level
logLevelOverride log_level_override
logLevel_override log_level_override
lowerCamelCase lowerCamelCase
mcData mc_data
minimum_display_timeMsg minimum_display_time_msg
nEncrypted n_encrypted
nWelcome n_welcome
noInputName no_input_name
noInput_ no_input
parseJSON parse_json
parseXmlTpDict parse_xml_to_dict
posList pos_list
qCore q_core
qtFullScreen qt_full_screen
reduceCountdown reduce_countdown
reducedCountdownTime reduced_countdown_time
rootQuestionGroup root_section
setCentralWidget set_central_widget
setLayout set_layout
setMinimumHeight set_minimum_height
setMinimumWidth set_minimum_width
setStyleSheet set_style_sheet
setText set_text
setTimeout set_timeout
setUrl set_url
setValue set_value
setWidgetResizable set_widget_resizeable
should_be_shownFilterFunction should_be_shown_filter_function
should_be_shownFilterFunctions should_be_shown_filter_functions
showFullScreen show_full_screen
startTime start_time
strIO strIO
subtreeData subtree_data
switchList switch_list
tagAndUid tag_and_uid
tempInput temp_input
useShortLabels use_short_labels
webM web_m
Clone this wiki locally