DtkDeclarative
DTK Declarative module
|
Public 类型 | |
enum | Display { IconOnly , TextOnly , TextBesideIcon , TextUnderIcon , IconBesideText = 128 } |
Public 成员函数 | |
DQuickIconLabel (QQuickItem *parent=nullptr) | |
DQuickDciIcon | icon () const |
void | setIcon (const DQuickDciIcon &dciIcon) |
QString | text () const |
void | setText (const QString &text) |
QFont | font () const |
void | setFont (const QFont &font) |
QColor | color () const |
void | setColor (const QColor &color) |
Display | display () const |
void | setDisplay (Display display) |
qreal | spacing () const |
void | setSpacing (qreal spacing) |
bool | isMirrored () const |
void | setMirrored (bool mirrored) |
Qt::Alignment | alignment () const |
void | setAlignment (Qt::Alignment alignment) |
qreal | topPadding () const |
void | setTopPadding (qreal padding) |
void | resetTopPadding () |
qreal | leftPadding () const |
void | setLeftPadding (qreal padding) |
void | resetLeftPadding () |
qreal | rightPadding () const |
void | setRightPadding (qreal padding) |
void | resetRightPadding () |
qreal | bottomPadding () const |
void | setBottomPadding (qreal padding) |
void | resetBottomPadding () |
Protected 成员函数 | |
void | componentComplete () override |
void | geometryChange (const QRectF &newGeometry, const QRectF &oldGeometry) override |