|
QCAD Application Framework
CAD Application Development and Automation.
|
#include <RSettings.h>
Static Public Member Functions | |
| static void | addRecentFile (const QString &fileName) |
| Adds a recent file to the list of recent files. | |
| static void | clearRecentFiles () |
| static QStringList | getAllKeys (const QString &group) |
| static bool | getAutoScalePatterns () |
| static bool | getBoolValue (const QString &key, bool defaultValue) |
| static int | getBuildVersion () |
| static RColor | getColor (const QString &key, const RColor &defaultValue=RDEFAULT_RCOLOR) |
| static bool | getColorCorrection () |
| static int | getColorThreshold () |
| static bool | getConcurrentDrawing () |
| static QString | getDefaultStyle () |
| static double | getDoubleValue (const QString &key, double defaultValue) |
| static QString | getFileName () |
| static QFont | getInfoLabelFont () |
| static int | getIntValue (const QString &key, int defaultValue) |
| static QString | getLaunchPath () |
| static QString | getLocale () |
| static int | getMajorVersion () |
| static int | getMinorVersion () |
| static QLocale | getNumberLocale () |
| static QString | getNumericalVersionString () |
| static QStringList | getOriginalArguments () |
| static QString | getPath () |
| static int | getPreviewEntities () |
| static QSettings * | getQSettings () |
| static QString | getQtVersion () |
| static QStringList | getRecentFiles () |
| static QString | getReleaseDate () |
| static int | getRevisionVersion () |
| static QFont | getRulerFont () |
| static bool | getShowCrosshair () |
| static bool | getShowLargeCrosshair () |
| static QFont | getSnapLabelFont () |
| static int | getSnapRange () |
| static QFont | getStatusBarFont () |
| static QString | getStringValue (const QString &key, const QString &defaultValue) |
| static int | getTextHeightThreshold () |
| static QVariant | getValue (const QString &key, const QVariant &defaultValue=RDEFAULT_QVARIANT) |
| static QString | getVersionString () |
| static QString | getVersionTicket () |
| static bool | hasQuitFlag () |
| static void | initRecentFiles () |
| static bool | isDebuggerEnabled () |
| static bool | isEventBlockingEnabled () |
| static bool | isGuiEnabled () |
| static bool | isTrial () |
| static bool | isTrialPeriodOver () |
| static bool | isXDataEnabled () |
| static void | removeRecentFile (const QString &fileName) |
| static void | resetCache () |
| static void | setApplicationName (const QString &n) |
| static void | setConcurrentDrawing (bool on) |
| static void | setEventBlocking (bool on) |
| static void | setLaunchPath (const QString &launchPath) |
| static void | setOriginalArguments (const QStringList &a) |
| static void | setQuitFlag () |
| static void | setRulerFont (const QFont &font) |
| static void | setShowCrosshair (bool on) |
| static void | setShowLargeCrosshair (bool on) |
| static void | setSnapLabelFont (const QFont &font) |
| static void | setTrialPeriodOver () |
| static void | setValue (const QString &key, const QVariant &value) |
| static void | uninit () |
Static Public Attributes | |
| static const QString | AuxShapeColor = "GraphicsViewColors/AuxShapeColor" |
| static const QString | BackgroundColor = "GraphicsViewColors/BackgroundColor" |
| static const QString | CadToolBarColumns = "CadToolBar/Columns" |
| static const QString | CadToolBarIconSize = "CadToolBar/IconSize" |
| static const QString | CartesianCoordinateSeparator = "Input/CartesianCoordinateSeparator" |
| static const QString | CrosshairColor = "GraphicsViewColors/CrosshairColor" |
| static const QString | CrosshairColorInactive = "GraphicsViewColors/CrosshairColorInactive" |
| static const QString | DecimalPoint = "Input/DecimalPoint" |
| static const QString | DrawingUnit = "UnitSettings/Unit" |
| static const QString | GraphicsViewColorCorrection = "GraphicsView/ColorCorrection" |
| static const QString | GraphicsViewColorThreshold = "GraphicsView/ColorThreshold" |
| static const QString | GraphicsViewMargin = "GraphicsView/Margin" |
| static const QString | GraphicsViewTextHeightThreshold = "GraphicsView/TextHeightThreshold" |
| static const QString | GridColor = "GraphicsViewColors/GridColor" |
| static const QString | LinetypeScale = "LinetypeSettings/Scale" |
| static const QString | Locale = "Language/UiLanguage" |
| static const QString | MeasurementToolsColor = "GraphicsViewColors/MeasurementToolsColor" |
| static const QString | MetaGridColor = "GraphicsViewColors/MetaGridColor" |
| static const QString | OriginColor = "GraphicsViewColors/OriginColor" |
| static const QString | PolarCoordinateSeparator = "Input/PolarCoordinateSeparator" |
| static const QString | ReferencePointColor = "GraphicsViewColors/ReferencePointColor" |
| static const QString | RelativeCoordinatePrefix = "Input/RelativeCoordinatePrefix" |
| static const QString | RelativeZeroColor = "GraphicsViewColors/RelativeZeroColor" |
| static const QString | SelectionBoxBackgroundColor = "GraphicsViewColors/SelectionBoxBackgroundColor" |
| static const QString | SelectionBoxBackgroundCrossColor = "GraphicsViewColors/SelectionBoxBackgroundCrossColor" |
| static const QString | SelectionBoxColor = "GraphicsViewColors/SelectionBoxColor" |
| static const QString | SelectionColor = "GraphicsViewColors/SelectionColor" |
| static const QString | TextLabelBackgroundColor = "GraphicsViewColors/TextLabelBackgroundColor" |
| static const QString | TextLabelColor = "GraphicsViewColors/TextLabelColor" |
| static const QString | ZoomBoxColor = "GraphicsViewColors/ZoomBoxColor" |
Static Private Member Functions | |
| static bool | isInitialized () |
| static void | shortenRecentFiles () |
Static Private Attributes | |
| static QString | applicationNameOverride |
| static QMap< QString, QVariant > | cache |
| static int | concurrentDrawing = -1 |
| static int | enableXData = -1 |
| static bool | eventBlocking = true |
| static QFont * | infoLabelFont = NULL |
| static QString | launchPath |
| static QLocale * | numberLocale = NULL |
| static QStringList | originalArguments |
| static int | previewEntities = -1 |
| static QSettings * | qSettings = NULL |
| static bool | quitFlag = false |
| static QStringList | recentFiles |
| static QFont * | rulerFont = NULL |
| static int | showCrosshair = -1 |
| static int | showLargeCrosshair = -1 |
| static QFont * | snapLabelFont = NULL |
| static int | snapRange = -1 |
| static QFont * | statusBarFont = NULL |
|
static |
Adds a recent file to the list of recent files.
The newest file is always at the end of the list.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
static |
|
staticprivate |
|
static |
|
static |
|
staticprivate |
|
static |
|
static |
|
static |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
static |