Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Txq2dOutlined Class Reference

A base class for any closed Tx2dSegmented figure which defines the basics properties of being outlined and fillable. More...

#include <Txq2dOutlined.h>

Inheritance diagram for Txq2dOutlined::

Txq2dSegmented Txq2dSeg Txq2dDrawable TxqDrawable Txq2dPolygon Txq2dPolygonArray List of all members.

Public Methods

 Txq2dOutlined ()
 The constructor. More...

virtual ~Txq2dOutlined ()
 The destructor. More...

QColor getFillColor ()
 Get the fill color. More...

void setFillColor (QColor c)
 Set the fill color. More...

QColor getOutlineColor ()
 Get the outline color. More...

void setOutlineColor (QColor c)
 Set the outline color. More...

int getWeight ()
 Get the weight of the outline in number of pixels. More...

void setWeight (int w)
 Set the weight of the outline in number of pixels. More...

bool isFilled ()
 Returns the bool state of whether this object is filled or not. More...

void setFilled (bool b)
 Set the bool state of whether this object is filled or not. More...

bool isOutlined ()
 Returns the bool state of whether this object is outlined or not. More...

void setOutlined (bool b)
 Set the bool state of whether this object is outlined or not. More...

void setForeground (QColor c)
 A wrapper for the base method. More...

void setColor (QColor c)
 Set the foreground color which includes the outlining and filling colors. More...

void setPrintColor (QColor c)
 Set the foreground color which includes the outlining and filling colors for printing. More...

void setPrint (bool pr)
 Set the flag to print. More...


Private Attributes

QColor fillColor
 The fill color. More...

QColor saveFillColor
 The saved fill color. More...

QColor outlineColor
 the outline color. More...

QColor saveOutlineColor
 the saved outline color. More...

int weight
 the weight. More...

bool filled
 the filled flag. More...

bool outlined
 the outlined flag. More...


Detailed Description

A base class for any closed Tx2dSegmented figure which defines the basics properties of being outlined and fillable.

Copyright 2000 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
Txq2dOutlined.h,v 1.4 2001/10/12 18:58:11 kgl Exp

Definition at line 33 of file Txq2dOutlined.h.


Constructor & Destructor Documentation

Txq2dOutlined::Txq2dOutlined ( )
 

The constructor.

Txq2dOutlined::~Txq2dOutlined ( ) [virtual]
 

The destructor.


Member Function Documentation

QColor Txq2dOutlined::getFillColor ( )
 

Get the fill color.

If it is not set then it returns the background color of the TxqDrawable.

Returns:
the fill color

QColor Txq2dOutlined::getOutlineColor ( )
 

Get the outline color.

Returns:
the outline color of the object.

int Txq2dOutlined::getWeight ( )
 

Get the weight of the outline in number of pixels.

Returns:
the weight number.

bool Txq2dOutlined::isFilled ( )
 

Returns the bool state of whether this object is filled or not.

Returns:
the fill boolean value

bool Txq2dOutlined::isOutlined ( )
 

Returns the bool state of whether this object is outlined or not.

Returns:
the outlined bool value.

void Txq2dOutlined::setColor ( QColor c ) [virtual]
 

Set the foreground color which includes the outlining and filling colors.

Parameters:
c   the color of the object desired.

Reimplemented from TxqDrawable.

void Txq2dOutlined::setFillColor ( QColor c )
 

Set the fill color.

Parameters:
c   the fill color desired.

void Txq2dOutlined::setFilled ( bool b )
 

Set the bool state of whether this object is filled or not.

Parameters:
b   the fill boolean value

void Txq2dOutlined::setForeground ( QColor c )
 

A wrapper for the base method.

sets the foreground color which includes the outlining and filling colors.

Parameters:
c   the fore ground color

void Txq2dOutlined::setOutlineColor ( QColor c )
 

Set the outline color.

Parameters:
c   the outline color

void Txq2dOutlined::setOutlined ( bool b )
 

Set the bool state of whether this object is outlined or not.

Parameters:
b   the outlined bool value.

void Txq2dOutlined::setPrint ( bool pr ) [virtual]
 

Set the flag to print.

Parameters:
bool   flag for printing true if printing is desired false if not printing
pr   the print bool flag

Reimplemented from TxqDrawable.

void Txq2dOutlined::setPrintColor ( QColor c ) [virtual]
 

Set the foreground color which includes the outlining and filling colors for printing.

Parameters:
c   the color for printing the object.

Reimplemented from TxqDrawable.

void Txq2dOutlined::setWeight ( int w )
 

Set the weight of the outline in number of pixels.

Parameters:
w   the weight number


Member Data Documentation

QColor Txq2dOutlined::fillColor [private]
 

The fill color.

Definition at line 150 of file Txq2dOutlined.h.

bool Txq2dOutlined::filled [private]
 

the filled flag.

Definition at line 174 of file Txq2dOutlined.h.

QColor Txq2dOutlined::outlineColor [private]
 

the outline color.

Definition at line 160 of file Txq2dOutlined.h.

bool Txq2dOutlined::outlined [private]
 

the outlined flag.

Definition at line 179 of file Txq2dOutlined.h.

QColor Txq2dOutlined::saveFillColor [private]
 

The saved fill color.

Definition at line 155 of file Txq2dOutlined.h.

QColor Txq2dOutlined::saveOutlineColor [private]
 

the saved outline color.

Definition at line 164 of file Txq2dOutlined.h.

int Txq2dOutlined::weight [private]
 

the weight.

Definition at line 169 of file Txq2dOutlined.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.