Emergency 2017 Dokumentation  v3.0.1
qsf::editor::EditorSettingsGroup Class Reference

QSF editor settings group implementation. More...

#include <EditorSettingsGroup.h>

Public Types

typedef boost::container::flat_map< std::string, std::string > LocalAssetDatasources
 Datasource identifier string as key and the local datasource path as value. More...
 
- Public Types inherited from qsf::Object
enum  PropertyOverrideState { PROPERTY_INVALID, PROPERTY_DEFAULT, PROPERTY_OVERRIDE, PROPERTY_REMOVED }
 
enum  SerializationMethod { SERIALIZE_FLAT, SERIALIZE_COMPLETE, SERIALIZE_DIFFERENTIAL, SERIALIZE_IGNORE_UNKNOWN }
 
enum  SerializationMode { MODE_MINIMAL, MODE_COMPATIBLE }
 

Public Member Functions

 EditorSettingsGroup (SettingsGroupManager *settingsGroupManager)
 Constructor. More...
 
virtual ~EditorSettingsGroup ()
 Destructor. More...
 
const AssetProxygetStartupMap () const
 
void setStartupMap (const AssetProxy &startupMap)
 
int getFloatPrecision () const
 
void setFloatPrecision (int precision)
 
const std::string & getUiStyle () const
 
void setUiStyle (const std::string &uiStyle)
 
const std::string & getUiStyleSheet () const
 
void setUiStyleSheet (const std::string &uiStyleSheet)
 
void setQtStyleSheet ()
 
void setQtStyle ()
 
bool getShowHiddenComponents () const
 
void setShowHiddenComponents (bool showHiddenComponents)
 
bool getExpandObjectProperties () const
 
void setExpandObjectProperties (bool expandObjectProperties)
 
bool getSelectEntityOnLayer () const
 
void setSelectEntityOnLayer (bool selectEntityOnLayer)
 
bool getTerrainRenderViewSelection () const
 
void setTerrainRenderViewSelection (bool enabled)
 
bool getPasteEntitiesInSourceLayer () const
 
void setPasteEntitiesInSourceLayer (bool enabled)
 
LogMessage::SeverityLevel getShowLogSeverityLevel () const
 
void setShowLogSeverityLevel (LogMessage::SeverityLevel severityLevel)
 
const std::vector< LogContextFilterSettings > & getLogContextFilterSettings () const
 
std::vector< LogContextFilterSettings > & getLogContextFilterSettings ()
 
void addNewLogContext (uint32 newContext, const std::string &name="")
 Check if context is existing and add this to mLogContextFilterSettings. More...
 
float getDefaultStreetCrossingNodeRadius () const
 Get the default street crossing node radius. More...
 
void setDefaultStreetCrossingNodeRadius (float defaultStreetCrossingNodeRadius)
 Set default street crossing node radius. More...
 
const AssetProxygetDefaultStreetSectionBaseMesh () const
 Get the default street section base mesh asset. More...
 
void setDefaultStreetSectionBaseMesh (const AssetProxy &defaultStreetSectionBaseMesh)
 Set default street section base mesh asset. More...
 
float getDefaultStreetSectionNodeRadius () const
 Get the default street section node radius. More...
 
void setDefaultStreetSectionNodeRadius (float defaultStreetSectionNodeRadius)
 Set default street section node radius. More...
 
float getMinimumStreetTier1To2Distance () const
 Get the minimum street tier 1 to tier 2 distance. More...
 
void setMinimumStreetTier1To2Distance (float minimumStreetTier1To2Distance)
 Set the minimum street tier 1 to tier 2 distance. More...
 
float getTerrainFlattenOffset () const
 Get the terrain flatten offset. More...
 
void setTerrainFlattenOffset (float terrainFlattenOffset)
 Set terrain flatten offset. More...
 
bool getAssetPreview () const
 
void setAssetPreview (bool assetPreview)
 
uint64 getGlobalAssetIdGenerationBase () const
 
