Faith::SizePolicy Class Reference

#include <faith/sizepolicy.h>

List of all members.

Public Types

 Minimum
 Maximum
 Expanding
 Fixed
 _Any
enum  Policy {
  Minimum, Maximum, Expanding, Fixed,
  _Any
}

Public Member Functions

 SizePolicy (Policy horizontal, Policy vertical)
 SizePolicy ()
Policy horizontal () const
Policy vertical () const
void setHorizontal (Policy p)
void setVertical (Policy p)


Member Enumeration Documentation

enum Faith::SizePolicy::Policy

Specifies how a widget should be sized in each dimension

Enumerator:
Minimum 
Maximum 
Expanding 
Fixed 
_Any 


Constructor & Destructor Documentation

Faith::SizePolicy::SizePolicy ( Policy  horizontal,
Policy  vertical 
) [inline]

set a specific size policy

Faith::SizePolicy::SizePolicy (  )  [inline]

create a size policy where both dimensions are set to Expanding


Member Function Documentation

Policy Faith::SizePolicy::horizontal (  )  const [inline]

void Faith::SizePolicy::setHorizontal ( Policy  p  )  [inline]

void Faith::SizePolicy::setVertical ( Policy  p  )  [inline]

Policy Faith::SizePolicy::vertical (  )  const [inline]


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:09 2006 for Faith by  doxygen 1.4.7