ElidedLabel
ElidedLabel
Inherits from QLabel
Public Functions
Name | |
---|---|
ElidedLabel(QWidget * parent =nullptr) | |
ElidedLabel(const QString & text, QWidget * parent =nullptr) | |
void | setText(const QString & text) |
void | setText(const char * text) |
const QString & | text() const |
Qt::TextElideMode | elideMode() |
void | setElideMode(Qt::TextElideMode mode) |
Protected Functions
Name | |
---|---|
void | resizeEvent(QResizeEvent * event) override |
Public Properties
Name | |
---|---|
QString | text |
Qt::TextElideMode | elideMode |
Public Functions Documentation
function ElidedLabel
explicit ElidedLabel(
QWidget * parent =nullptr
)
function ElidedLabel
explicit ElidedLabel(
const QString & text,
QWidget * parent =nullptr
)
function setText
void setText(
const QString & text
)
function setText
inline void setText(
const char * text
)
function text
inline const QString & text() const
function elideMode
inline Qt::TextElideMode elideMode()
function setElideMode
inline void setElideMode(
Qt::TextElideMode mode
)
Protected Functions Documentation
function resizeEvent
void resizeEvent(
QResizeEvent * event
) override
Public Property Documentation
property text
QString text;
property elideMode
Qt::TextElideMode elideMode;
Updated on 2024-11-06 at 17:10:29 +0000