mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added a bit of documentation on how to use the ToolTips & removed 2 bad-api methods
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d590cb9519
commit
df01a5d35f
2 changed files with 31 additions and 16 deletions
|
@ -598,17 +598,6 @@ void ProfileGraphicsView::plot_text(struct graphics_context *gc, text_render_opt
|
|||
scene()->addItem(item);
|
||||
}
|
||||
|
||||
void ProfileGraphicsView::addToolTip(const QString& text, const QIcon& icon)
|
||||
{
|
||||
toolTip->addToolTip(text, icon);
|
||||
}
|
||||
|
||||
void ProfileGraphicsView::removeToolTip(const QString& text)
|
||||
{
|
||||
toolTip->removeToolTip(text);
|
||||
}
|
||||
|
||||
|
||||
void ProfileGraphicsView::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
// Fits the scene's rectangle on the view.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue