wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ExerciseTourResourceEntry Struct Reference

#include <ExerciseTourResources.h>

Public Attributes

QString description
 JSON root "description" field; "" if absent.
QString id
 JSON root "id" field.
QString path
 ":/Exercises/x.json" (built-in) or a real filesystem path.
QString title
 JSON root "title" field (raw, English-source).

Detailed Description

Metadata for one Exercise/Tour content JSON file, as discovered by scanning a directory (built-in Qt resource, or a real filesystem folder). title and description are the raw English-source strings straight from the JSON — NOT translated; callers apply ExerciseTourResources::translate() themselves (mirrors LanguageManager::availableLanguages() vs. displayName()).

Definition at line 19 of file ExerciseTourResources.h.

Member Data Documentation

◆ description

QString ExerciseTourResourceEntry::description

JSON root "description" field; "" if absent.

Definition at line 23 of file ExerciseTourResources.h.

◆ id

QString ExerciseTourResourceEntry::id

JSON root "id" field.

Definition at line 21 of file ExerciseTourResources.h.

◆ path

QString ExerciseTourResourceEntry::path

":/Exercises/x.json" (built-in) or a real filesystem path.

Definition at line 20 of file ExerciseTourResources.h.

◆ title

QString ExerciseTourResourceEntry::title

JSON root "title" field (raw, English-source).

Definition at line 22 of file ExerciseTourResources.h.


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