<commit_before>/*  <NAME> 2011 */

#ifndef CHARTXY_H
  #define CHARTXY_H

  #include <QAbstractItemView>
  #include <QMouseEvent>
  #include "chartxysetting.h"
  #include "chartxyrender.h"
  #include <qglobal.h>
  #include <QtCore>

  #define CHARTXY_VERSION                                   0
  #define CHARTXY_REVISION                                  8

  class ChartXY: public QAbstractItemView
    {
      Q_OBJECT
    public:
      explicit ChartXY(QWidget *parent=0);

      virtual QRect	visualRect(const QModelIndex &index) const;
      virtual void scrollTo(const QModelIndex &index,ScrollHint hint=EnsureVisible);
      virtual QModelIndex indexAt(const QPoint &point) const;

      ChartXYSetting &setting(void);

      static unsigned int version(void);
      static unsigned int revision(void);
    protected:
      virtual QModelIndex moveCursor(CursorAction cursorAction,Qt::KeyboardModifiers modifiers);
      virtual int horizontalOffset() const;
      virtual int verticalOffset() const;
      virtual bool isIndexHidden(const QModelIndex &index) const;
      virtual void setSelection(const QRect &rect,QItemSelectionModel::SelectionFlags command);
      virtual QRegion visualRegionForSelection(const QItemSelection &selection) const;

      virtual void dataChanged(const QModelIndex &topLeft,const QModelIndex &bottomRight);

      virtual void paintEvent(QPaintEvent *event);
      virtual void resizeEvent(QResizeEvent *event);
      virtual void scrollContentsBy(int dx, int dy);

      virtual void mousePressEvent(QMouseEvent *event);
      virtual void mouseReleaseEvent(QMouseEvent *event);

    signals:

    public slots:<commit_msg>resolved warning on linux<commit_after>/*  <NAME> 2011 */

#ifndef CHARTXY_H
  #define CHARTXY_H

  #include <QAbstractItemView>
  #include <QMouseEvent>
  #include "chartxysetting.h"
  #include "chartxyrender.h"
  #include <qglobal.h>
  #include <QtCore>

  #define CHARTXY_VERSION                                   0
  #define CHARTXY_REVISION                                  8

  class ChartXY: public QAbstractItemView
    {
      Q_OBJECT
    public:
      explicit ChartXY(QWidget *parent=0);

      virtual QRect	visualRect(const QModelIndex &index) const;
      virtual void scrollTo(const QModelIndex &index,ScrollHint hint=EnsureVisible);
      virtual QModelIndex indexAt(const QPoint &point) const;

      ChartXYSetting &setting(void);

      static unsigned int version(void);
      static unsigned int revision(void);
    protected:
      virtual QModelIndex moveCursor(CursorAction cursorAction,Qt::KeyboardModifiers modifiers);
      virtual int horizontalOffset() const;
      virtual int verticalOffset() const;
      virtual bool isIndexHidden(const QModelIndex &index) const;
      virtual void setSelection(const QRect &rect,QItemSelectionModel::SelectionFlags command);
      virtual QRegion visualRegionForSelection(const QItemSelection &selection) const;

      using QAbstractItemView::dataChanged;
      virtual void dataChanged(const QModelIndex &topLeft,const QModelIndex &bottomRight);

      virtual void paintEvent(QPaintEvent *event);
      virtual void resizeEvent(QResizeEvent *event);
      virtual void scrollContentsBy(int dx, int dy);

      virtual void mousePressEvent(QMouseEvent *event);
      virtual void mouseReleaseEvent(QMouseEvent *event);

    signals:

    public slots:
{'fraction_non_alphanumeric': 0.07290436835891381, 'fraction_numerical': 0.004132231404958678, 'mean_word_length': 3.482804232804233, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2309413', 'n_tokens_mistral': 936, 'n_tokens_neox': 908, 'n_words': 256}