Plasma
tooltipcontent.cpp
Go to the documentation of this file.
void setInstantPopup(bool enabled)
Sets whether or not the tooltip should popup instantly when the widget is hovered, defaults to false.
Definition: tooltipcontent.cpp:205
void highlightWindows(WId controller, const QList< WId > &ids)
Highlight the selected windows, making all the others translucent.
Definition: windoweffects.cpp:262
void setAutohide(bool autohide)
Sets whether or not to autohide the tooltip, defaults to true.
Definition: tooltipcontent.cpp:195
On the planar desktop layer, extending across the full screen from edge to edge.
Definition: plasma.h:111
void setWindowToPreview(WId id)
Sets the ID of the window to show a preview for.
Definition: tooltipcontent.cpp:160
void setGraphicsWidget(QGraphicsWidget *widget)
Sets an optional graphicsWidget that will be used for positioning the tooltip.
Definition: tooltipcontent.cpp:257
void addResource(ResourceType type, const QUrl &path, const QVariant &resource)
Adds a resource that can then be referenced from the text elements using rich text.
Definition: tooltipcontent.cpp:215
Definition: tooltipcontent.h:47
QGraphicsWidget * graphicsWidget() const
the graphicsWidget used for positioning the tooltip, if any
Definition: tooltipcontent.cpp:262
void setClickable(bool clickable)
Sets whether or not the tooltip contains clickable content, such as window previews.
Definition: tooltipcontent.cpp:247
void setHighlightWindows(bool highlight)
sets if when the mouse will be over a thumbnail the corresponding window will be highlighted by reduc...
Definition: tooltipcontent.cpp:185
WId windowToPreview() const
Id of a window if you want to show a preview.
Definition: tooltipcontent.cpp:166
void setWindowsToPreview(const QList< WId > &ids)
Sets the IDS of the windows to show a preview for.
Definition: tooltipcontent.cpp:175
bool isInstantPopup() const
Whether or not the tooltip should popup instantly when the widget is hovered, defaults to false...
Definition: tooltipcontent.cpp:210
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
QList< WId > windowsToPreview() const
Ids of a windows if you want to show a preview.
Definition: tooltipcontent.cpp:180
void setMainText(const QString &text)
Sets the main text which containts important information, e.g.
Definition: tooltipcontent.cpp:121
void setSubText(const QString &text)
Sets text which elaborates on the mainText.
Definition: tooltipcontent.cpp:133
bool autohide() const
Whether or not to autohide the tooltip, defaults to true.
Definition: tooltipcontent.cpp:200
bool highlightWindows() const
true if when the mouse will be over a thumbnail the corresponding window will be highlighted by reduc...
Definition: tooltipcontent.cpp:190
void registerResources(QTextDocument *document) const
Registers all resources with a given document.
Definition: tooltipcontent.cpp:220
ToolTipContent & operator=(const ToolTipContent &other)
Definition: tooltipcontent.cpp:87
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.