void setGlobalAssetIdGenerationBase (uint64 globalAssetIdGenerationBase)
 
bool isAssetImportPreviewEnabled () const
 Return whether or not the asset import preview when using drag'n'drop-import is enabled. More...
 
void setAssetImportPreviewEnabled (bool assetImportPreviewEnabled)
 Set whether or not the asset import preview when using drag'n'drop-import is enabled. More...
 
bool isMultiAssetImportEnabled () const
 Return whether or not the import of multiple assets at one and the same is allowed. More...
 
void setMultiAssetImportEnabled (bool multiAssetImportEnabled)
 Set whether or not the import of multiple assets at one and the same is allowed. More...
 
bool isMaterialAssetReimportEnabled () const
 Return whether or not the reimport of material assets is enabled. More...
 
void setMaterialAssetReimportEnabled (bool materialAssetReimportEnabled)
 Set whether or not the reimport of material assets is enabled. More...
 
const LocalAssetDatasourcesgetLocalAssetDatasources () const
 Get the local asset datasources as key-value mappings with the datasource identifier string as key and the local datasource path as value. More...
 
void setLocalAssetDatasources (const LocalAssetDatasources &localAssetDatasources)
 Set the local asset datasources as key-value mappings with the datasource identifier string as key and the local datasource path as value. More...
 
std::string getLocalAssetDatasourcesAsString () const
 
void setLocalAssetDatasourcesFromString (const std::string &localAssetDatasourcesAsString)
 
- Public Member Functions inherited from qsf::SettingsGroup
virtual ~SettingsGroup ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::ParameterGroup
virtual ~ParameterGroup ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::Pluginable< ParameterGroupManager >
virtual ~Pluginable ()
 Destructor. More...
 
ParameterGroupManagergetManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::PluginableBase
virtual ~PluginableBase ()
 Destructor. More...
 
template<typename T >
T & getPluginableManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::Object
virtual ~Object ()
 Destructor. More...
 
const camp::Class & getCampClass () const
 Return the CAMP class. More...
 
int getPropertyIndexById (const StringHash &propertyId) const
 Return the CAMP property index by using the unique class property ID. More...
 
uint32 getPropertyIdByIndex (int index) const
 Return the unique class property ID with the given index. More...
 
std::string getPropertyNameById (const StringHash &propertyId) const
 Return the CAMP property name by using the unique class property ID. More...
 
const camp::Property * getCampPropertyById (const StringHash &propertyId) const
 Return the CAMP property by using the unique class property ID. More...
 
void setPropertyValuesByString (const std::string &values)
 Set CAMP reflection property values by using a given string. More...
 
void setPropertiesToDefaultValues ()
 Set all CAMP reflection system properties to their default values. More...
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
void serializeToBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void deserializeFromBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL, bool setOverrideState=true)
 
virtual camp::Value getPropertyDefaultValue (const StringHash &propertyId) const
 
virtual PropertyOverrideState getPropertyOverrideState (const StringHash &propertyId) const
 
virtual bool setPropertyOverrideState (const StringHash &propertyId, PropertyOverrideState overrideState)
 
virtual void onPreDeserialize ()
 Called right before the object is deserialized using any of the above methods. Default implementation is empty. More...
 
virtual void onPostDeserialize ()
 Called right after the object was deserialized using any of the above methods. Default implementation is empty. More...
 
virtual ScriptgetAssociatedScript () const
 Return the script instance associated with this object instance. More...
 

Static Public Attributes

static const uint32 PLUGINABLE_ID
 "qsf::editor::RenderingSettingsGroup" unique pluginable settings group ID More...
 
static const uint32 STARTUP_MAP
 "StartupMap" unique class property ID inside the class More...
 
static const uint32 FLOAT_PRECISION
 "FloatPrecision" unique class property ID inside the class More...
 
static const uint32 UI_STYLE
 "UiStyle" unique class property ID inside the class More...
 
