<commit_before>/* dtkPlotViewLegend.h --- 
 * 
 * Author: <NAME>
 * Copyright (C) 2008-2011 - <NAME>, Inria.
 * Created: Fri Jun  8 12:52:22 2012 (+0200)
 * Version: $Id$
 * Last-Updated: mer. déc.  4 13:53:21 2013 (+0100)
 *           By: <NAME>
 *     Update #: 59
 */

/* Commentary: 
 * 
 */

/* Change log:
 * 
 */

#ifndef DTKPLOTVIEWLEGEND_H
#define DTKPLOTVIEWLEGEND_H

#include "dtkPlotExport.h"

#include <QtCore/QObject>

class QwtPlotItem;
class dtkPlotView;
class dtkPlotViewLegendPrivate;

class DTKPLOT_EXPORT dtkPlotViewLegend : public QObject
{
    Q_OBJECT

public:
     dtkPlotViewLegend(dtkPlotView *parent);
    ~dtkPlotViewLegend(void);

public:
    void   activate(void);
    void deactivate(void);

public:
    void setPosition(int position);

protected slots:
#if QWT_VERSION >= 0x060100<commit_msg>Add include file used to know which is the current version of Qwt (plot)<commit_after>/* dtkPlotViewLegend.h --- 
 * 
 * Author: <NAME>
 * Copyright (C) 2008-2011 - <NAME>, Inria.
 * Created: Fri Jun  8 12:52:22 2012 (+0200)
 * Version: $Id$
 * Last-Updated: Mon Dec  9 11:06:55 2013 (+0100)
 *           By: <NAME>
 *     Update #: 62
 */

/* Commentary: 
 * 
 */

/* Change log:
 * 
 */

#ifndef DTKPLOTVIEWLEGEND_H
#define DTKPLOTVIEWLEGEND_H

#include "dtkPlotExport.h"

#include <QtCore/QObject>

#if defined(DTK_BUILD_PLOT) && defined(DTK_HAVE_PLOT)
#include <qwt_global.h>
#endif

class QwtPlotItem;
class dtkPlotView;
class dtkPlotViewLegendPrivate;

class DTKPLOT_EXPORT dtkPlotViewLegend : public QObject
{
    Q_OBJECT

public:
     dtkPlotViewLegend(dtkPlotView *parent);
    ~dtkPlotViewLegend(void);

public:
    void   activate(void);
    void deactivate(void);

public:
    void setPosition(int position);

protected slots:
#if QWT_VERSION >= 0x060100
{'fraction_non_alphanumeric': 0.12283640424343942, 'fraction_numerical': 0.05248464544946957, 'mean_word_length': 3.7034120734908136, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7636525', 'n_tokens_mistral': 779, 'n_tokens_neox': 668, 'n_words': 158}