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 uninit();
38 
39  static QStringList getNames();
40 
41  static RFont* get(const QString& resName) {
42  return res.get(resName);
43  }
44 
45  static bool isCadFont(const QString& fontName);
46 
47 private:
49 };
50 
54 
55 #endif
Copyright (c) 2011-2015 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-2015 by Andrew Mustun.
Definition: RFontList.h:48
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RFontList.h:34