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

Public Slots | |
| virtual void | polish () |
| polish is used in order to allow overloading of widget adds to the file menu bar and to a layout. More... | |
| virtual void | editPlotAttributes (int number) |
| slot to edit the plot attributes. More... | |
| virtual void | editDataAttributes (int number) |
| slot to edit the data attributes. More... | |
| virtual void | cancelPlotEditor () |
| slot to cancel the plot editor. More... | |
| virtual void | revertPlotAttrib () |
| slot to revert the plot attributes from the editor. More... | |
| virtual void | applyPlotAttrib () |
| slot to apply the plot attributes from the editor. More... | |
| virtual void | applyClosePlotAttrib () |
| slot to apply and he plot attributes and close the editor. More... | |
| virtual void | cancelDataEditor () |
| slot to cancel the data editor. More... | |
| virtual void | revertDataAttrib () |
| slot to revert the data attributes from the editor. More... | |
| virtual void | applyDataAttrib () |
| slot to apply the data attributes from the editor. More... | |
| virtual void | applyCloseDataAttrib () |
| slot to apply and he data attributes and close the editor. More... | |
| virtual void | crossHair (int number) |
| slot to select the cross hair option. More... | |
| virtual void | show () |
| reimplemented slot to show the frame This method checks to see if the window is valid before allowing it to be shown. More... | |
| void | setTrace (int number) |
| slot to set the trace flag. More... | |
| void | applyOptions () |
| slot to get the plot attributes after the Apply or Ok buton has been pressed on the options Dialog. More... | |
| void | writeStatus (double x, double y) |
| slot to write the cross hair status. More... | |
| void | stopModel () |
| slot to stop the model. More... | |
| virtual void | closeWindow () |
| slot to request to close the window. More... | |
| virtual void | closeWindow (int index) |
| slot to request to close the window given and index number. More... | |
Signals | |
| void | stopModelSignal () |
| public signal sent to request to stop the model. More... | |
| void | zoomSignal () |
| public signal sent when zooming in or out. More... | |
| void | zoomOffSignal () |
| public signal sent when zooming is set to off. More... | |
Public Methods | |
| Txq2dPlotFrame (TxAttributeSet *windowAttrib, TxAttributeSet *dataAttrib, QWidget *parent=0, const char *nm=0, WFlags f=WType_TopLevel) | |
| The Txq2dPlotFrame constructor takes a QWidget w a name nm, a TxAttributeSet windowAttrib, and a TxAttributeSet dataAttrib. More... | |
| virtual | ~Txq2dPlotFrame () |
| The Txq2dPlotFrame destructor. More... | |
| virtual void | setWindowAttrib (TxAttributeSet *windowAttrib) |
| Set the window attribute set from an input pointer. More... | |
| virtual void | setDataAttrib (TxAttributeSet *dataAttrib) |
| Set the window's data attribute set. More... | |
| virtual void | addAxes () |
| Add the axes objects to the canvas. More... | |
| virtual void | addColorMap () |
| Add the color map. More... | |
| virtual void | addDrawables () |
| Add the drawables to the canvas This is not done at construction, but must be done after construction in order for overloading. More... | |
| virtual void | addFileMenuItems () |
| Add to the base File menu. More... | |
| virtual void | addEditMenuItems () |
| Add to the base Edit menu. More... | |
| virtual void | addViewMenuItems () |
| Add to the base View menu. More... | |
| virtual void | addScrollBarMenuItem () |
| Add the ScrollBar menu item to View. More... | |
| virtual void | addTraceMenuItem () |
| Add the Trace menu item to View. More... | |
| virtual void | plot (bool updateFlag) |
| Plot the data. More... | |
| virtual void | plotTxqAttribDrawable () |
| Plot only the TxqAttribDrawables. More... | |
| void | updateDataRange () |
| Update the data range by accessing the window attribute. More... | |
| void | setDataRange () |
| Set the data range by computing the min/max and setting canvas range and axes center point. More... | |
| void | saveGeometry () |
| Save the geometry of the window. More... | |
| virtual void | setTxqAttribDrawable (TxAttributeSet *a) |
| Set a TxAttributeSet for drawing as a TxqAttribDrawable. More... | |
| void | setTrace (bool traceFlag) |
| Set the trace item using a bool flag. More... | |
| bool | getTrace () |
| Get the trace flag. More... | |
Protected Slots | |
| bool | close (bool forceKill=FALSE) |
| Close and quit the window. More... | |
| void | setHScrollBar (int num) |
| slot to set the horizontal scroll bar. More... | |
| void | setVScrollBar (int num) |
| slot to set the vertical scroll bar. More... | |
| void | zoomIn (int id) |
| slot to zoom in the canvas. More... | |
| void | zoomOut (int id) |
| slot to zoom out the canvas. More... | |
| void | zoomOutFinished () |
| The zoomOutFinished slot is used whenever the canvas zoom is finished. More... | |
| void | setOptionsZoomTrace () |
| The setOptionsZoomTrace slot is used whenever options are applied. More... | |
| void | dumpData () |
| slot to dump the contents of the frame to an ASCII file. More... | |
| void | vslide (int) |
| slot to change the vertical min and max slider. More... | |
| void | hslide (int) |
| slot to change the horizontal min and max slider. More... | |
Protected Methods | |
| virtual void | addMenuBarItems () |
| Add the default menu bar items. More... | |
| virtual void | addWidgets () |
| Adds all the widgets to the layout This method is to be used in polish to add any created widgets to the layout manager. More... | |
| void | addScrollBars () |
| Add the scroll bars. More... | |
| void | applyAxesAttribs () |
| Apply the attributes to the axes. More... | |
| void | applyAxisAttribs (Txq2dAxis *a, TxqAxisAttribs &p, string axisName) |
| Apply the attributes to the particular axis using the input parameters. More... | |
| void | updateOptions () |
| update the options. More... | |
| void | updateAxisOptions (TxqAxisAttribs &a, string axisName) |
| update the axis options. More... | |
| void | moveEvent (QMoveEvent *event) |
| reset the X,Y frame location within the move event. More... | |
| void | resizeEvent (QResizeEvent *event) |
| reset the frame size within the resize event. More... | |
| void | setPlotAttribs () |
| Set the plot attributes. More... | |
Protected Attributes | |
| QPopupMenu* | scrollBarMenu |
| The scrollBarMenu. More... | |
| QScrollBar | hbar |
| The Horizontal scroll bar. More... | |
| QScrollBar | vbar |
| The Vertical scroll bar. More... | |
| QSizeGrip* | resizer |
| The window resizer. More... | |
Private Methods | |
| void | init () |
| Initialize constructor variables. More... | |
| void | checkMinMax () |
| Check the min and max values. More... | |
Private Attributes | |
| Txq2dCanvas* | canvas |
| The canvas. More... | |
| Txq2dAxis* | xAxis |
| The X axis. More... | |
| Txq2dAxis* | yAxis |
| The Y axis. More... | |
| TxqColorMap* | colorMap |
| The color map. More... | |
| std::vector<QColor> | colors |
| The vector of colors. More... | |
| bool | vScrollBar |
| The vertical scrollBar flag. More... | |
| bool | hScrollBar |
| The horizontal scrollBar flag. More... | |
| bool | trace |
| The trace flag. More... | |
| QString | thisName |
| The name of the window also the title of the canvas. More... | |
| QString | inputFileName |
| The input filename. More... | |
| TxAttributeSet* | window |
| The window's TxAttributeSet. More... | |
| TxAttributeSet* | data |
| The window's data TxAttributeSet. More... | |
| bool | isValid |
| bool to determine if window is valid. More... | |
| std::vector<Txq2dDrawable*> | drawAbles |
| The vector of Txq2dDrawable pointers. More... | |
| int | hbarMinValue |
| The horizontal scroll bar min value. More... | |
| int | hbarMaxValue |
| The horizontal scroll bar max value. More... | |
| int | vbarMinValue |
| The vertical scroll bar min value. More... | |
| int | vbarMaxValue |
| The vertical scroll bar max value. More... | |
| double | xmin |
| The data min value along the X axis. More... | |
| double | xmax |
| The data max value along the X axis. More... | |
| double | ymin |
| The data min value along the Y axis. More... | |
| double | ymax |
| The data max value along the Y axis. More... | |
| double | scrollWindowSize |
| The scroll window size in scroll units. More... | |
| double | scrollWindowStepSize |
| The scroll window step size, ie the total number of scroll steps. More... | |
| double | scrollXmin |
| The X scroll bar's min value. More... | |
| double | scrollXmax |
| The X scroll bar's max value. More... | |
| double | scrollYmin |
| The Y scroll bar's min value. More... | |
| double | scrollYmax |
| The Y scroll bar's max value. More... | |
| int | xPos |
| The x slider position. More... | |
| int | yPos |
| The y slider position. More... | |
| TxqEditorDlog* | plotEditor |
| The plot attribute editor. More... | |
| TxqEditorDlog* | dataEditor |
| The data attribute editor. More... | |
| int | plotEditorId |
| The plot editor id number. More... | |
| int | dataEditorId |
| The data editor id number. More... | |
| int | traceId |
| The trace id. More... | |
| bool | saveTraceState |
| bool the trace state. More... | |
| std::vector<TxqAttribDrawable*> | attribDrawables |
| vector of TxqAttribDrawables. More... | |
The axes are constructed from the input attribute set. The data for the plot is also constructed from the input attribute data. This frame also contains scroll bars to scroll through the data.
Copyright 1998 - 2001 by Tech-X Corporation
Definition at line 63 of file Txq2dPlotFrame.h.
|
|
The Txq2dPlotFrame constructor takes a QWidget w a name nm, a TxAttributeSet windowAttrib, and a TxAttributeSet dataAttrib. All other options must be set from member methods.
|
|
|
The Txq2dPlotFrame destructor.
|
|
|
Add the axes objects to the canvas.
|
|
|
Add the color map.
|
|
|
Add the drawables to the canvas This is not done at construction, but must be done after construction in order for overloading.
|
|
|
Add to the base Edit menu.
Reimplemented from Txq2dFrame. |
|
|
Add to the base File menu.
Reimplemented from Txq2dFrame. |
|
|
Add the default menu bar items.
Reimplemented from TxqFrame. |
|
|
Add the ScrollBar menu item to View.
|
|
|
Add the scroll bars.
|
|
|
Add the Trace menu item to View.
|
|
|
Add to the base View menu.
Reimplemented from Txq2dFrame. |
|
|
Adds all the widgets to the layout This method is to be used in polish to add any created widgets to the layout manager.
Reimplemented from Txq2dFrame. |
|
|
Apply the attributes to the axes.
|
|
|
Apply the attributes to the particular axis using the input parameters.
|
|
|
slot to apply and he data attributes and close the editor.
|
|
|
slot to apply and he plot attributes and close the editor.
|
|
|
slot to apply the data attributes from the editor.
|
|
|
slot to get the plot attributes after the Apply or Ok buton has been pressed on the options Dialog.
Reimplemented from Txq2dFrame. |
|
|
slot to apply the plot attributes from the editor.
|
|
|
slot to cancel the data editor.
|
|
|
slot to cancel the plot editor.
|
|
|
Check the min and max values.
|
|
|
Close and quit the window.
Reimplemented from TxqFrame. |
|
|
slot to request to close the window given and index number.
|
|
|
slot to request to close the window.
|
|
|
slot to select the cross hair option.
Reimplemented from Txq2dFrame. |
|
|
slot to dump the contents of the frame to an ASCII file.
Reimplemented from Txq2dFrame. |
|
|
slot to edit the data attributes.
|
|
|
slot to edit the plot attributes.
|
|
|
Get the trace flag.
|
|
|
slot to change the horizontal min and max slider.
|
|
|
Initialize constructor variables.
|
|
|
reset the X,Y frame location within the move event.
|
|
|
Plot the data.
Reimplemented from Txq2dFrame. |
|
|
Plot only the TxqAttribDrawables.
|
|
|
polish is used in order to allow overloading of widget adds to the file menu bar and to a layout.
Reimplemented from TxqFrame. |
|
|
reset the frame size within the resize event.
Reimplemented from Txq2dFrame. |
|
|
slot to revert the data attributes from the editor.
|
|
|
slot to revert the plot attributes from the editor.
|
|
|
Save the geometry of the window.
|
|
|
Set the window's data attribute set.
|
|
|
Set the data range by computing the min/max and setting canvas range and axes center point.
|
|
|
slot to set the horizontal scroll bar.
|
|
|
The setOptionsZoomTrace slot is used whenever options are applied.
|
|
|
Set the plot attributes.
|
|
|
slot to set the trace flag.
|
|
|
Set the trace item using a bool flag.
|
|
|
Set a TxAttributeSet for drawing as a TxqAttribDrawable.
|
|
|
slot to set the vertical scroll bar.
|
|
|
Set the window attribute set from an input pointer.
|
|
|
reimplemented slot to show the frame This method checks to see if the window is valid before allowing it to be shown.
Reimplemented from TxqFrame. |
|
|
slot to stop the model.
|
|
|
public signal sent to request to stop the model.
|
|
|
update the axis options.
|
|
|
Update the data range by accessing the window attribute.
|
|
|
update the options.
|
|
|
slot to change the vertical min and max slider.
|
|
|
slot to write the cross hair status.
Reimplemented from Txq2dFrame. |
|
|
slot to zoom in the canvas.
Reimplemented from Txq2dFrame. |
|
|
public signal sent when zooming is set to off.
|
|
|
slot to zoom out the canvas.
Reimplemented from Txq2dFrame. |
|
|
The zoomOutFinished slot is used whenever the canvas zoom is finished.
Reimplemented from Txq2dFrame. |
|
|
public signal sent when zooming in or out.
|
|
|
vector of TxqAttribDrawables.
Definition at line 666 of file Txq2dPlotFrame.h. |
|
|
The canvas.
Reimplemented from Txq2dFrame. Definition at line 484 of file Txq2dPlotFrame.h. |
|
|
The color map.
Definition at line 499 of file Txq2dPlotFrame.h. |
|
|
The vector of colors.
Definition at line 504 of file Txq2dPlotFrame.h. |
|
|
The window's data TxAttributeSet.
Definition at line 540 of file Txq2dPlotFrame.h. |
|
|
The data attribute editor.
Definition at line 641 of file Txq2dPlotFrame.h. |
|
|
The data editor id number.
Definition at line 651 of file Txq2dPlotFrame.h. |
|
|
The vector of Txq2dDrawable pointers.
Definition at line 550 of file Txq2dPlotFrame.h. |
|
|
The horizontal scrollBar flag.
Definition at line 514 of file Txq2dPlotFrame.h. |
|
|
The Horizontal scroll bar.
Definition at line 395 of file Txq2dPlotFrame.h. |
|
|
The horizontal scroll bar max value.
Definition at line 560 of file Txq2dPlotFrame.h. |
|
|
The horizontal scroll bar min value.
Definition at line 555 of file Txq2dPlotFrame.h. |
|
|
The input filename.
Definition at line 530 of file Txq2dPlotFrame.h. |
|
|
bool to determine if window is valid.
Definition at line 545 of file Txq2dPlotFrame.h. |
|
|
The plot attribute editor.
Definition at line 636 of file Txq2dPlotFrame.h. |
|
|
The plot editor id number.
Definition at line 646 of file Txq2dPlotFrame.h. |
|
|
The window resizer.
Definition at line 405 of file Txq2dPlotFrame.h. |
|
|
bool the trace state.
Definition at line 661 of file Txq2dPlotFrame.h. |
|
|
The scrollBarMenu.
Definition at line 390 of file Txq2dPlotFrame.h. |
|
|
The scroll window size in scroll units.
Definition at line 595 of file Txq2dPlotFrame.h. |
|
|
The scroll window step size, ie the total number of scroll steps.
Definition at line 601 of file Txq2dPlotFrame.h. |
|
|
The X scroll bar's max value.
Definition at line 611 of file Txq2dPlotFrame.h. |
|
|
The X scroll bar's min value.
Definition at line 606 of file Txq2dPlotFrame.h. |
|
|
The Y scroll bar's max value.
Definition at line 621 of file Txq2dPlotFrame.h. |
|
|
The Y scroll bar's min value.
Definition at line 616 of file Txq2dPlotFrame.h. |
|
|
The name of the window also the title of the canvas.
Definition at line 525 of file Txq2dPlotFrame.h. |
|
|
The trace flag.
Definition at line 519 of file Txq2dPlotFrame.h. |
|
|
The trace id.
Definition at line 656 of file Txq2dPlotFrame.h. |
|
|
The vertical scrollBar flag.
Definition at line 509 of file Txq2dPlotFrame.h. |
|
|
The Vertical scroll bar.
Definition at line 400 of file Txq2dPlotFrame.h. |
|
|
The vertical scroll bar max value.
Definition at line 570 of file Txq2dPlotFrame.h. |
|
|
The vertical scroll bar min value.
Definition at line 565 of file Txq2dPlotFrame.h. |
|
|
The window's TxAttributeSet.
Definition at line 535 of file Txq2dPlotFrame.h. |
|
|
The X axis.
Definition at line 489 of file Txq2dPlotFrame.h. |
|
|
The x slider position.
Definition at line 626 of file Txq2dPlotFrame.h. |
|
|
The data max value along the X axis.
Definition at line 580 of file Txq2dPlotFrame.h. |
|
|
The data min value along the X axis.
Definition at line 575 of file Txq2dPlotFrame.h. |
|
|
The Y axis.
Definition at line 494 of file Txq2dPlotFrame.h. |
|
|
The y slider position.
Definition at line 631 of file Txq2dPlotFrame.h. |
|
|
The data max value along the Y axis.
Definition at line 590 of file Txq2dPlotFrame.h. |
|
|
The data min value along the Y axis.
Definition at line 585 of file Txq2dPlotFrame.h. |
Copyright Tech-X Corporation, all rights reserved.