Kate
katemessagewidget.cpp
Go to the documentation of this file.
65 m_animation = new KateAnimation(m_messageWidget, applyFadeEffect ? KateAnimation::FadeEffect : KateAnimation::GrowEffect);
72 connect(m_messageWidget, SIGNAL(linkHovered(const QString&)), SLOT(linkHovered(const QString&))); // FIXME: TODO: this?
136 connect(m_autoHideTimer, SIGNAL(timeout()), m_currentMessage, SLOT(deleteLater()), Qt::UniqueConnection);
203 connect(message, SIGNAL(closed(KTextEditor::Message*)), SLOT(messageDestroyed(KTextEditor::Message*)));
219 // a bit unnice: disconnect textChanged() and iconChanged() signals of previously visible message
QLayout * layout() const
bool hideAnimationActive() const
Returns true, if the hide animation is running, otherwise false.
Definition: kateanimation.cpp:54
void setIcon(const QPixmap &i)
void linkHovered(const QString &link)
User hovers on a link in the message widget.
Definition: katemessagewidget.cpp:285
KateMessageWidget(QWidget *parent, bool applyFadeEffect=false)
Constructor.
Definition: katemessagewidget.cpp:39
bool showAnimationActive() const
Returns true, if the how animation is running, otherwise false.
Definition: kateanimation.cpp:59
void removeAt(int i)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void showText(const QPoint &pos, const QString &text, QWidget *w)
int size() const
width
void getContentsMargins(int *left, int *top, int *right, int *bottom) const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
void setLayout(QLayout *layout)
This class provides a fade in/out effect for KMessageWidgets.
Definition: kateanimation.h:41
void deleteLater()
void hide()
int remove(const Key &key)
void setMargin(int margin)
void setSizePolicy(QSizePolicy)
void stop()
void setWordWrap(KTextEditor::Message *message)
Helper that enables word wrap to avoid breaking the layout.
Definition: katemessagewidget.cpp:147
void postMessage(KTextEditor::Message *message, QList< QSharedPointer< QAction > > actions)
Post a new incoming message.
Definition: katemessagewidget.cpp:186
void messageDestroyed(KTextEditor::Message *message)
catch when a message is deleted, then show next one, if applicable.
Definition: katemessagewidget.cpp:233
QPoint pos()
void insert(int i, const T &value)
QWidget * parentWidget() const
void start(int msec)
bool contains(const Key &key) const
void show()
bool isActive() const
Definition: katedefaultcolors.h:62
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QList< QAction * > actions() const
Definition: katedefaultcolors.h:61
void setSingleShot(bool singleShot)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.