static const uint32 UI_STYLE_SHEET
 "UiStyleSheet" unique class property ID inside the class More...
 
static const uint32 SHOW_HIDDEN_COMPONENTS
 "ShowHiddenComponents" unique class property ID inside the class More...
 
static const uint32 EXPAND_OBJECT_PROPERTIES
 "ExpandObjectProperties" unique class property ID inside the class More...
 
static const uint32 SHOW_LOG_SEVERITY_LEVEL
 "ShowLogSeverityLevel" unique class property ID inside the class More...
 
static const uint32 SELECT_ENTITY_ON_LAYER
 "SelectEntityOnLayer" unique class property ID inside the class More...
 
static const uint32 TERRAIN_RENDER_VIEW_SELECTION
 "TerrainRenderViewSelection" unique class property ID inside the class More...
 
static const uint32 PASTE_ENTITIES_IN_SOURCE_LAYER
 "PasteEntitiesInSourceLayer" unique class property ID inside the class More...
 
static const uint32 DEFAULT_STREET_CROSSING_NODE_RADIUS
 "DefaultStreetCrossingNodeRadius" unique class property ID inside the class More...
 
static const uint32 DEFAULT_STREET_SECTION_BASE_MESH
 "DefaultStreetSectionBaseMesh" unique class property ID inside the class More...
 
static const uint32 DEFAULT_STREET_SECTION_NODE_RADIUS
 "DefaultStreetSectionNodeRadius" unique class property ID inside the class More...
 
static const uint32 MINIMUM_STREET_TIER_1_TO_2_DISTANCE
 "MinimumStreetTier1To2Distance" unique class property ID inside the class More...
 
static const uint32 TERRAIN_FLATTEN_OFFSET
 "TerrainFlattenOffset" unique class property ID inside the class More...
 
static const uint32 ASSET_PREVIEW
 "AssetPreview" unique class property ID inside the class More...
 
static const uint32 GLOBAL_ASSET_ID_GENERATION_BASE
 "GlobalAssetIdGenerationBase" unique class property ID inside the class More...
 
static const uint32 ASSET_IMPORT_PREVIEW_ENABLED
 "AssetImportPreviewEnabled" unique class property ID inside the class More...
 
static const uint32 MULTI_ASSET_IMPORT_ENABLED
 "MultiAssetImportEnabled" unique class property ID inside the class More...
 
static const uint32 MATERIAL_ASSET_REIMPORT_ENABLED
 "MaterialAssetReimportEnabled" unique class property ID inside the class More...
 
static const uint32 LOCAL_ASSET_DATASOURCES
 "LocalAssetDatasources" unique class property ID inside the class More...
 
static const std::string MATERIAL_DATASOURCE_IDENTIFIER
 Datasource identifier of the material datasource. More...
 
static const std::string MATERIAL_DATASOURCE_INTERNAL_PATH
 Path relative to the base directory - Begins and ends with a path separator (e.g. "/source/material/") More...
 
static const std::string TERRAIN_DATASOURCE_IDENTIFIER
 Datasource identifier of the material datasource. More...
 
static const std::string TERRAIN_DATASOURCE_INTERNAL_PATH
 Path relative to the base directory - Begins and ends with a path separator (e.g. "/source/terrain_data_map/") More...
 

Friends

class GeneralMetaclasses
 

Additional Inherited Members

- Static Public Member Functions inherited from qsf::UniqueInstance< EditorSettingsGroup >
static EditorSettingsGroup * getInstance ()
 Return the global unique instance. More...
 
static EditorSettingsGroup & getInstanceSafe ()
 Return the global unique instance. More...
 
