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

TxqNldWsTrol Class Reference

A Qt wdiget which assumes plot vies are Txq2dPlotFrames. More...

#include <TxqNldWsTrol.h>

Inheritance diagram for TxqNldWsTrol::

TxqConfigWsFrame TxqWsFrame TxqFrame QFrame TxqAccelWsTrol TxqSosWsTrol List of all members.

Public Slots

virtual void updateAttrib ()=0
 slot to update the attrribute sets. More...

virtual void erasePlots ()
 slot to erase plots and update point with the last point. More...

virtual void stop ()
 slot used when model is stopped. More...

virtual void start ()
 slot used when model is started. More...

virtual void restart ()
 slot used when model is restarted. More...

virtual void run ()
 slot used when model is running. More...


Signals

virtual void stopModelSignal ()
 signal to request to stop the model. More...

virtual void runModelSignal ()
 signal to request to run the model. More...


Public Methods

 TxqNldWsTrol (TxAttributeSet *a, QWidget *parent=0, const char *nm=0, WFlags f=WType_TopLevel)
 The TxqNldWsTrol constructor takes a TxAttributeSet a, QWidget w a name nm and a window flag f All other options must be set from member methods. More...

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

virtual void setAdaptor (TxNldIfc *ptr)
 Set the TxNldIfc pointer. More...

virtual void setOutThroughStream (TxqLog &t)
 Set the TxqLog for cout. More...

virtual void setErrThroughStream (TxqLog &t)
 Set the TxqLog for cerr. More...

virtual void initialize ()
 Initialize the frame. More...


Protected Methods

virtual void setDimension ()
 Set the dimension. More...

virtual void createNldAttributes ()
 Create the Nld Attributes. More...

virtual void createFrames ()
 Create all the Txq2dPlotFrames. More...

virtual void createAttributes (double xmin, double xmax, double ymin, double ymax, string xlabel, string ylabel, string title)
 Create the windowAttrib and dataAttrib TxAttributeSets from the inputs. More...

virtual void connectSignals ()
 connect the signals and slots. More...

virtual void addEraseButton ()
 add an Erase button. More...


Protected Attributes

TxNldIfcadaptorPtr
 The TxNldIfc pointer. More...

vector<TxAttributeSet*> windowAttribs
 the vector of window attributes. More...

vector<TxAttributeSet*> dataAttribs
 The vector of data attributes. More...

TxqLogtxcout
 The output TxqLog. More...

TxqLogtxcerr
 The error output TxqLog. More...

int numPlots
 The number of plots. More...

int dimen
 The dimension of the Nld map. More...

TxAttributeSetwindow
 The window attribute. More...

vector<string> colors
 The vector of known colors. More...

unsigned int colorIndex
 The color index number. More...

QPushButton* eraseButton
 The erase button. More...

std::vector<Txq2dPlotFrame*> nldFrames
 The vector of nld frames. More...


Detailed Description

A Qt wdiget which assumes plot vies are Txq2dPlotFrames.

Creates an Erase button and implementation, holds a TxNldIfc pointer and gets plot attributes for all plots from it, has empty implemention of VCR buttons.

Copyright 2000 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
TxqNldWsTrol.h,v 1.3 2001/10/12 22:04:46 kgl Exp

Definition at line 38 of file TxqNldWsTrol.h.


Constructor & Destructor Documentation

TxqNldWsTrol::TxqNldWsTrol ( TxAttributeSet * a,
QWidget * parent = 0,
const char * nm = 0,
WFlags f = WType_TopLevel )
 

The TxqNldWsTrol constructor takes a TxAttributeSet a, QWidget w a name nm and a window flag f All other options must be set from member methods.

Parameters:
a   The window attribute set pointer.
parent   The parent Qt widget defaulted to null.
nm   The name of the Qt widget defaulted to null.
f   The window flags defaulted to WType_TopLevel

TxqNldWsTrol::~TxqNldWsTrol ( ) [virtual]
 

The TxqNldWsTrol destructor.


Member Function Documentation

void TxqNldWsTrol::addEraseButton ( ) [protected, virtual]
 

add an Erase button.

void TxqNldWsTrol::connectSignals ( ) [protected, virtual]
 

connect the signals and slots.

void TxqNldWsTrol::createAttributes ( double xmin,
double xmax,
double ymin,
double ymax,
string xlabel,
string ylabel,
string title ) [protected, virtual]
 

Create the windowAttrib and dataAttrib TxAttributeSets from the inputs.

Parameters:
xmin   the min value for X data
xmax   the max value for X data
ymin   the min value for Y data
ymax   the max value for Y data
xlabel   the X axis label
ylabel   the Y axis label
title   the window name

