ViewSolutions
1.0.100.30ae2aa
View solutions of qml for quasarapp projects
Toggle main menu visibility
Loading...
Searching...
No Matches
avatargenerator.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2025-2025 QuasarApp.
3
//# Distributed under the GPLv3 software license, see the accompanying
4
//# Everyone is permitted to copy and distribute verbatim copies
5
//# of this license document, but changing it is not allowed.
6
//#
7
8
9
10
#ifndef AVATARGENERATOR_H
11
#define AVATARGENERATOR_H
12
13
#include <QImage>
14
#include "
viewsolutions_global.h
"
15
16
namespace
ViewSolutions
{
17
35
class
VIEWSOLUTION_EXPORT
AvatarGenerator
36
{
37
public
:
38
AvatarGenerator
();
39
50
bool
generateDefaultAvatar
(QImage &result,
const
QString &nickName,
51
const
QFont& font,
const
QColor& color = {})
const
;
52
53
54
};
55
56
}
57
#endif
// AVATARGENERATOR_H
ViewSolutions::AvatarGenerator::generateDefaultAvatar
bool generateDefaultAvatar(QImage &result, const QString &nickName, const QFont &font, const QColor &color={}) const
generateDefaultAvatar generates default avatar. This function generate Ellipse with 2 first letters o...
Definition
avatargenerator.cpp:18
ViewSolutions::AvatarGenerator::AvatarGenerator
AvatarGenerator()
Definition
avatargenerator.cpp:16
ViewSolutions
The ViewSolutions namespace.
Definition
avatargenerator.cpp:14
viewsolutions_global.h
VIEWSOLUTION_EXPORT
#define VIEWSOLUTION_EXPORT
VIEWSOLUTION_EXPORT marks a symbol as part of the public ViewSolutions API.
Definition
viewsolutions_global.h:33
ViewSolutions
src
avatargenerator.h
Generated by
1.18.0