18 #ifndef GZ_SIM_GUI_ENVIRONMENTLOADER_HH_
19 #define GZ_SIM_GUI_ENVIRONMENTLOADER_HH_
24 #include "gz/gui/qt.h"
31 inline namespace GZ_SIM_VERSION_NAMESPACE
33 class EnvironmentLoaderPrivate;
132 public:
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override;
139 public: Q_INVOKABLE QString
DataPath() const;
145 public: Q_INVOKABLE
void SetDataPath(QString _dataPath);
148 public: Q_INVOKABLE
void SetDataUrl(QUrl _dataUrl);
154 public: Q_INVOKABLE QStringList
UnitList() const;
160 public: Q_INVOKABLE
int TimeIndex() const;
169 public: Q_INVOKABLE
int XIndex() const;
172 public: Q_INVOKABLE
void SetXIndex(
int _xIndex);
178 public: Q_INVOKABLE
int YIndex() const;
184 public: Q_INVOKABLE
void SetYIndex(
int _yIndex);
187 public: Q_INVOKABLE
int ZIndex() const;
190 public: Q_INVOKABLE
void SetZIndex(
int _zIndex);
199 public: Q_INVOKABLE QString
Reference() const;
202 public: Q_INVOKABLE
void SetReference(QString _reference);
208 public: Q_INVOKABLE QString
Unit() const;
211 public: Q_INVOKABLE
void SetUnit(QString _unit);
227 private:
std::unique_ptr<EnvironmentLoaderPrivate> dataPtr;