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 
42  static RFont* get(const QString& resName) {
43  return res.get(resName);
44  }
45 
46  static bool isCadFont(const QString& fontName, const QString& fontFile);
47 
48 private:
50 };
51 
55 
56 #endif
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RFont.h:39
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)
void init(void basePath)
Definition: AddBlockInit.js:2
static RResourceList< RFont > res
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RFontList.h:49
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RFontList.h:34