Go to the documentation of this file.
19 struct CodeExtendedInfoType;
26 struct CodeProtectionFlags;
44 bool fullscreen =
false;
92 facet_options_visualization = 0,
93 facet_options_precise = 1,
94 facet_options_expert = 2,
124 void saveWindowSettings(
int mainWinDimensionX,
int mainWinDimensionY,
int mainWinPositionX,
int mainWinPositionY,
bool isMainWinMaximized);
166 void saveFKey(
int fIdx,
const QString& alternateActionName);
168 QString
loadFKey(
const uint& functionKeyNumber)
const;
372 QString
getModulePreference(
const QString& moduleName,
const QString& key,
const QString& defaultValue = QString());
796 Core::SettingsP* _pimpl =
nullptr;
799 QString _getNotificationDialogKey(
const unsigned int id)
const;
void set3dzExportCutOpenings(bool on, bool persistent=false)
bool getCalculateViewprovider() const
bool isDefectLinksCheckBoxEnabled() const
void setCustomBimTeamOrigin(const QString &value)
void setSubProductID_IfcUser()
QString getDefaultWindowPreset() const
static bool isUpdateLexocadUser()
std::vector< QString > backup_server
Definition: Settings.h:32
bool loadScreenRecorderRecordSound()
bool checkResultFromPolyToAcisConverter() const
void saveExtrudedAreaDlgSettings(int profileIndex, const QString ¶meter1, const QString ¶meter2)
void setCadworkIntervalOfBackupFiles(int value)
CatalogType getCatalogType()
static bool isUpdateCI_Start()
void set_HPK_UseRain(bool yesno)
void setShowWorldAxisCross(bool on)
void setUserDebugWindowVisible(bool visible)
void setSketcherMode(bool aOn)
SnapMode getSnapMode() const
void saveIntegratedL2DLayoutState(const QByteArray &state)
Core::Settings::ShapeTessellationQuality getShapeTessellationQuality()
bool hasPreviousVersionToSave()
bool allowQuadroCard() const
bool isHoopsRenderingEnabled() const
void setShowScaleHandles(bool on)
void setShowTextures(bool on)
bool getViewAnimation() const
QString getCodeProtectionNodeName()
bool loadIntegratedL2DLayoutState(QByteArray &state)
@ STANDARD
Definition: Settings.h:62
void setMaxRecentFiles(unsigned int value)
QString getUserCatalogDirInCadworkCat()
const QString & getClientNr()
void loadFKeys(QStringList &actions)
bool getFastRenderMode() const
bool isCadwork3dInstalled() const
void setRenderWireframe(bool on)
bool getShowComponentTypeTextures() const
const Geom::Trsf & getRealLineThicknessModeTrsf() const
void saveScreenRecorderShowRedRectangle(bool show)
void setShaderMultisampling(bool on)
MarkerResolution
Definition: Settings.h:107
std::string getIconsDir()
void setProfiling(bool on)
int getIntervalOfBackupFiles()
bool loadScreenRecorderShowRedRectangle()
bool getCheckShapesOnRecompute(int &checkLevel) const
bool getPointCloudMode() const
void setShowMeshOrientation(bool on)
void setUseThreads(bool on, bool persistent=false)
void setDefaultFrenchWindowPreset(QString preset)
void setAllowMemoryIsLowMsg(bool on)
CatalogType
Definition: Settings.h:61
bool getDrawLocalCoordinateSystem() const
uint64_t getMetalShapeSelectionFlags() const
bool loadSplitterSettings(QSplitter *splitter)
int getCadworkNumberOfBackupFiles() const
static bool isReleaseStable()
bool isSubProductID_IfcUser()
QString getCadworkCat() const
Base::String getLxElementTypeIdentifier() const
void setConceptionUser(bool on)
void savePieceListDialogSettings(const QString &str, const QByteArray &tableState)
void setObjExportUnprotected(bool unprotected)
bool isUnitTestingEnabled() const
void setLODMinimalPointCount(uint64_t t)
int getCadworkIntervalOfBackupFiles() const
bool getUseThreads() const
void setShowLayerNumber(bool on)
QString loadFKey(const uint &functionKeyNumber) const
void setSoSeparatorCachingEnabledSpecial(bool on)
void setMultiGeoUngroupMode(bool on)
bool getShowLayerNumber() const
bool isSubProductID_Plugin()
bool isMidPointPicking() const
void setRealLineThicknessMode(bool on)
void setSnapMode(SnapMode)
size_t selectionTimeOutInSeconds() const
QString getTextureOpenFileDir()
void setVisibilityIconHas3States(bool on)
void setDefaultWindowPreset(QString preset)
bool getVersionFromCurrentExeDir(int &version)
std::string getSubProductIDAsString()
static Core::Settings * getInstance()
void setSubProductID_Standard()
void setCurrentScriptId(const Base::GlobalId &aScriptId)
QString getCadworkPCLIBDir() const
void setAllowMultiViewOnStart(bool on)
void setDownloadPdbFiles(bool on)
bool getShowPreviewSurfaceForVerticalView()
void setCadworkStyle(bool on)
Definition: GlobalId.h:28
void saveVisibilityDialogSettings(const QByteArray &geometryState, const QByteArray &splitterState)
Definition: Settings.h:30
std::pair< int, int > getMinimalModernOpenGLVersion() const
void setMeshCaching(bool on)
bool getUngroupMode() const
bool loadScreenRecorderPlayEvents()
void setMaterialViewSmallIcons(bool on)
int getFastRenderBatchMaxVertexCount() const
Base::String getLexo2DName()
Base::String getDisplayName()
bool getAllowPelicanMultithreading() const
@ HIDE
Definition: Settings.h:71
void setShowComponentTypeTextures(bool on)
void setMetalShapeSelectionFlags(uint64_t flags)
void saveFonts(const QStringList &fonts)
QString getBackupDir(bool ignoreStandalone=false)
ShapeTessellationMode
Definition: Settings.h:91
void setCheckResultFromPolyToAcisConverter(bool v)
bool getSeveralOneVisibilityMode() const
void loadIfcImportExceptions(QByteArray &data)
void setAcisMeshMultiThreating(bool on)
void setDebugUser(bool on, bool persistent=false)
bool isImportFromCadWorkBimViewer()
unsigned int getMaxRecentFiles()
void setDefaultIFCShapeCreationMode(ShapeCreationMode m)
QString getDefaultDoorPreset() const
void setSeveralOneVisibilityMode(bool on)
QString getIfcViewerFile()
bool isVulkanRenderingEnabled() const
bool isGridPicking() const
void saveScreenRecorderShowMenu(bool on)
void setGlobalSecondViewerWireframeDrawStyle(bool on)
@ OPENBUILT
Definition: Settings.h:63
uint32_t getPickPointCountMaximum()
bool getLexocadCode() const
QSize loadScreenRecorderOversizeSize()
int getNumberOfBackupFiles()
void setCadworkBimViewerEnabled(bool) const
Core::Settings * init(int argc, char **argv)
QString getXdeeaExePath()
void riSetSelectedDevice(const std::string &s)
CutOptions getCutOptions()
void saveDialogGeometry(QWidget *dialog)
QLocale::Country getClientCountry() const
bool isUserDebugWindowVisible()
void setXdeeaExePath(const QString &value)
@ USER
Definition: Settings.h:64
bool getAcisPartEnabled()
unsigned long getLODLevel_VoidRes() const
bool getUpdateInfos(QString &application, QString &updateDir) const
MarkerResolutionPolicy getMarkerResolutionPolicy()
void loadString(const QString ®Key, QString &text)
void setUserCatalogDir(const QString &dir)
bool loadRecentFiles(QStringList &list)
static void setReleaseIsStable(bool value)
bool getRenderFacets() const
void loadPieceListDialogSettings(const QString &str, QByteArray &tableState)
MarkerResolution getMarkerResolution()
void enableElementCollector(bool)
void setCheckShapesOnRecompute(bool on, int checkLevel)
void setStandalone(bool on)
std::string getMaterialDir()
void setSaveRestoreIfcModelWithDocument(bool on)
void loadProxyAuthentication(QByteArray &data)
void setPointCloudDynamicPointSize(bool on, bool persistent=false)
bool getCombinedAcisSaveMode() const
bool get_HPK_UseRain() const
void saveScreenRecorderOversizeSize(const QSize &size)
void setOpenMaterialDlgSmallIcons(bool on)
void setCheckSliverFacesOnRecompute(bool on)
void saveScreenRecorderQualityProfile(int qualityProfile)
bool getMeshCaching() const
void setSaveDialogGeometryInRegistry(bool on)
void setPointCloudChunkSelectionEnabled(bool on)
void setCalculateViewprovider(bool on)
void setMarkerResolution(MarkerResolution)
LOGLEVEL
Definition: Log.h:12
void setFastRenderBatchMaxVertexCount(int)
QString path
Definition: Settings.h:35
void setOSGMode(bool on, bool persistent=false)
bool getPointCloudPointPicking() const
const std::vector< int > & getUserDefFKeys()
bool isPickRadiusVerticesOnly() const
void setAllowPelicanMultithreading(bool on)
Geom::Pnt getCurrentScriptInsertionPoint(bool &isDragAndDropped, Core::DocObject *&aDroppedOnObject) const
void setFastRenderEnableEdges(bool)
Definition: DocObject.h:54
bool loadTreeWidgetSettings(QTreeWidget *tree)
void saveScreenRecorderRecordEvents(bool recordEvents)
bool getPointCloudDynamicPointSize() const
void setAcisVersion(int major, int minor, int point)
void saveScreenRecorderWindowSize(const QSize &size)
void saveIfcVersionDialogSettings(const QByteArray &data)
bool getRunningFromLexocad() const
void setOpenLxVersionString(const QString &aVersion)
void setCatalogType(CatalogType)
bool getOpenMaterialDlgSmallIcons() const
QString getDefaultFrenchWindowPreset() const
QString loadStyleSheet(const QStringList &list)
void resetDebugMessageCounter()
bool getCreateMiniDumpOnCrash()
int getStandaloneNumberOfBackupFiles()
bool getSoSeparatorCachingEnabledSpecial() const
bool get_CI_Start_FilePath(QString &ci_start_filepath, QString &errorMessage)
Get path to ci_start.exe.
void saveScreenRecorderAskForVideoFileName(bool on)
void setCreateMiniDumpOnCrash(bool on)
bool getSaveDialogGeometryInRegistry() const
int getDebugMessageCounter()
bool isElementCollectorEnabled() const
ShapeCreationMode
Definition: Settings.h:99
void loadIfcVersionDialogSettings(QByteArray &data)
bool getAllowAutoSequencer() const
bool getShowPointCloudInSecondViewer() const
bool getSaveRestoreIfcModelWithDocument() const
bool isWoodConstructionUser()
void setPointCloudLODenabled(bool on)
bool showLocalAxisCross()
bool isCadworkBimViewerEnabled() const
SnapMode
Definition: Settings.h:76
bool loadDialogGeometry(QWidget *dialog)
QString getIVExportSelectedFilter() const
void saveString(const QString ®Key, const QString &text)
void setCoinShaderMode(bool on, bool persistent=true)
void setCurrentScriptInsertionPoint(const Geom::Pnt &aInsertionPnt, bool isDragAndDropped, Core::DocObject *aDroppedOnObject)
void saveWindowSettings(int mainWinDimensionX, int mainWinDimensionY, int mainWinPositionX, int mainWinPositionY, bool isMainWinMaximized)
void setCheckFacetedBrepOnRecompute(bool on)
MarkerResolutionPolicy
Definition: Settings.h:114
void enableDefectLinksMessage(bool on)
static std::pair< int, int > getPreviousVersionToSave()
void saveUserSettings(int cameraAnimationTime, int importMaxPoints)
void setShapeTessellationQuality(Core::Settings::ShapeTessellationQuality quality)
QString getPath2TestDocuments() const
bool getShowScaleHandles() const
void saveLoadMaterialDlgSettings(const QByteArray &tableState)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
bool getRenderWireframe() const
void setAllowAutoSequencer(bool on)
ShapeTessellationQuality
Definition: Settings.h:82
bool getCadworkStyle() const
void setAcisPartEnabled(bool on)
void setNewViewProviderUpdate(bool on)
bool get3dzExportCutOpenings() const
void setPickPointCountMaximum(uint32_t r)
void setDeepDebug(bool on)
void saveWelcomeScreenVisible(bool on)
bool getShowMeshOrientation() const
bool getAcisMeshShapeEnabled() const
bool getFastRenderEnableEdges() const
const std::string & riTestScene() const
@ SHOW
Definition: Settings.h:70
void setPointCloudPointSelection(bool on)
void saveTreeWidgetSettings(QTreeWidget *tree)
int loadScreenRecorderAskForVideoFileName()
std::vector< int > codeProtectionTest(const std::vector< int > &requiredCodes) const
bool getNewViewProviderUpdate() const
unsigned long getLODLevel_MidRes() const
bool getRealLineThicknessMode() const
void setDrawLocalCoordinateSystem(bool on)
CodeExtendedInfoType * getExtendedCodeInfo()
bool getAllowMemoryIsLowMsg() const
void setSoSeparatorCachingEnabled(bool on)
bool getMaterialViewSmallIcons() const
void setLastImportedFilePath(QString path)
bool getAcisSaveEntityTextMode() const
static bool isPublicVersion()
QString password
Definition: Settings.h:34
void saveProxyAuthentication(const QByteArray &data)
void setForceWoodUser(bool on)
Base::GlobalId getCurrentScriptId() const
void setScreenSize(QSizeF s)
bool getCoinShaderMode() const
void loadCodeProtectionFlags(bool forceReload=true)
void setPluginDir(const QString &dir)
pCodeProtectionFlags getCodeProtectionFlags() const
void setAcisMeshShapeEnabled(bool)
void setBeamBothEndsSame(bool on)
void setOpenFileDir(QString dir)
bool loadLoadMaterialDlgSettings(QByteArray &tableState)
Definition: Settings.h:39
bool getDeepDebug() const
QString getCadworkUserprofile(bool ignoreStandalone=false) const
QString getCadworkDir() const
bool setPointCloudPointPicking(bool on)
Definition: Settings.h:58
bool loadScreenRecorderRecordEvents()
bool loadWelcomeScreenVisible()
bool getTexturesAllFaces() const
void setRunningFromLexocad(bool on)
void setLogLevel(Base::LOGLEVEL, bool persistent=false)
bool getGlobalSecondViewerWireframeDrawStyle() const
void setLexocadCode(bool on)
double getRotationStepForPropertyView()
void setIfcViewerFile(QString a)
void enableUnitTesting(bool on)
void setRealLineThicknessModeTrsf(const Geom::Trsf &trsf)
bool getShaderMultisampling() const
static bool isUpdateConceptionUser()
bool getForceWoodUser() const
void setGridPickung(bool on)
void setTexturesAllFaces(bool on)
bool getCheckFacetedBrepOnRecompute() const
void setMarkerResolutionPolicy(MarkerResolutionPolicy)
void setWithDebugger(bool on)
void setWallSolveWarning(int status)
void enableDefectLinksCheckBox(bool on)
QString getStandaloneAppDataPath() const
void setFastRenderMode(bool on, bool persistent=false)
bool getLODEnabled() const
void setEnableZBufferPDFHack(bool on)
void setCurrentScriptFilePath(const QString &path)
bool loadScreenRecorderShowMenu()
bool getVisibilityIconHas3States() const
void saveScreenRecorderShowKeysAndMouse(bool on)
void saveScreenRecorderActive(bool on)
bool getShowTextures() const
void setViewerGeo(Core::ViewerType viewerType, const QSize &size, const QPoint &pos, bool maximized)
uint64_t getLODMinimalPointCount() const
void setOpenBuiltUser(bool on)
bool getPointCloudLODenabled() const
bool loadVisibilityDialogSettings(QByteArray &geometryState, QByteArray &splitterState)
unsigned long getLODLevel_LowRes() const
const std::vector< bool > & getDisabledCodes() const
QString getCustomBimTeamOrigin() const
bool is_polgonoffset_enabled()
CutOptions
Definition: Settings.h:69
bool isDefectLinksMessageEnabled() const
void setPickRadiusVerticesOnly(bool)
void setMacroRecorderActive(bool on)
void setMidPointPickung(bool on)
LX_CORE_EXPORT Version & version
bool macroRecorderActive()
void setPointCoarseLOD(bool on)
void setIfcUser(bool on, bool persistent=false)
void saveSplitterSettings(QSplitter *splitter)
void saveIfcImportExceptions(const QByteArray &data)
bool isInternalCadworkUser()
bool getPointCloudChunkSelectionEnabled() const
QColor getGroundPlateColor()
QString getUserCatalogDir(bool ignoreStandalone=false)
bool getPointCloudPointSelection() const
bool getDownloadPdbFiles()
void setSubProductID_Plugin()
QString server
Definition: Settings.h:31
void enable_polgonoffset(bool on)
QString getLastImportedFilePath()
bool getCheckSliverFacesOnRecompute() const
QSize loadCameraAnimationViewerSize()
void set4KMointorOrGreater(bool v)
int loadScreenRecorderQualityProfile()
Base::String getAlternativeLookupPath() const
Sets an alternative path to look for dlls and other application files -> Needed for cadwork pclib.
void setCadworkNumberOfBackupFiles(int value)
int getStandaloneIntervalOfBackupFiles()
void setPointCloudMode(bool on)
bool getStandalone() const
const std::string & riSelectedDevice() const
void setTextureOpenFileDir(QString dir)
void setBuildingBlocksDir(std::string dir)
QString getCurrentScriptFilePath() const
void saveScreenRecorderOversize(bool on)
QSize loadScreenRecorderWindowSize()
int getWallSolveWarning() const
bool getSketcherMode() const
QString getCadwork3DDir() const
bool getMultiGeoUngroupMode() const
bool loadScreenRecorderShowKeysAndMouse()
void saveRecentFiles(const QStringList &list)
void setIFCFastMode(bool on, bool persistent=false)
std::string getBuildingBlocksDir()
void setLODEnabled(bool on)
static bool showNewVersionMessage(std::pair< int, int > appVersionOfOpeningDocument)
QString getStyleSheetName()
void setNewZooming(bool on)
void saveScreenRecorderPlayEvents(bool playEvents)
QString getOpenLxVersionString() const
bool loadNotificationDialogVisible(const unsigned int id) const
bool getShowComponentTypeNumber() const
void setStyleSheetName(const QString &name)
void saveFKey(int fIdx, const QString &alternateActionName)
void loadExtrudedAreaDlgSettings(int &profileIndex, QString ¶meter1, QString ¶meter2)
bool getEnableZBufferPDFHack() const
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18
bool lexocadIsIncadworkDir(QString &errorMessage)
Is this Lexocad running inside of cadwork.dir?
QString getCadworkClipboard() const
void setMaterialDir(std::string dir)
void setUngroupMode(bool on)
bool getBeamBothEndsSame()
QString getModulePreference(const QString &moduleName, const QString &key, const QString &defaultValue=QString())
double getPickRadiusVerticesOnly()
bool loadScreenRecorderActive()
bool getSoSeparatorCachingEnabled() const
void setShowLocalAxisCross(bool on)
bool getAcisMeshMultiThreating() const
bool getDebugUser(bool persistent=false)
void setNumberOfBackupFiles(int count)
static void saveLanguage(CTranslator::Language language)
bool showWorldAxisCross()
void setBaubitUser(bool on)
void setShowComponentTypeNumber(bool on)
bool getIFCFastMode() const
ViewerType
Definition: ViewerType.h:6
void setIVExportSelectedFilter(QString filter)
void getViewerGeo(Core::ViewerType viewerType, QSize &size, QPoint &pos, bool &maximized)
void setModulePreference(const QString &moduleName, const QString &key, const QString &value)
Core::UpdateInfo getUpdateInfo()
void loadUserSettings(int &cameraAnimationTime, int &importMaxPoints)
bool isSubProductID_Standard()
double getSizeForHugeBoundingBox() const
bool isObjExportUnprotected() const
void setIconsDir(std::string dir)
void setCutOptions(CutOptions options)
void incrementDebugMessageCounter()
void setIntervalOfBackupFiles(int value)
QString getDefaultGarageDoorPreset() const
void setHighDPIMonitor(bool v)
void saveCameraAnimationViewerSize(const QSize &size)
void setAlternativeLookupPath(const Base::String &path)
Sets an alternative path to look for dlls and other application files. -> Needed for cadwork pclib.
void saveNotificationDialogVisible(const unsigned int id, bool on)
void setRotationStepForPropertyView(double value)
void setViewAnimation(bool on)
ShapeCreationMode getDefaultIFCShapeCreationMode() const
bool getShowAlwaysBoundingBoxOnSelectionAction() const
void setCombinedAcisSaveMode(bool on, bool persistent=false)
void setShowPreviewSurfaceForVerticalView(bool on)
bool loadScreenRecorderOversize()
void setSelectionTimeOutInSeconds(size_t)
bool getPointCoarseLOD() const
bool getAllowMultiViewOnStart() const
void setAcisSaveEntityTextMode(bool on, bool persistent=false)
void setShowConsole(bool on)
void saveScreenRecorderRecordSound(bool recordSound)
Base::LOGLEVEL getLogLevel()
bool getUpdateSetting(QString &organization, QString &application) const
void setDefaultDoorPreset(QString preset)
static CTranslator::Language loadLanguage()
void setShowAlwaysBoundingBoxOnSelectionAction(bool)
std::shared_ptr< Core::CodeProtectionFlags > pCodeProtectionFlags
Definition: Settings.h:26
void setGroundPlateColor(const QColor &color)
void unregisterSettings()
WindowSettings loadWindowSettings()
QString getCadworkUserprofileWithVersion() const
void setDefaultGarageDoorPreset(QString preset)
void setDisabledCodes(const std::vector< bool > &disabledCodes)
bool getAcisVersion(int &major, int &minor, int &point)
bool getProfiling() const
void setBackgroundColor(const QColor &color)
QColor getBackgroundColor()
bool isConceptionUserByDefault()
void setRenderFacets(bool on)
bool getNewZooming() const
QString login
Definition: Settings.h:33
void setShowPointCloudInSecondViewer(bool on)