Marble
7#ifndef FORMATTEDTEXTWIDGET_H
8#define FORMATTEDTEXTWIDGET_H
11#include "marble_export.h"
20class MARBLE_EXPORT FormattedTextWidget :
public QWidget
25 explicit FormattedTextWidget(
QWidget *parent =
nullptr);
26 ~FormattedTextWidget()
override;
28 void setText(
const QString &text );
30 void setReadOnly(
bool state );
33 void toggleDescriptionEditMode(
bool isFormattedTextMode =
false );
34 void setTextCursorBold(
bool bold );
35 void setTextCursorItalic(
bool italic );
36 void setTextCursorUnderlined(
bool underlined );
37 void setTextCursorColor(
const QColor &color );
38 void setTextCursorFont(
const QFont &font );
39 void setTextCursorFontSize(
const QString &fontSize );
40 void addImageToDescription();
41 void addLinkToDescription();
42 void updateDescriptionEditButtons();
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.