mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Plot the Temperature Text.
I Moved the 'plot text' method of the Old Graphics to the new layout - this one was mostly unchanged as it was already good as is. And used the TemperatureProfileItem to also display texts. This was the first implementation of the new system that uses *less* code than the original one, wich makes me happy. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4ff73cf537
commit
35979537d9
5 changed files with 96 additions and 21 deletions
|
@ -10,10 +10,8 @@
|
|||
#include <QPushButton>
|
||||
#include <QGraphicsProxyWidget>
|
||||
|
||||
struct text_render_options;
|
||||
struct graphics_context;
|
||||
struct plot_info;
|
||||
typedef struct text_render_options text_render_options_t;
|
||||
|
||||
/* To use a tooltip, simply ->setToolTip on the QGraphicsItem that you want
|
||||
* or, if it's a "global" tooltip, set it on the mouseMoveEvent of the ProfileGraphicsView.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue