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

TxqTickMarkTab Class Reference

This class creates a QGroupBox to be used to edit tick mark placement of an axis. More...

#include <TxqTickMarkTab.h>

Inheritance diagram for TxqTickMarkTab::

QGroupBox List of all members.

Public Methods

 TxqTickMarkTab (QWidget *parent, const QString &tle, const QColor &col, bool inside, bool outside)
 This constructor requires all inputs to be set. More...

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

void setData (const QString &tle, const QColor &col, bool inside, bool outside)
 Set the class data member data from the inputs. More...

bool getInsideTick ()
 Get the inside tick mark flag. More...

bool getOutsideTick ()
 Get the outside tick mark flag. More...

QColor getTickLabelColor ()
 Get the tick label color. More...


Protected Slots

void changeColor (bool on)
 Open a color dialog box to change the title color. More...


Private Attributes

QLabeltitle
 the title label. More...

QColor color
 the color of the title. More...

bool insideMark
 the inside tick mark bool flag. More...

bool outsideMark
 the outside tick mark bool flag. More...

QCheckBox* outsideBox
 the outside tick mark box. More...

QCheckBox* insideBox
 the inside tick mark box. More...

QCheckBox* colorBox
 the color check box. More...


Detailed Description

This class creates a QGroupBox to be used to edit tick mark placement of an axis.

The tick marks can be inside or outside the axis.

Copyright 1998 - 2001 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqTickMarkTab.h,v 1.3 2001/10/10 17:29:49 kgl Exp

Definition at line 47 of file TxqTickMarkTab.h.


Constructor & Destructor Documentation

TxqTickMarkTab::TxqTickMarkTab ( QWidget * parent,
const QString & tle,
const QColor & col,
bool inside,
bool outside )
 

This constructor requires all inputs to be set.

Parameters:
parent   the parent widget
tle   the title for the QGroupBox
col   the color of the tick labels
inside   bool to determine if the tick mark is inside
outside   bool to determine if the tick mark is outside

TxqTickMarkTab::~TxqTickMarkTab ( ) [virtual]
 

The TxqTickMarkTab destructor.


Member Function Documentation

void TxqTickMarkTab::changeColor ( bool on ) [protected, slot]
 

Open a color dialog box to change the title color.

Parameters:
on   if on is true, then a QColorDialog is opened to obtain new color.

bool TxqTickMarkTab::getInsideTick ( ) [inline]
 

Get the inside tick mark flag.

Returns:
true if the tick mark is inside

Definition at line 82 of file TxqTickMarkTab.h.

bool TxqTickMarkTab::getOutsideTick ( ) [inline]
 

Get the outside tick mark flag.

Returns:
true if the tick mark is outside

Definition at line 88 of file TxqTickMarkTab.h.

QColor TxqTickMarkTab::getTickLabelColor ( ) [inline]
 

Get the tick label color.

Returns:
the color of the tick labels and tick marks

Definition at line 94 of file TxqTickMarkTab.h.

void TxqTickMarkTab::setData ( const QString & tle,
const QColor & col,
bool inside,
bool outside )
 

Set the class data member data from the inputs.

Parameters:
tle   the title
col   the color of the tick mark labels.
inside   the inside tick mark flag
outside   the outside tick mark flag


Member Data Documentation

QColor TxqTickMarkTab::color [private]
 

the color of the title.

Definition at line 117 of file TxqTickMarkTab.h.

QCheckBox * TxqTickMarkTab::colorBox [private]
 

the color check box.

Definition at line 142 of file TxqTickMarkTab.h.

QCheckBox * TxqTickMarkTab::insideBox [private]
 

the inside tick mark box.

Definition at line 137 of file TxqTickMarkTab.h.

bool TxqTickMarkTab::insideMark [private]
 

the inside tick mark bool flag.

Definition at line 122 of file TxqTickMarkTab.h.

QCheckBox * TxqTickMarkTab::outsideBox [private]
 

the outside tick mark box.

Definition at line 132 of file TxqTickMarkTab.h.

bool TxqTickMarkTab::outsideMark [private]
 

the outside tick mark bool flag.

Definition at line 127 of file TxqTickMarkTab.h.

QLabel * TxqTickMarkTab::title [private]
 

the title label.

Definition at line 112 of file TxqTickMarkTab.h.


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