Reimplemented in TxqSosWsTrol.

void TxqNldWsTrol::createFrames ( ) [protected, virtual]
 

Create all the Txq2dPlotFrames.

Reimplemented in TxqSosWsTrol.

void TxqNldWsTrol::createNldAttributes ( ) [protected, virtual]
 

Create the Nld Attributes.

Reimplemented in TxqAccelWsTrol, and TxqSosWsTrol.

void TxqNldWsTrol::erasePlots ( ) [virtual, slot]
 

slot to erase plots and update point with the last point.

Reimplemented in TxqAccelWsTrol, and TxqSosWsTrol.

void TxqNldWsTrol::initialize ( ) [virtual]
 

Initialize the frame.

void TxqNldWsTrol::restart ( ) [virtual, slot]
 

slot used when model is restarted.

Reimplemented in TxqAccelWsTrol, and TxqSosWsTrol.

void TxqNldWsTrol::run ( ) [virtual, slot]
 

slot used when model is running.

void TxqNldWsTrol::runModelSignal ( ) [virtual, signal]
 

signal to request to run the model.

void TxqNldWsTrol::setAdaptor ( TxNldIfc * ptr ) [virtual]
 

Set the TxNldIfc pointer.

Parameters:
ptr   the TxNldIfc pointer to use to set the adaptor.

Reimplemented in TxqAccelWsTrol.

void TxqNldWsTrol::setDimension ( ) [protected, virtual]
 

Set the dimension.

void TxqNldWsTrol::setErrThroughStream ( TxqLog & t ) [inline, virtual]
 

Set the TxqLog for cerr.

Parameters:
t   the TxqLog stream to set as cerr

Definition at line 78 of file TxqNldWsTrol.h.

void TxqNldWsTrol::setOutThroughStream ( TxqLog & t ) [inline, virtual]
 

Set the TxqLog for cout.

Parameters:
t   the TxqLog stream to set as cout

Definition at line 72 of file TxqNldWsTrol.h.

void TxqNldWsTrol::start ( ) [virtual, slot]
 

slot used when model is started.

Reimplemented from TxqConfigWsFrame.

void TxqNldWsTrol::stop ( ) [virtual, slot]
 

slot used when model is stopped.

Reimplemented from TxqConfigWsFrame.

void TxqNldWsTrol::stopModelSignal ( ) [virtual, signal]
 

signal to request to stop the model.

void TxqNldWsTrol::updateAttrib ( ) [pure virtual, slot]
 

slot to update the attrribute sets.

Reimplemented in TxqAccelWsTrol, and TxqSosWsTrol.


Member Data Documentation

TxNldIfc * TxqNldWsTrol::adaptorPtr [protected]
 

The TxNldIfc pointer.

Definition at line 177 of file TxqNldWsTrol.h.

unsigned int TxqNldWsTrol::colorIndex [protected]
 

The color index number.

Definition at line 223 of file TxqNldWsTrol.h.

vector< string > TxqNldWsTrol::colors [protected]
 

The vector of known colors.

Definition at line 218 of file TxqNldWsTrol.h.

vector< TxAttributeSet *> TxqNldWsTrol::dataAttribs [protected]
 

The vector of data attributes.

Definition at line 187 of file TxqNldWsTrol.h.

int TxqNldWsTrol::dimen [protected]
 

The dimension of the Nld map.

Definition at line 208 of file TxqNldWsTrol.h.

QPushButton * TxqNldWsTrol::eraseButton [protected]
 

The erase button.

Definition at line 228 of file TxqNldWsTrol.h.

std::vector< Txq2dPlotFrame *> TxqNldWsTrol::nldFrames [protected]
 

The vector of nld frames.

Definition at line 233 of file TxqNldWsTrol.h.

int TxqNldWsTrol::numPlots [protected]
 

The number of plots.

Definition at line 203 of file TxqNldWsTrol.h.

TxqLog * TxqNldWsTrol::txcerr [protected]
 

The error output TxqLog.

Definition at line 197 of file TxqNldWsTrol.h.

TxqLog * TxqNldWsTrol::txcout [protected]
 

The output TxqLog.

Definition at line 192 of file TxqNldWsTrol.h.

TxAttributeSet * TxqNldWsTrol::window [protected]
 

The window attribute.

Reimplemented from TxqConfigWsFrame.

Definition at line 213 of file TxqNldWsTrol.h.

vector< TxAttributeSet *> TxqNldWsTrol::windowAttribs [protected]
 

the vector of window attributes.

Definition at line 182 of file TxqNldWsTrol.h.


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