Single line elided label class, based on QLabel
#include <ui/common/ElidedLabel.hpp>
|
| ElidedLabel (QWidget *Parent=nullptr, Qt::WindowFlags Flags=Qt::Widget) |
|
| ElidedLabel (const QString &Text, QWidget *Parent=nullptr, Qt::WindowFlags Flags=Qt::Widget) |
|
| ElidedLabel (const QString &Text, Qt::TextElideMode ElideMode=Qt::ElideRight, QWidget *Parent=nullptr, Qt::WindowFlags Flags=Qt::Widget) |
|
virtual | ~ElidedLabel () |
|
void | setElideMode (Qt::TextElideMode ElideMode) |
|
Qt::TextElideMode | getElideMode () const |
|
void | setText (const QString &Text) |
|
◆ ElidedLabel() [1/3]
openfluid::ui::common::ElidedLabel::ElidedLabel |
( |
QWidget * |
Parent = nullptr , |
|
|
Qt::WindowFlags |
Flags = Qt::Widget |
|
) |
| |
◆ ElidedLabel() [2/3]
openfluid::ui::common::ElidedLabel::ElidedLabel |
( |
const QString & |
Text, |
|
|
QWidget * |
Parent = nullptr , |
|
|
Qt::WindowFlags |
Flags = Qt::Widget |
|
) |
| |
◆ ElidedLabel() [3/3]
openfluid::ui::common::ElidedLabel::ElidedLabel |
( |
const QString & |
Text, |
|
|
Qt::TextElideMode |
ElideMode = Qt::ElideRight , |
|
|
QWidget * |
Parent = nullptr , |
|
|
Qt::WindowFlags |
Flags = Qt::Widget |
|
) |
| |
◆ ~ElidedLabel()
virtual openfluid::ui::common::ElidedLabel::~ElidedLabel |
( |
| ) |
|
|
inlinevirtual |
◆ cacheElidedText()
void openfluid::ui::common::ElidedLabel::cacheElidedText |
( |
int |
w | ) |
|
|
protected |
◆ getElideMode()
Qt::TextElideMode openfluid::ui::common::ElidedLabel::getElideMode |
( |
| ) |
const |
|
inline |
◆ paintEvent()
void openfluid::ui::common::ElidedLabel::paintEvent |
( |
QPaintEvent * |
Ev | ) |
|
|
protected |
◆ resizeEvent()
void openfluid::ui::common::ElidedLabel::resizeEvent |
( |
QResizeEvent * |
Ev | ) |
|
|
protected |
◆ setElideMode()
void openfluid::ui::common::ElidedLabel::setElideMode |
( |
Qt::TextElideMode |
ElideMode | ) |
|
◆ setText()
void openfluid::ui::common::ElidedLabel::setText |
( |
const QString & |
Text | ) |
|
The documentation for this class was generated from the following file: