#include <PlotTable.h>
Inheritance diagram for PlotTable:
It provides an PlotTable which lists all plots on a canvas.
Definition at line 46 of file PlotTable.h.
Public Member Functions | |
PlotTable () | |
The default constructor. | |
void | setBrowserMode (bool browser, QWidget *observer=0) |
Sets the mode of the plot table. | |
void | setCanvas (CanvasView *canvas) |
Sets the canvas to be used by the table. | |
Protected Member Functions | |
virtual void | on_closeButton_clicked () |
Response to click on close buttion. | |
virtual void | on_copyButton_clicked () |
Responds to click on copy button. | |
virtual void | selectionChanged (QListViewItem *) |
Private Member Functions | |
void | initialize () |
Initialized the table. | |
Private Attributes | |
bool | m_browser_mode |
The mode of the plot table. | |
CanvasView * | m_canvas_view |
The canvas that is currently being used. | |
QWidget * | m_observer |
The Window that initiated the browsing, if any. | |
std::map< const QListViewItem *, const ViewBase * > | m_view_map |
A map to associate a QListViewItem with its ViewBase. |
|
The default constructor.
Definition at line 40 of file PlotTable.cxx. |
|
Initialized the table.
Definition at line 57 of file PlotTable.cxx. References PlotterBase::getDataRep(), PlotterBase::getLabel(), ViewBase::getPlotter(), PlotterBase::getTitle(), PlotterBase::hasAxis(), m_canvas_view, m_view_map, DataRep::name(), num_util::type(), CanvasView::views(), hippodraw::Axes::X, hippodraw::Axes::Y, and hippodraw::Axes::Z. Referenced by setCanvas(). |
|
Response to click on close buttion.
Definition at line 135 of file PlotTable.cxx. References PlotTableEvent::Close, m_browser_mode, m_observer, and QApplication::postEvent(). |
|
Responds to click on copy button.
Definition at line 125 of file PlotTable.cxx. References PlotTableEvent::Copy, m_canvas_view, m_observer, and QApplication::postEvent(). |
|
Definition at line 98 of file PlotTable.cxx. |
|
Sets the mode of the plot table.
When Definition at line 116 of file PlotTable.cxx. References m_browser_mode, and m_observer. |
|
Sets the canvas to be used by the table.
Definition at line 49 of file PlotTable.cxx. References initialize(), and m_canvas_view. Referenced by CanvasWindow::viewShowPlotTable(). |
|
The mode of the plot table.
Definition at line 73 of file PlotTable.h. Referenced by on_closeButton_clicked(), and setBrowserMode(). |
|
The canvas that is currently being used.
Definition at line 57 of file PlotTable.h. Referenced by initialize(), on_copyButton_clicked(), and setCanvas(). |
|
The Window that initiated the browsing, if any.
Definition at line 68 of file PlotTable.h. Referenced by on_closeButton_clicked(), on_copyButton_clicked(), and setBrowserMode(). |
|
A map to associate a QListViewItem with its ViewBase.
Definition at line 61 of file PlotTable.h. Referenced by initialize(). |