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
34
class
QCADCORE_EXPORT
RFontList
{
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
:
46
static
RResourceList<RFont>
res
;
47
};
48
49
Q_DECLARE_METATYPE
(
RFontList
)
50
Q_DECLARE_METATYPE
(
RFontList
*)
51
Q_DECLARE_METATYPE
(
RResourceList<RFont>
*)
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
src
core
RFontList.h
Generated on Thu Apr 15 2021 10:10:18 for QCAD by
1.8.18