QGIS API Documentation
3.4.15-Madeira (e83d02e274)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
core
qgshtmlutils.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgshtmlutils.cpp
3
---------------------
4
begin : December 2017
5
copyright : (C) 2017 by Etienne Trimaille
6
email : etienne.trimaille at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
#include "
qgshtmlutils.h
"
16
17
QString
QgsHtmlUtils::buildBulletList
(
const
QStringList &values )
18
{
19
QString s( QStringLiteral(
"<ul>"
) );
20
21
for
(
const
QString &value : values )
22
{
23
s += QStringLiteral(
"<li>%1</li>"
).arg( value );
24
}
25
s += QLatin1String(
"</ul>"
);
26
27
return
s;
28
}
QgsHtmlUtils::buildBulletList
static QString buildBulletList(const QStringList &values)
Build a bullet list.
Definition:
qgshtmlutils.cpp:17
qgshtmlutils.h
Generated on Sun Jan 19 2020 15:27:13 for QGIS API Documentation by
1.8.11