/usr/include/KWWidgets/vtkKWSmallCounterLabel.h is in libkwwidgets1-dev 1.0.0~cvs20100930-8.
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 | /*=========================================================================
Module: vtkKWSmallCounterLabel.h,v
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkKWSmallCounterLabel - a (very) small counter label (icon)
// .SECTION Description
// A widget that represents a very small counter (as an icon), counting
// from 1 to 9 (any value over 9 is represented as 9+).
#ifndef __vtkKWSmallCounterLabel_h
#define __vtkKWSmallCounterLabel_h
#include "vtkKWLabel.h"
class KWWidgets_EXPORT vtkKWSmallCounterLabel : public vtkKWLabel
{
public:
static vtkKWSmallCounterLabel* New();
vtkTypeRevisionMacro(vtkKWSmallCounterLabel,vtkKWLabel);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set/Get the value of the counter.
// Set it to 0 to hide the counter. Any value over 9 will be stored as
// 10 and represented as a 9+ icon.
virtual void SetValue(unsigned int v);
vtkGetMacro(Value, unsigned int);
// Description:
// Place the icon on top of its parent
virtual void Place();
protected:
vtkKWSmallCounterLabel();
~vtkKWSmallCounterLabel();
// Description:
// Create the widget.
virtual void CreateWidget();
// Description:
// Update the icon.
virtual void UpdateIcon();
unsigned int Value;
vtkKWWidget *OriginalParent;
private:
vtkKWSmallCounterLabel(const vtkKWSmallCounterLabel&); // Not implemented
void operator=(const vtkKWSmallCounterLabel&); // Not implemented
};
#endif
|