#include <kis_warning_block.h>
Definition at line 13 of file kis_warning_block.cpp.
◆ KisWarningBlock() [1/2]
| KisWarningBlock::KisWarningBlock |
( |
QWidget * | parent = nullptr | ) |
|
Definition at line 18 of file kis_warning_block.cpp.
19 : QGroupBox(parent)
21{
22 QHBoxLayout *
layout =
new QHBoxLayout(
this);
23
24 m_d->lblIcon =
new QLabel(
this);
25 m_d->lblText =
new QLabel(
this);
26
27 m_d->lblText->setTextFormat(Qt::RichText);
28 m_d->lblIcon->setAlignment(Qt::AlignLeft | Qt::AlignTop);
29 m_d->lblText->setWordWrap(
true);
30 m_d->lblText->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard | Qt::LinksAccessibleByMouse);
31 m_d->lblText->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
32
35 layout->setAlignment(Qt::AlignVCenter | Qt::AlignJustify);
36
38}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
void linkActivated(const QString &link)
QScopedPointer< Private > m_d
References connect(), linkActivated(), and m_d.
◆ ~KisWarningBlock()
| KisWarningBlock::~KisWarningBlock |
( |
| ) |
|
|
overridedefault |
◆ KisWarningBlock() [2/2]
◆ linkActivated
| void KisWarningBlock::linkActivated |
( |
const QString & | link | ) |
|
|
signal |
◆ operator=()
◆ pixmap()
| QPixmap KisWarningBlock::pixmap |
( |
| ) |
const |
◆ setPixmap()
| void KisWarningBlock::setPixmap |
( |
const QPixmap & | icon | ) |
|
◆ setText()
| void KisWarningBlock::setText |
( |
const QString & | text | ) |
|
◆ text()
| QString KisWarningBlock::text |
( |
| ) |
const |
◆ lblIcon
| QLabel* KisWarningBlock::lblIcon = nullptr |
◆ lblText
| QLabel* KisWarningBlock::lblText = nullptr |
◆ m_d
| QScopedPointer<Private> KisWarningBlock::m_d |
|
private |
◆ pixmap
| QPixmap KisWarningBlock::pixmap |
|
readwrite |
◆ text
| QString KisWarningBlock::text |
|
readwrite |
The documentation for this class was generated from the following files: