Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

UnsignedIntParam Class Reference

Represents a parameter of type GLuint, used both by commmands and arrays. More...

#include <unsignedintparam.h>

Inheritance diagram for UnsignedIntParam:

IntParam CmdParam List of all members.

Public Member Functions

 UnsignedIntParam (const char *formalVarName, const char *defaultValue, const char *exactTypeName="GLuint")

Detailed Description

Represents a parameter of type GLuint, used both by commmands and arrays.

This class inherits IntParam and simply modifies the min, max and step values and also the maximum widget width to its own likening.

Note: The maximum value alowed is INT_MAX, NOT UINT_MAX. This limitation is due to the QSpinBox widget using `int'. Hence, the value can range from 0..INT_MAX. This could be overcome by subclassing QSpinBox, like what was done for floats and doubles with SuperSpinBox.

As an editor widget, it provides a simple integer QSpinBox.


Constructor & Destructor Documentation

UnsignedIntParam::UnsignedIntParam const char *  formalVarName,
const char *  defaultValue,
const char *  exactTypeName = "GLuint"
[inline]
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 27 12:01:41 2004 for Glitch by doxygen 1.3.2