QSkinny
0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGlyphGraphicProvider.h
1
/******************************************************************************
2
* QSkinny - Copyright (C) The authors
3
* SPDX-License-Identifier: BSD-3-Clause
4
*****************************************************************************/
5
6
#ifndef QSK_GLYPH_GRAPHIC_PROVIDER_H
7
#define QSK_GLYPH_GRAPHIC_PROVIDER_H
8
9
#include "QskGraphicProvider.h"
10
11
class
QRawFont;
12
13
class
QSK_EXPORT
QskGlyphGraphicProvider
:
public
QskGraphicProvider
14
{
15
using
Inherited
=
QskGraphicProvider
;
16
17
public
:
18
QskGlyphGraphicProvider
( QObject* parent =
nullptr
);
19
~QskGlyphGraphicProvider
()
override
;
20
21
void
setIconFont(
const
QRawFont& );
22
QRawFont iconFont()
const
;
23
24
QskGraphic
glyphGraphic( uint glyphIndex )
const
;
25
26
protected
:
27
const
QskGraphic
* loadGraphic(
const
QString& )
const
override
final
;
28
virtual
uint glyphIndex(
const
QString& )
const
;
29
30
private
:
31
class
PrivateData;
32
std::unique_ptr< PrivateData > m_data;
33
};
34
35
#endif
QskGlyphGraphicProvider
Definition
QskGlyphGraphicProvider.h:14
QskGraphicProvider
Definition
QskGraphicProvider.h:18
QskGraphic
A paint device for scalable graphics.
Definition
QskGraphic.h:28
src
graphic
QskGlyphGraphicProvider.h
Generated by
1.9.8