DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
Dtk::Quick::MessageManager类 参考
类 Dtk::Quick::MessageManager 继承关系图:

Public 槽

bool sendMessage (const QString &content, const QString &iconName=QString(), int duration=4000, const QString &msgId=QString())
 
bool sendMessage (QQmlComponent *delegate, const QVariant &message, int duration=4000, const QString &msgId=QString())
 
void close (DTK_QUICK_NAMESPACE::FloatingMessageContainer *message)
 
void close (const QString &msgId)
 

信号

void countChanged ()
 

Public 成员函数

 MessageManager (QQuickWindow *parent=nullptr)
 
QQuickWindow * window () const
 
QQmlComponent * delegate () const
 
void setDelegate (QQmlComponent *delegate)
 
QQuickItem * layout () const
 
void setLayout (QQuickItem *layout)
 
int capacity () const
 
void setCapacity (int capacity)
 
int count () const
 
QList< FloatingMessageContainer * > messages (const QString &msgId) const
 

静态 Public 成员函数

static MessageManagerqmlAttachedProperties (QObject *object)
 

Protected 成员函数

virtual void timerEvent (QTimerEvent *e) override
 

属性

QQmlComponent * delegate
 
QQuickItem * layout
 
int capacity
 
int count
 

该类的文档由以下文件生成: