This file is indexed.

/usr/include/BALL/VIEW/WIDGETS/regularData1DWidget.h is in libballview1.4-dev 1.4.3~beta1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//

#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
# include <BALL/VIEW/KERNEL/modularWidget.h>
#endif

#ifndef BALL_VIEW_WIDGETS_CANVASWIDGET_H
# include <BALL/VIEW/WIDGETS/canvasWidget.h>
#endif

#ifndef BALL_DATATYPE_REGULARDATA1D_H
# include <BALL/DATATYPE/regularData1D.h>
#endif

#ifndef BALL_VIEW_WIDGETS_DOCKWIDGET_H
# include <BALL/VIEW/WIDGETS/dockWidget.h>
#endif

#include <QtGui/QColor>
//Added by qt3to4:
#include <QContextMenuEvent>
#include <QResizeEvent>

namespace BALL
{
	namespace VIEW
	{
		/** Widget used to display one-dimensional data.
		 		\ingroup ViewWidgets
		 */
		class BALL_VIEW_EXPORT RegularData1DWidget
			: public CanvasWidget,
				public ModularWidget
		{
			Q_OBJECT  
				
			public:
		
			BALL_EMBEDDABLE(RegularData1DWidget, ModularWidget)
			
			/** Detailed constructor
			 */
			RegularData1DWidget(const RegularData1D* data, QWidget *parent = 0);

			/** Destructor
			 */
			~RegularData1DWidget();

			/** Handles messages sent by other registered ConnectionObject instances.
					\param message the pointer to the message that should be processed
		  */
			virtual void onNotify(Message *message);

			public slots: 

			/** Creator of a plot
			 */
			void createPlot();
			
			protected:

			RegularData1DWidget(RegularData1DWidget* widget);

			const RegularData1D* data_;
			QColor diagram_color_;
			QColor background_color_;
			QColor axis_color_;
		}; 


		///
    class BALL_VIEW_EXPORT DockableRegularData1DWidget
      : public DockWidget
    {
 	    Q_OBJECT 

			public:

			///
      DockableRegularData1DWidget(const RegularData1D* data, QWidget *parent=0 );

			///
      ~DockableRegularData1DWidget();

			///
      void plot();
  
		public slots:
		
			///
			virtual void zoomToFit();
		
			///
			virtual void zoomIn();

			///
			virtual void zoomOut();

		protected slots:
			virtual void resizeEvent(QResizeEvent* e);
			virtual void contextMenuEvent(QContextMenuEvent* e);

    protected:
      DockableRegularData1DWidget(const DockableRegularData1DWidget& dockcanwid);
			QSize sizeHint() const;

      RegularData1DWidget canWidget_;
    };
    
	} //end of namespace VIEW
}//end of namespace BALL