#include <TxqConfigWsFrame.h>
Inheritance diagram for TxqConfigWsFrame::

Public Slots | |
| void | startModel () |
| slot to start the model. More... | |
| void | runModel () |
| slot to run the model. More... | |
| void | stepModel () |
| slot to step the model. More... | |
| void | stopModel () |
| slot to stop the model. More... | |
| void | restartModel () |
| slot to restart the model. More... | |
| void | updatePlots () |
| slot to update the plots. More... | |
| virtual void | closeWindow () |
| slot to request to close the window. More... | |
| void | clearPlotsEvent () |
| slot to clear the plots. More... | |
Signals | |
| void | restartEvent () |
| signal to restart the model. More... | |
| void | startEvent () |
| signal to start the model. More... | |
| void | runEvent () |
| signal emitted when model is at run state. More... | |
| void | stopEvent () |
| signal emitted when model is at stop state. More... | |
| void | updateModel () |
| signal to update the model. More... | |
Public Methods | |
| TxqConfigWsFrame (TxAttributeSet *windowAttrib, QWidget *parent=0, const char *nm=0, WFlags f=WType_TopLevel) | |
| The TxqConfigWsFrame constructor takes a QWidget w a name nm and a window flag f All other options must be set from member methods. More... | |
| virtual | ~TxqConfigWsFrame () |
| The TxqConfigWsFrame destructor. More... | |
| void | add (Txq2dFrame *f) |
| Add a new plotting window. More... | |
| void | setTimeStep (double ts) |
| Set the time step value. More... | |
| virtual void | disableButtons () |
| Disable the buttons. More... | |
| void | setInitialState () |
| Set the initial state of the buttons. More... | |
| void | updateStatusLabel (const QString &label) |
| Update the status label. More... | |
| QPushButton* | addButton () |
| Creates and adds a button to the VCR button list and returns the button pointer. More... | |
| void | start () |
| Start the timer. More... | |
| void | stop () |
| Stop the timer. More... | |
| void | destroy () |
| Delete the widget. More... | |
| void | destroy (bool b, bool bb) |
| declare the base class delete method to avoid compiler warnings. More... | |
| int | getModelState () |
| Get the model state. More... | |
| void | clearPlots () |
| Clear all the Txq2dFrame plots. More... | |
Protected Slots | |
| bool | close (bool forceKill=FALSE) |
| Close and quit the window. More... | |
Protected Methods | |
| void | timerEvent (QTimerEvent *t) |
| The timer event will do a step. More... | |
| void | addButtonSlots () |
| Add the VCR button slots. More... | |
| void | connectTrolSignals () |
| Connect the trol signals. More... | |
Protected Attributes | |
| int | maxIters |
| The maximum number of iterations the default is unlimited. More... | |
| int | iterPerUpdate |
| The number of iterations per graphics update the default is 1;. More... | |
| std::vector<Txq2dFrame*> | plotWindows |
| The vector of 2d plot windows. More... | |
Private Attributes | |
| int | timer_id |
| The timer id number. More... | |
| int | modelState |
| The model state. More... | |
| double | timeStep |
| The model time step. More... | |
| int | iterPerUpdateNumber |
| The current iteration number. More... | |
| int | theCurrentStep |
| The current step number. More... | |
| TxAttributeSet* | window |
| The window attribute set. More... | |
It connects the VCR signals, holds the state of the model and has an add method to hold new plot Txq2dFrame's
Copyright 2001 by Tech-X Corporation
Definition at line 50 of file TxqConfigWsFrame.h.
|
|
The TxqConfigWsFrame constructor takes a QWidget w a name nm and a window flag f All other options must be set from member methods.
|
|
|
The TxqConfigWsFrame destructor.
|
|
|
Add a new plotting window.
|
|
|
Creates and adds a button to the VCR button list and returns the button pointer.
|
|
|
Add the VCR button slots.
|
|
|
Clear all the Txq2dFrame plots.
|
|
|
slot to clear the plots.
|
|
|
Close and quit the window.
Reimplemented from TxqFrame. |
|
|
slot to request to close the window.
|
|
|
Connect the trol signals. connect the close signal generated from the user and connect the stop model signal. |
|
|
declare the base class delete method to avoid compiler warnings.
Definition at line 138 of file TxqConfigWsFrame.h. |
|
|
Delete the widget.
|
|
|
Disable the buttons.
|
|
|
Get the model state.
|
|
|
signal to restart the model.
|
|
|
slot to restart the model.
|
|
|
signal emitted when model is at run state.
|
|
|
slot to run the model.
|
|
|
Set the initial state of the buttons.
|
|
|
Set the time step value.
|
|
|
Start the timer.
Reimplemented in TxqNldWsTrol. |
|
|
signal to start the model.
|
|
|
slot to start the model.
|
|
|
slot to step the model.
|
|
|
Stop the timer.
Reimplemented in TxqNldWsTrol. |
|
|
signal emitted when model is at stop state.
|
|
|
slot to stop the model.
|
|
|
The timer event will do a step.
|
|
|
signal to update the model.
|
|
|
slot to update the plots.
|
|
|
Update the status label.
|
|
|
The number of iterations per graphics update the default is 1;.
Definition at line 222 of file TxqConfigWsFrame.h. |
|
|
The current iteration number. Used to use to test if the graphics needs to be updated. Definition at line 293 of file TxqConfigWsFrame.h. |
|
|
The maximum number of iterations the default is unlimited.
Definition at line 216 of file TxqConfigWsFrame.h. |
|
|
The model state.
Definition at line 281 of file TxqConfigWsFrame.h. |
|
|
The vector of 2d plot windows.
Definition at line 227 of file TxqConfigWsFrame.h. |
|
|
The current step number.
Definition at line 298 of file TxqConfigWsFrame.h. |
|
|
The model time step.
Definition at line 286 of file TxqConfigWsFrame.h. |
|
|
The timer id number.
Definition at line 276 of file TxqConfigWsFrame.h. |
|
|
The window attribute set.
Reimplemented in TxqNldWsTrol. Definition at line 303 of file TxqConfigWsFrame.h. |
Copyright Tech-X Corporation, all rights reserved.