/usr/include/KWWidgets/vtkKWScaleWithEntrySet.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 | /*=========================================================================
Module: $RCSfile: vtkKWWidgetSetSubclass.h.in,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 vtkKWScaleWithEntrySet - a concrete set of vtkKWScaleWithEntry
// .SECTION Description
// A composite widget to conveniently store, allocate, create and pack a
// set of vtkKWScaleWithEntry.
// Each vtkKWScaleWithEntry is created, removed or queried based
// on a unique ID provided by the user (ids are *not* handled by the class
// since it is likely that they will be defined as enum's or #define by
// the user for easier retrieval).
// As a subclass of vtkKWWidgetSet, it inherits methods to set the widgets
// visibility individually, set the layout parameters, and query each widget.
// Widgets are packed (gridded) in the order they were added.
// @ingroup kwwidgets_autogenerated_widget_set_group
// .SECTION Note
// This class and the corresponding code were
// \subpage kwwidgets_autogenerated_page "generated automatically" by
// instantiating the <tt>Templates/vtkKWWidgetSetSubclass.h.in</tt>
// and <tt>Templates/vtkKWWidgetSetSubclass.cxx.in</tt> files for
// the type vtkKWScaleWithEntry. Classes related to the same template can be found
// in the \ref kwwidgets_autogenerated_widget_set_group section.
// .SECTION See Also
// vtkKWWidgetSet vtkKWScaleWithEntry
#ifndef __vtkKWScaleWithEntrySet_h
#define __vtkKWScaleWithEntrySet_h
#include "vtkKWWidgetSet.h"
class vtkKWScaleWithEntry;
class KWWidgets_EXPORT vtkKWScaleWithEntrySet : public vtkKWWidgetSet
{
public:
static vtkKWScaleWithEntrySet* New();
vtkTypeRevisionMacro(vtkKWScaleWithEntrySet,vtkKWWidgetSet);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Add a vtkKWScaleWithEntry to the end of the set.
// The id has to be unique among the set.
// Return a pointer to the vtkKWScaleWithEntry, or NULL on error.
virtual vtkKWScaleWithEntry* AddWidget(int id);
// Description:
// Insert a vtkKWScaleWithEntry at a specific position in the set.
// The id has to be unique among the set.
// Return a pointer to the vtkKWScaleWithEntry, or NULL on error.
virtual vtkKWScaleWithEntry* InsertWidget(int id, int pos);
// Description:
// Get a vtkKWScaleWithEntry from the set, given its unique id.
// Return a pointer to the vtkKWScaleWithEntry, or NULL on error.
virtual vtkKWScaleWithEntry* GetWidget(int id);
protected:
vtkKWScaleWithEntrySet() {};
~vtkKWScaleWithEntrySet() {};
// Helper methods
virtual vtkKWWidget* AllocateAndCreateWidget();
private:
vtkKWScaleWithEntrySet(const vtkKWScaleWithEntrySet&); // Not implemented
void operator=(const vtkKWScaleWithEntrySet&); // Not implemented
};
#endif
|