/usr/include/KWWidgets/vtkKWWidgetWithSpinButtons.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 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 | /*=========================================================================
Module: $RCSfile: vtkKWWidgetWithSpinButtons.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 vtkKWWidgetWithSpinButtons - an abstract class widget with spin buttons
// .SECTION Description
// This class implements an abstract superclass for composite widgets
// associating a widget to a set of spin buttons.
// The only requirement is for the widget to implement the NextValue()
// and PreviousValue() callbacks.
//
// Be aware that most subclasses of vtkKWWidgetWithSpinButtons are
// generated automatically out of the vtkKWWidgetWithSpinButtonsSubclass
// template located in the Templates directory. Therefore, even though the
// source code for those vtkKWWidgetWithSpinButtons subclasses does not exist
// in the KWWidgets repository, they are still generated automatically and
// documented in the API online; check the vtkKWWidgetWithSpinButtons API
// online for its subclasses, as well as the \subpage
// kwwidgets_autogenerated_page page. Classes related
// to the same template can be found in the
// \ref kwwidgets_autogenerated_widget_with_spinbuttons_group section.
// .SECTION See Also
// vtkKWMenuButtonWithSpinButtons
#ifndef __vtkKWWidgetWithSpinButtons_h
#define __vtkKWWidgetWithSpinButtons_h
#include "vtkKWCompositeWidget.h"
class vtkKWSpinButtons;
class KWWidgets_EXPORT vtkKWWidgetWithSpinButtons : public vtkKWCompositeWidget
{
public:
static vtkKWWidgetWithSpinButtons* New();
vtkTypeRevisionMacro(vtkKWWidgetWithSpinButtons, vtkKWCompositeWidget);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Retrieve the spin buttons
vtkGetObjectMacro(SpinButtons, vtkKWSpinButtons);
// Description:
// Set the string that enables balloon help for this widget.
// Override to pass down to children.
virtual void SetBalloonHelpString(const char *str);
// Description:
// Update the "enable" state of the object and its internal parts.
// Depending on different Ivars (this->Enabled, the application's
// Limited Edition Mode, etc.), the "enable" state of the object is updated
// and propagated to its internal parts/subwidgets. This will, for example,
// enable/disable parts of the widget UI, enable/disable the visibility
// of 3D widgets, etc.
virtual void UpdateEnableState();
// Description:
// Callbacks. Internal, do not use.
virtual void NextValueCallback() {};
virtual void PreviousValueCallback() {};
protected:
vtkKWWidgetWithSpinButtons();
~vtkKWWidgetWithSpinButtons();
// Description:
// Create the widget.
virtual void CreateWidget();
// Description:
// Pack or repack the widget. To be implemented by subclasses.
virtual void Pack() {};
// Description:
// Internal spin buttons
vtkKWSpinButtons *SpinButtons;
private:
vtkKWWidgetWithSpinButtons(const vtkKWWidgetWithSpinButtons&); // Not implemented
void operator=(const vtkKWWidgetWithSpinButtons&); // Not implemented
};
#endif
|