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

Public Slots | |
| virtual void | setGeometry (int x, int y, int w, int h) |
| slot to set the geometry. More... | |
| virtual void | setGeometry (const QRect &r) |
| Forward the overloaded method to prevent compiler warnings. More... | |
| virtual void | crossHair (int number) |
| slot to select the cross hair option. More... | |
| virtual void | writeStatus (double x, double y) |
| slot to write the cross hair status given and x and y value. More... | |
Signals | |
| virtual void | setOptionsSignal () |
| signal emitted whenever the setOptions is invoked for the options dialog. More... | |
Public Methods | |
| Txq2dFrame (QWidget *parent=0, const char *nm=0, WFlags f=WType_TopLevel) | |
| The Txq2dFrame constructor takes a QFrame w a name nm and a window flag f All other options must be set from member methods. More... | |
| virtual | ~Txq2dFrame () |
| The Txq2dFrame destructor. More... | |
| void | addCanvas (Txq2dCanvas *newCanvas) |
| Add a canvas to the frame. More... | |
| Txq2dCanvas* | getCanvas () |
| get the canvas pointer @retun the canvas pointer. More... | |
| virtual void | plot (bool updateFlag) |
| Plot all the Txq2dDrwable data. More... | |
| void | setCrossHair (bool flag) |
| Set the cross hair option with bool flag. More... | |
| void | setOptionsClearPixmap (bool f) |
| Set the options clear flag The options clear flag if true will clear the canvas pixmap before repainting. More... | |
| void | writeImage (QString fileName, QString ext) |
| write the pixmap as an image file to a filename given an extension type. More... | |
Protected Slots | |
| bool | copy () |
| copy the selection to the window manager clipboard. More... | |
| void | applyOptions () |
| slot to get the plot attributes after the Apply or Ok buton has been pressed on the options Dialog. More... | |
| void | setOptions () |
| slot to set the options. More... | |
| void | saveAs () |
| slot to save the pixmap. More... | |
| void | dumpData () |
| slot to dump the contents of the frame to an ASCII file. More... | |
| void | print () |
| slot to print the canvas. More... | |
| void | printPreview () |
| slot to preview the print canvas. More... | |
| virtual void | zoomIn (int id) |
| slot to zoom in the canvas. More... | |
| virtual void | zoomOut (int id) |
| slot to zoom out the canvas. More... | |
| virtual void | zoomOutFinished () |
| The zoomOutFinished slot is used whenever the canvas zoom is finished. More... | |
Protected Methods | |
| void | createTxq2dCanvas () |
| Create a canvas. More... | |
| void | resizeEvent (QResizeEvent *event) |
| Overload the resizeEvent in order to set the canvas size. More... | |
| void | createPlotAttribs () |
| Create the plot attributes and set with default items. More... | |
| virtual void | addFileMenuItems () |
| Add to the base File menu. More... | |
| void | addEditMenuItems () |
| Add to the base Edit menu. More... | |
| void | addViewMenuItems () |
| Add to the base View menu. More... | |
| void | addCrossHairMenuItem () |
| Add the cross hair item. More... | |
| void | addOptionsMenuItem () |
| Add the Options menu item to View. More... | |
| virtual void | addZoomMenuItem () |
| Add the Zoom menu item to View. 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 | createOptionsMenu () |
| Create the Options dialog. More... | |
| bool | getCrossHair () |
| Get the cross hair bool flag. More... | |
| void | setCrossHair (int id) |
| Set the cross hair option. More... | |
Protected Attributes | |
| int | ziId |
| The zoom in id number. More... | |
| int | zoId |
| The zoom out id number. More... | |
| bool | zi |
| The zoom in boolean flags Set to true if zoom in. More... | |
| bool | zo |
| The zoom out boolean flags Set to true if zoom out. More... | |
| int | crossHairId |
| The cross hair id number. More... | |
| bool | optionsClearPixmap |
| The options clear pixmap flag. More... | |
| TxqPlotAttribs* | plotAttribs |
| The plot attributes. More... | |
| TxqOptionsDlog* | optionsDlog |
| The options dialog. More... | |
Private Attributes | |
| Txq2dCanvas* | canvas |
| The Txq2dCanvas. More... | |
| std::vector<Txq2dCanvas*> | canvasVector |
| A vector of Txq2dCanvas. More... | |
This class creates a two dimensional Qt frame for scientific plotting.
Copyright 1998, 1999, 2000 by Tech-X Corporation
Definition at line 48 of file Txq2dFrame.h.
|
|
The Txq2dFrame constructor takes a QFrame w a name nm and a window flag f All other options must be set from member methods.
|
|
|
The Txq2dFrame destructor.
|
|
|
Add a canvas to the frame.
|
|
|
Add the cross hair item.
|
|
|
Add to the base Edit menu.
Reimplemented from TxqFrame. Reimplemented in Txq2dPlotFrame. |
|
|
Add to the base File menu.
Reimplemented from TxqFrame. Reimplemented in Txq2dPlotFrame. |
|
|
Add the Options menu item to View.
|
|
|
Add to the base View menu.
Reimplemented from TxqFrame. Reimplemented in Txq2dPlotFrame. |
|
|
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 TxqFrame. Reimplemented in Txq2dPlotFrame. |
|
|
Add the Zoom menu item to View.
|
|
|
slot to get the plot attributes after the Apply or Ok buton has been pressed on the options Dialog.
Reimplemented in Txq2dPlotFrame. |
|
|
copy the selection to the window manager clipboard.
Reimplemented from TxqFrame. |
|
|
Create the Options dialog.
|
|
|
Create the plot attributes and set with default items.
|
|
|
Create a canvas.
|
|
|
slot to select the cross hair option.
Reimplemented in Txq2dPlotFrame. |
|
|
slot to dump the contents of the frame to an ASCII file.
Reimplemented from TxqFrame. Reimplemented in Txq2dPlotFrame. |
|
|
get the canvas pointer @retun the canvas pointer.
Definition at line 81 of file Txq2dFrame.h. |
|
|
Get the cross hair bool flag.
|
|
|
Plot all the Txq2dDrwable data.
Reimplemented in Txq2dPlotFrame. Definition at line 87 of file Txq2dFrame.h. |
|
|
slot to print the canvas.
Reimplemented from TxqFrame. |
|
|
slot to preview the print canvas.
Reimplemented from TxqFrame. |
|
|
Overload the resizeEvent in order to set the canvas size.
Reimplemented in Txq2dPlotFrame. |
|
|
slot to save the pixmap.
Reimplemented from TxqFrame. |
|
|
Set the cross hair option.
|
|
|
Set the cross hair option with bool flag.
|
|
|
Forward the overloaded method to prevent compiler warnings.
Definition at line 124 of file Txq2dFrame.h. |
|
|
slot to set the geometry.
|
|
|
slot to set the options.
|
|
|
Set the options clear flag The options clear flag if true will clear the canvas pixmap before repainting.
Definition at line 101 of file Txq2dFrame.h. |
|
|
signal emitted whenever the setOptions is invoked for the options dialog.
|
|
|
write the pixmap as an image file to a filename given an extension type.
|
|
|
slot to write the cross hair status given and x and y value.
Reimplemented in Txq2dPlotFrame. |
|
|
slot to zoom in the canvas.
Reimplemented in Txq2dPlotFrame. |
|
|
slot to zoom out the canvas.
Reimplemented in Txq2dPlotFrame. |
|
|
The zoomOutFinished slot is used whenever the canvas zoom is finished.
Reimplemented in Txq2dPlotFrame. |
|
|
The Txq2dCanvas.
Reimplemented in Txq2dPlotFrame. Definition at line 325 of file Txq2dFrame.h. |
|
|
A vector of Txq2dCanvas.
Definition at line 330 of file Txq2dFrame.h. |
|
|
The cross hair id number.
Definition at line 235 of file Txq2dFrame.h. |
|
|
The options clear pixmap flag.
Definition at line 240 of file Txq2dFrame.h. |
|
|
The options dialog.
Definition at line 317 of file Txq2dFrame.h. |
|
|
The plot attributes.
Definition at line 312 of file Txq2dFrame.h. |
|
|
The zoom in boolean flags Set to true if zoom in.
Definition at line 224 of file Txq2dFrame.h. |
|
|
The zoom in id number.
Definition at line 214 of file Txq2dFrame.h. |
|
|
The zoom out boolean flags Set to true if zoom out.
Definition at line 230 of file Txq2dFrame.h. |
|
|
The zoom out id number.
Definition at line 218 of file Txq2dFrame.h. |
Copyright Tech-X Corporation, all rights reserved.