Qwt User's Guide 5.2.3

- Main Page
- Related Pages
- Classes

qwt_legend_itemmanager.h
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2 * Qwt Widget Library
3 * Copyright (C) 1997 Josef Wilgen
4 * Copyright (C) 2002 Uwe Rathmann
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the Qwt License, Version 1.0
8 *****************************************************************************/
9
10 // vim: expandtab
11
12 #ifndef QWT_LEGEND_ITEM_MANAGER_H
13 #define QWT_LEGEND_ITEM_MANAGER_H
14
15 #include "qwt_global.h"
16
17 class QwtLegend;
18 class QWidget;
19
24 class QWT_EXPORT QwtLegendItemManager
25 {
26 public:
28 QwtLegendItemManager()
29 {
30 }
31
33 virtual ~QwtLegendItemManager()
34 {
35 }
36
42 virtual void updateLegend(QwtLegend *legend) const = 0;
43
50 virtual QWidget *legendItem() const = 0;
51 };
52
53 #endif
54