QCAD
Open Source 2D CAD
RFontList.h
Go to the documentation of this file.
1 
20 #ifndef RFONTLIST_H
21 #define RFONTLIST_H
22 
23 #include "core_global.h"
24 
25 #include "RFont.h"
26 #include "RResourceList.h"
27 
35 public:
36  static void init();
37  static void initSubstitutions();
38  static void uninit();
39 
40  static QStringList getNames();
41  static QString getSubName(const QString& resName);
42  static RFont* get(const QString& resName, bool substitute = true);
43  static bool isCadFont(const QString& fontName, const QString& fontFile);
44 
45 private:
47 };
48 
52 
53 #endif
RFontList::res
static RResourceList< RFont > res
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RFontList.h:46
RFont
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RFont.h:41
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
RFont.h
core_global.h
RResourceList.h
RResourceList< RFont >
RFontList
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RFontList.h:34
init
void init(void basePath)
Definition: AddBlockInit.js:2
QCADCORE_EXPORT
#define QCADCORE_EXPORT
Definition: core_global.h:10