|
static void | addRecentFile (const QString &fileName) |
| Adds a recent file to the list of recent files.
|
|
static void | appendOpenGLMessage (const QString &msg) |
|
static void | clearRecentFiles () |
| Clears the list of recent files.
|
|
static QStringList | getAllKeys (const QString &group) |
|
static bool | getAllowMouseMoveInterruptions () |
|
static QString | getAppId () |
| App ID used for DXF/DWG exports / imports to identify app XData.
|
|
static QString | getApplicationNameOverride () |
|
static QString | getApplicationPath () |
|
static bool | getApplyLineweightToPoints () |
|
static double | getArcAngleLengthThreshold () |
|
static QString | getArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, const QString &def=RDEFAULT_QSTRING) |
|
static QStringList | getArguments (const QStringList &args, const QString &shortFlag, const QString &longFlag) |
|
static bool | getAutoScaleGrid () |
|
static bool | getAutoScaleLinetypePatterns () |
|
static bool | getAutoScaleMetaGrid () |
|
static bool | getAutoScalePatterns () |
|
static bool | getAutoZoomOnLoad () |
|
static bool | getBoolValue (const QString &key, bool defaultValue) |
|
static RBox | getBoxArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, const RBox &def=RDEFAULT_RBOX) |
|
static int | getBuildVersion () |
|
static QString | getCacheLocation () |
|
static QString | getCartesianCoordinateSeparator () |
|
static QChar | getCharValue (const QString &key, const QChar &defaultValue) |
|
static RColor | getColor (const QString &key, const RColor &defaultValue=RDEFAULT_RCOLOR) |
|
static RColor | getColorArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, const RColor &def=RDEFAULT_RCOLOR) |
|
static bool | getColorCorrection () |
|
static bool | getColorCorrectionDisableForPrinting () |
|
static int | getColorThreshold () |
|
static RColor | getColorValue (const QString &key, const RColor &defaultValue) |
|
static QString | getCompilerVersion () |
|
static bool | getConcurrentDrawing () |
|
static RColor | getCrossHairColor () |
|
static RColor | getCrossHairColorInactive () |
|
static int | getCurrentVersion () |
|
static int | getDashThreshold () |
|
static QString | getDataLocation () |
|
static QString | getDefaultPrinterName () |
|
static QString | getDesktopLocation () |
|
static double | getDevicePixelRatio () |
|
static QString | getDocumentsLocation () |
|
static double | getDoubleValue (const QString &key, double defaultValue) |
|
static RColor | getEndReferencePointColor () |
|
static double | getFadingFactor () |
|
static QString | getFileName () |
|
static double | getFloatArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, double def=RNANDOUBLE) |
|
static RColor | getGridColor () |
|
static bool | getHideAttributeWithBlock () |
|
static bool | getHighResolutionGraphicsView () |
|
static QString | getHomeLocation () |
|
static bool | getIgnoreAllReferencePoints () |
|
static bool | getIgnoreBlockReferencePoint () |
|
static bool | getImportRecomputedDimBlocks () |
|
static QFont | getInfoLabelFont () |
|
static int | getIntArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, int def) |
|
static QList< int > | getIntListArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, QList< int > def=RDEFAULT_QLISTINT) |
|
static int | getIntValue (const QString &key, int defaultValue) |
|
static QString | getLaunchPath () |
|
static bool | getLimitZoomAndScroll () |
|
static QString | getLocale () |
|
static int | getMajorVersion () |
|
static int | getMaxHatchComplexity () |
|
static int | getMaxHatchTime () |
|
static int | getMaxReferencePointEntities () |
|
static int | getMaxReferencePointEntitiesDisplay () |
|
static RColor | getMetaGridColor () |
|
static double | getMinArcAngleStep () |
|
static int | getMinorVersion () |
|
static int | getMouseThreshold () |
|
static QLocale | getNumberLocale () |
|
static QString | getNumericalVersionString () |
|
static QStringList | getOpenGLMessages () |
|
static QStringList | getOriginalArguments () |
|
static RColor | getOriginColor () |
|
static QString | getOSVersion () |
|
static QString | getPath () |
|
static int | getPickRange () |
|
static QString | getPluginPath () |
|
static QStringList | getPluginPaths () |
|
static QString | getPluginsLocation () |
|
static QString | getPolarCoordinateSeparator () |
|
static bool | getPositionByMousePress () |
|
static int | getPreviewEntities () |
|
static int | getPreviousVersion () |
|
static QStringList | getPrinterNames () |
|
static bool | getPropertyEditorShowOnRequest () |
|
static QSettings * | getQSettings () |
|
static int | getQtVersion () |
|
static QString | getQtVersionString () |
|
static QStringList | getRecentFiles () |
|
static RColor | getReferencePointColor () |
|
static int | getReferencePointShape () |
|
static int | getReferencePointSize () |
|
static QString | getRelativeCoordinatePrefix () |
|
static QString | getReleaseDate () |
|
static bool | getRenderThinPolylines1px () |
|
static QString | getRevisionString () |
|
static int | getRevisionVersion () |
|
static QFont | getRulerFont () |
|
static QStringList | getScaleList (const RS::Unit unit) |
|
static RColor | getSecondaryReferencePointColor () |
|
static bool | getSelectBlockWithAttribute () |
|
static RColor | getSelectionColor () |
|
static bool | getShowCrosshair () |
|
static bool | getShowLargeCrosshair () |
|
static bool | getShowLargeOriginAxis () |
|
static bool | getSimpleTextAlignLeft () |
|
static QFont | getSnapLabelFont () |
|
static int | getSnapRange () |
|
static QString | getStandardLocation (int sl) |
|
static RColor | getStartReferencePointColor () |
|
static QFont | getStatusBarFont () |
|
static QStringList | getStringListValue (const QString &key, const QStringList &defaultValue) |
|
static QString | getStringValue (const QString &key, const QString &defaultValue) |
|
static QString | getTempLocation () |
|
static RColor | getTertiaryReferencePointColor () |
|
static int | getTextHeightThreshold () |
|
static QString | getThemePath () |
|
static bool | getUseSecondarySelectionColor () |
|
static bool | getUseSolidLineSelection () |
|
static QVariant | getValue (const QString &key, const QVariant &defaultValue=RDEFAULT_QVARIANT) |
|
static RVector | getVectorArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag, const RVector &def=RDEFAULT_RVECTOR) |
|
static QString | getVersionString () |
|
static int | getZeroWeightWeight () |
|
static bool | hasApplicationNameOverride () |
|
static bool | hasCustomStyleSheet () |
|
static bool | hasDarkGuiBackground () |
|
static bool | hasQuitFlag () |
|
static bool | hasValue (const QString &key) |
|
static void | initRecentFiles () |
| Initializes the recent files list (recentFiles).
|
|
static bool | isDarkMode () |
|
static bool | isDebuggerEnabled () |
|
static bool | isDeployed () |
|
static bool | isFirstStart () |
|
static bool | isGuiEnabled () |
|
static bool | isLayer0CompatibilityOn () |
|
static bool | isNewVersion () |
|
static bool | isNextVersionEnabled () |
|
static bool | isQt (int majorVersion) |
|
static bool | isTextRenderedAsText () |
|
static int | isUpdated (int versionCheck=-1) |
|
static bool | isXDataEnabled () |
|
static void | loadTranslations (const QString &module, const QStringList &dirs=RDEFAULT_QSTRINGLIST) |
| Loads the translations for the given module.
|
|
static void | removeRecentFile (const QString &fileName) |
| Removes the given file from the list of recent files.
|
|
static void | removeValue (const QString &key) |
| Removes the value for the given key.
|
|
static void | resetCache () |
|
static void | resetDarkModeCache () |
|
static void | setAllowMouseMoveInterruptionsOverride (bool on) |
|
static void | setApplicationNameOverride (const QString &n) |
| Sets the application name override used for the configuration file name (e.g.
|
|
static void | setConcurrentDrawing (bool on) |
|
static void | setFirstStart (bool on) |
|
static void | setLaunchPath (const QString &launchPath) |
|
static void | setNewVersion (bool on) |
|
static void | setNextVersionEnabled (bool on) |
|
static void | setNoWrite (bool on=true) |
|
static void | setOriginalArguments (const QStringList &a) |
|
static void | setPreviousVersion (int pv) |
|
static void | setQuitFlag () |
|
static void | setRulerFont (const QFont &font) |
|
static void | setShowCrosshair (bool on) |
|
static void | setShowLargeCrosshair (bool on) |
|
static void | setShowLargeOriginAxis (bool on) |
|
static void | setSnapLabelFont (const QFont &font) |
|
static void | setValue (const QString &key, const QVariant &value, bool overwrite=true) |
| Sets the variable with the given key and value, overwriting an existing value if overwrite is true (default).
|
|
static void | setXDataEnabled (bool on) |
|
static bool | testArgument (const QStringList &args, const QString &shortFlag, const QString &longFlag) |
|
static QString | translate (const QString &context, const QString &str) |
| Translates the given string for the given context.
|
|
static void | uninit () |
|