2016-08-02 00:28:56 +02:00
|
|
|
#ifndef TOOLTIP_H
|
|
|
|
#define TOOLTIP_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
#include <QList>
|
2019-11-15 23:05:22 +01:00
|
|
|
#include <QVector>
|
2018-09-30 12:16:41 +02:00
|
|
|
#include "common/kv.h"
|
2019-03-15 19:39:52 +01:00
|
|
|
#include "data/imageinfo.h"
|
2016-08-02 00:28:56 +02:00
|
|
|
|
|
|
|
class ToolTip
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void insert(const QString &key, const QString &value);
|
2019-11-15 22:10:55 +01:00
|
|
|
void setImages(const QVector<ImageInfo> &images) {_images = images;}
|
2019-03-15 19:39:52 +01:00
|
|
|
QString toString() const;
|
2016-08-02 00:28:56 +02:00
|
|
|
|
|
|
|
private:
|
2019-08-01 08:36:58 +02:00
|
|
|
QList<KV<QString, QString> > _list;
|
2019-11-15 22:10:55 +01:00
|
|
|
QVector<ImageInfo> _images;
|
2016-08-02 00:28:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TOOLTIP_H
|