- Protected Member Functions inherited from qsf::SettingsGroup
 SettingsGroup (SettingsGroupManager *settingsGroupManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::ParameterGroup
 ParameterGroup (ParameterGroupManager *parameterGroupManager)
 Constructor. More...
 
void promotePropertyChange (uint32 propertyId)
 A component property value was changed. More...
 
template<typename T >
bool assignAndPromoteChange (T &variable, const T &newValue, uint32 propertyId)
 Comfort function for updating an exported member variable and promoting any change that happened. More...
 
- Protected Member Functions inherited from qsf::Pluginable< ParameterGroupManager >
 Pluginable (ParameterGroupManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::PluginableBase
 PluginableBase (PluginableManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::Object
 Object ()
 Default constructor. More...
 
- Protected Member Functions inherited from qsf::UniqueInstance< EditorSettingsGroup >
 UniqueInstance ()
 Default constructor. More...
 
virtual ~UniqueInstance ()
 Destructor. More...
 

Detailed Description

QSF editor settings group implementation.

Todo:
  • TODO(co) For now, we only have a single camera mode for a single render view, later on there might be multiple render views, each with its own camera mode

Definition at line 86 of file EditorSettingsGroup.h.

Member Typedef Documentation

typedef boost::container::flat_map<std::string, std::string> qsf::editor::EditorSettingsGroup::LocalAssetDatasources

Datasource identifier string as key and the local datasource path as value.

Definition at line 139 of file EditorSettingsGroup.h.

Constructor & Destructor Documentation

qsf::editor::EditorSettingsGroup::EditorSettingsGroup ( SettingsGroupManager settingsGroupManager)
inlineexplicit

Constructor.

Parameters
[in]settingsGroupManagerOptional pointer to the settings group manager this settings group should be registered to, can be a null pointer

Definition at line 16 of file EditorSettingsGroup-inl.h.

qsf::editor::EditorSettingsGroup::~EditorSettingsGroup ( )
inlinevirtual

Destructor.

Definition at line 48 of file EditorSettingsGroup-inl.h.

Member Function Documentation

void qsf::editor::EditorSettingsGroup::addNewLogContext ( uint32  newContext,
const std::string &  name = "" 
)

Check if context is existing and add this to mLogContextFilterSettings.

bool qsf::editor::EditorSettingsGroup::getAssetPreview ( ) const
inline

Return whether or not there's an asset preview

Definition at line 203 of file EditorSettingsGroup-inl.h.

float qsf::editor::EditorSettingsGroup::getDefaultStreetCrossingNodeRadius ( ) const
inline

Get the default street crossing node radius.

Returns
The default street crossing node radius

Definition at line 153 of file EditorSettingsGroup-inl.h.

const AssetProxy & qsf::editor::EditorSettingsGroup::getDefaultStreetSectionBaseMesh ( ) const
inline

Get the default street section base mesh asset.

Returns
The default street section base mesh asset

Definition at line 163 of file EditorSettingsGroup-inl.h.

float qsf::editor::EditorSettingsGroup::getDefaultStreetSectionNodeRadius ( ) const
inline

Get the default street section node radius.

Returns
The default street section node radius

Definition at line 173 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::getExpandObjectProperties ( ) const
inline

Definition at line 93 of file EditorSettingsGroup-inl.h.

int qsf::editor::EditorSettingsGroup::getFloatPrecision ( ) const
inline

Return the number of digits displayed after the decimal point

Definition at line 63 of file EditorSettingsGroup-inl.h.

uint64 qsf::editor::EditorSettingsGroup::getGlobalAssetIdGenerationBase ( ) const
inline

Return the minimal generated global asset ID in offline mode

Definition at line 213 of file EditorSettingsGroup-inl.h.

const EditorSettingsGroup::LocalAssetDatasources & qsf::editor::EditorSettingsGroup::getLocalAssetDatasources ( ) const
inline

Get the local asset datasources as key-value mappings with the datasource identifier string as key and the local datasource path as value.

Returns
The local asset datasources

Definition at line 253 of file EditorSettingsGroup-inl.h.

std::string qsf::editor::EditorSettingsGroup::getLocalAssetDatasourcesAsString ( ) const
const std::vector< LogContextFilterSettings > & qsf::editor::EditorSettingsGroup::getLogContextFilterSettings ( ) const
inline

Definition at line 143 of file EditorSettingsGroup-inl.h.

std::vector< LogContextFilterSettings > & qsf::editor::EditorSettingsGroup::getLogContextFilterSettings ( )
inline

Definition at line 148 of file EditorSettingsGroup-inl.h.

float qsf::editor::EditorSettingsGroup::getMinimumStreetTier1To2Distance ( ) const
inline

Get the minimum street tier 1 to tier 2 distance.

Returns
The minimum street tier 1 to tier 2 distance

Definition at line 183 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::getPasteEntitiesInSourceLayer ( ) const
inline

Return whether a new entity should be pasted into the same layer the copied entity resides in or into the selected layer

Definition at line 123 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::getSelectEntityOnLayer ( ) const
inline

Return if the user can select entities only on the selected layer or sublayer

Definition at line 103 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::getShowHiddenComponents ( ) const
inline

Return if the user can see hidden system components and values

Definition at line 83 of file EditorSettingsGroup-inl.h.

LogMessage::SeverityLevel qsf::editor::EditorSettingsGroup::getShowLogSeverityLevel ( ) const
inline

Definition at line 133 of file EditorSettingsGroup-inl.h.

const AssetProxy & qsf::editor::EditorSettingsGroup::getStartupMap ( ) const
inline

Get the map asset to load on startup by default in case the editor is not connected to a server

Definition at line 53 of file EditorSettingsGroup-inl.h.

float qsf::editor::EditorSettingsGroup::getTerrainFlattenOffset ( ) const
inline

Get the terrain flatten offset.

Returns
The terrain flatten offset

Definition at line 193 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::getTerrainRenderViewSelection ( ) const
inline

Return whether or not is possible to select terrain components inside the render view

Definition at line 113 of file EditorSettingsGroup-inl.h.

const std::string & qsf::editor::EditorSettingsGroup::getUiStyle ( ) const
inline

Return the name of the used UI style

Definition at line 73 of file EditorSettingsGroup-inl.h.

const std::string & qsf::editor::EditorSettingsGroup::getUiStyleSheet ( ) const
inline

Return the name of the used UI style sheet

Definition at line 78 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::isAssetImportPreviewEnabled ( ) const
inline

Return whether or not the asset import preview when using drag'n'drop-import is enabled.

Returns
"true" if the asset import preview when using drag'n'drop-import is enabled, else "false"

Definition at line 223 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::isMaterialAssetReimportEnabled ( ) const
inline

Return whether or not the reimport of material assets is enabled.

Returns
"true" if the reimport of material assets is enabled, else "false"

Definition at line 243 of file EditorSettingsGroup-inl.h.

bool qsf::editor::EditorSettingsGroup::isMultiAssetImportEnabled ( ) const
inline

Return whether or not the import of multiple assets at one and the same is allowed.

Returns
"true" if the import of multiple assets at one and the same is allowed, else "false"

Definition at line 233 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setAssetImportPreviewEnabled ( bool  assetImportPreviewEnabled)
inline

Set whether or not the asset import preview when using drag'n'drop-import is enabled.

Parameters
[in]assetImportPreviewEnabled"true" if the asset import preview when using drag'n'drop-import is enabled, else "false"

Definition at line 228 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setAssetPreview ( bool  assetPreview)
inline

Set whether or not there's an asset preview

Definition at line 208 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setDefaultStreetCrossingNodeRadius ( float  defaultStreetCrossingNodeRadius)
inline

Set default street crossing node radius.

Parameters
[in]defaultStreetCrossingNodeRadiusDefault street crossing node radius

Definition at line 158 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setDefaultStreetSectionBaseMesh ( const AssetProxy defaultStreetSectionBaseMesh)
inline

Set default street section base mesh asset.

Parameters
[in]defaultStreetSectionBaseMeshDefault street section base mesh asset to set

Definition at line 168 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setDefaultStreetSectionNodeRadius ( float  defaultStreetSectionNodeRadius)
inline

Set default street section node radius.

Parameters
[in]defaultStreetSectionNodeRadiusDefault street section node radius

Definition at line 178 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setExpandObjectProperties ( bool  expandObjectProperties)
inline

Definition at line 98 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setFloatPrecision ( int  precision)
inline

Set the number of digits displayed after the decimal point

Definition at line 68 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setGlobalAssetIdGenerationBase ( uint64  globalAssetIdGenerationBase)
inline

Set the minimal generated global asset ID in offline mode

Definition at line 218 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setLocalAssetDatasources ( const LocalAssetDatasources localAssetDatasources)

Set the local asset datasources as key-value mappings with the datasource identifier string as key and the local datasource path as value.

Parameters
[in]localAssetDatasourcesThe local asset datasources
void qsf::editor::EditorSettingsGroup::setLocalAssetDatasourcesFromString ( const std::string &  localAssetDatasourcesAsString)
void qsf::editor::EditorSettingsGroup::setMaterialAssetReimportEnabled ( bool  materialAssetReimportEnabled)
inline

Set whether or not the reimport of material assets is enabled.

Parameters
[in]materialAssetReimportEnabled"true" if the reimport of material assets is enabled, else "false"

Definition at line 248 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setMinimumStreetTier1To2Distance ( float  minimumStreetTier1To2Distance)
inline

Set the minimum street tier 1 to tier 2 distance.

Parameters
[in]minimumStreetTier1To2DistanceMinimum street tier 1 to tier 2 distance

Definition at line 188 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setMultiAssetImportEnabled ( bool  multiAssetImportEnabled)
inline

Set whether or not the import of multiple assets at one and the same is allowed.

Parameters
[in]multiAssetImportEnabled"true" if the import of multiple assets at one and the same is allowed, else "false"

Definition at line 238 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setPasteEntitiesInSourceLayer ( bool  enabled)
inline

Set whether a new entity should be pasted into the same layer the copied entity resides in or into the selected layer

Definition at line 128 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setQtStyle ( )

Tell Qt about the style to use

void qsf::editor::EditorSettingsGroup::setQtStyleSheet ( )

Tell Qt about the style sheet to use

void qsf::editor::EditorSettingsGroup::setSelectEntityOnLayer ( bool  selectEntityOnLayer)
inline

Set if the user can select entities only on the selected layer or sublayer

Definition at line 108 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setShowHiddenComponents ( bool  showHiddenComponents)
inline

Set if the user can see hidden system components and values

Definition at line 88 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setShowLogSeverityLevel ( LogMessage::SeverityLevel  severityLevel)
inline

Definition at line 138 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setStartupMap ( const AssetProxy startupMap)
inline

Set the map asset to load on startup by default in case the editor is not connected to a server

Definition at line 58 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setTerrainFlattenOffset ( float  terrainFlattenOffset)
inline

Set terrain flatten offset.

Parameters
[in]terrainFlattenOffsetTerrain flatten offset

Definition at line 198 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setTerrainRenderViewSelection ( bool  enabled)
inline

Set whether or not is possible to select terrain components inside the render view

Definition at line 118 of file EditorSettingsGroup-inl.h.

void qsf::editor::EditorSettingsGroup::setUiStyle ( const std::string &  uiStyle)

Set the name of the used UI style

void qsf::editor::EditorSettingsGroup::setUiStyleSheet ( const std::string &  uiStyleSheet)

Set the name of the used UI style sheet

Friends And Related Function Documentation

friend class GeneralMetaclasses
friend

Definition at line 93 of file EditorSettingsGroup.h.

Member Data Documentation

const uint32 qsf::editor::EditorSettingsGroup::ASSET_IMPORT_PREVIEW_ENABLED
static

"AssetImportPreviewEnabled" unique class property ID inside the class

Definition at line 126 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::ASSET_PREVIEW
static

"AssetPreview" unique class property ID inside the class

Definition at line 124 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::DEFAULT_STREET_CROSSING_NODE_RADIUS
static

"DefaultStreetCrossingNodeRadius" unique class property ID inside the class

Definition at line 117 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::DEFAULT_STREET_SECTION_BASE_MESH
static

"DefaultStreetSectionBaseMesh" unique class property ID inside the class

Definition at line 118 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::DEFAULT_STREET_SECTION_NODE_RADIUS
static

"DefaultStreetSectionNodeRadius" unique class property ID inside the class

Definition at line 119 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::EXPAND_OBJECT_PROPERTIES
static

"ExpandObjectProperties" unique class property ID inside the class

Definition at line 109 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::FLOAT_PRECISION
static

"FloatPrecision" unique class property ID inside the class

Definition at line 103 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::GLOBAL_ASSET_ID_GENERATION_BASE
static

"GlobalAssetIdGenerationBase" unique class property ID inside the class

Definition at line 125 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::LOCAL_ASSET_DATASOURCES
static

"LocalAssetDatasources" unique class property ID inside the class

Definition at line 129 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::MATERIAL_ASSET_REIMPORT_ENABLED
static

"MaterialAssetReimportEnabled" unique class property ID inside the class

Definition at line 128 of file EditorSettingsGroup.h.

const std::string qsf::editor::EditorSettingsGroup::MATERIAL_DATASOURCE_IDENTIFIER
static

Datasource identifier of the material datasource.

Definition at line 132 of file EditorSettingsGroup.h.

const std::string qsf::editor::EditorSettingsGroup::MATERIAL_DATASOURCE_INTERNAL_PATH
static

Path relative to the base directory - Begins and ends with a path separator (e.g. "/source/material/")

Definition at line 133 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::MINIMUM_STREET_TIER_1_TO_2_DISTANCE
static

"MinimumStreetTier1To2Distance" unique class property ID inside the class

Definition at line 120 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::MULTI_ASSET_IMPORT_ENABLED
static

"MultiAssetImportEnabled" unique class property ID inside the class

Definition at line 127 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::PASTE_ENTITIES_IN_SOURCE_LAYER
static

"PasteEntitiesInSourceLayer" unique class property ID inside the class

Definition at line 115 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::PLUGINABLE_ID
static

"qsf::editor::RenderingSettingsGroup" unique pluginable settings group ID

Definition at line 100 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::SELECT_ENTITY_ON_LAYER
static

"SelectEntityOnLayer" unique class property ID inside the class

Definition at line 113 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::SHOW_HIDDEN_COMPONENTS
static

"ShowHiddenComponents" unique class property ID inside the class

Definition at line 108 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::SHOW_LOG_SEVERITY_LEVEL
static

"ShowLogSeverityLevel" unique class property ID inside the class

Definition at line 111 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::STARTUP_MAP
static

"StartupMap" unique class property ID inside the class

Definition at line 102 of file EditorSettingsGroup.h.

const std::string qsf::editor::EditorSettingsGroup::TERRAIN_DATASOURCE_IDENTIFIER
static

Datasource identifier of the material datasource.

Definition at line 136 of file EditorSettingsGroup.h.

const std::string qsf::editor::EditorSettingsGroup::TERRAIN_DATASOURCE_INTERNAL_PATH
static

Path relative to the base directory - Begins and ends with a path separator (e.g. "/source/terrain_data_map/")

Definition at line 137 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::TERRAIN_FLATTEN_OFFSET
static

"TerrainFlattenOffset" unique class property ID inside the class

Definition at line 122 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::TERRAIN_RENDER_VIEW_SELECTION
static

"TerrainRenderViewSelection" unique class property ID inside the class

Definition at line 114 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::UI_STYLE
static

"UiStyle" unique class property ID inside the class

Definition at line 105 of file EditorSettingsGroup.h.

const uint32 qsf::editor::EditorSettingsGroup::UI_STYLE_SHEET
static

"UiStyleSheet" unique class property ID inside the class

Definition at line 106 of file EditorSettingsGroup.h.


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