casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Signals | Public Member Functions | Static Public Member Functions | Protected Types | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Types | Private Attributes
casa::QtPlotSvrPanel Class Reference

#include <QtPlotSvrPanel.qo.h>

List of all members.

Classes

class  row_desc
class  win_desc

Signals

void button (QtPlotSvrPanel *, QString)
void check (QtPlotSvrPanel *, QString, int)
void radio (QtPlotSvrPanel *, QString, bool)
void linetext (QtPlotSvrPanel *, QString, const QString &text)
void slidevalue (QtPlotSvrPanel *, QString, int)
void closing (QtPlotSvrPanel *, bool)

Public Member Functions

void hide ()
void show ()
void closeMainPanel ()
bool isVisible ()
void releaseMainPanel ()
 QtPlotSvrPanel (QWidget *parent=0)
 QtPlotSvrPanel (const QString &title, const QString &xlabel="", const QString &ylabel="", const QString &window_title="", const QList< int > &size=QList< int >(), const QString &legend="bottom", const QString &zoom="bottom", QtPlotSvrPanel *with_panel=0, bool new_row=false, QWidget *parent=0)
QwtPlotCurve * line (const QList< double > &x, const QList< double > &y, const QString &color="black", const QString &label="")
QwtPlotCurve * scatter (const QList< double > &x, const QList< double > &y, const QString &color="black", const QString &label="", const QString &symbol="", int symbol_size=-1, int dot_size=-1)
QtPlotHistogramhistogram (const QList< double > &y, int bins=0, const QString &color="blue", const QString &label="")
QwtPlotSpectrogram * raster (const QList< double > &matrix, int sizex, int sizey, const QString &colormap="Rainbow 2")
void replot ()
void setxlabel (const QString &xlabel)
void setylabel (const QString &ylabel)
void settitle (const QString &title)
std::pair< QDockWidget *, QString > loaddock (const QString &file_or_xml, const QString &loc, const QStringList &dockable)
virtual ~QtPlotSvrPanel ()

Static Public Member Functions

static QStringList colors ()
static QStringList colormaps ()
static QStringList symbols ()

Protected Types

typedef std::map< QString,
memory::cptr
< QwtLinearColorMap > > 
colormap_map

Protected Slots

void emit_button ()
void emit_check (int)
void emit_radio (bool)
void emit_linetext (const QString &text)
void emit_slidevalue (int)
void emit_closing (bool)
void zoom (int x=-1)
void zoomed (const QwtDoubleRect &)

Protected Member Functions

QWidget * loaddock (QString file)

Static Protected Member Functions

static void load_colormaps ()

Protected Attributes

QFont defaultfont

Static Protected Attributes

static colormap_mapcolormaps_

Private Types

typedef std::map
< QtPlotSvrPanel
*, memory::cptr< row_desc > > 
rowmap

Private Attributes

memory::cptr< rowmaprows_
memory::cptr< win_descwindow_
QSlider * slider
QtPlotFrameplot
QwtPlotZoomer * zoomer
double current_zoom_level
int slider_last_value

Detailed Description

Definition at line 67 of file QtPlotSvrPanel.qo.h.


Member Typedef Documentation

typedef std::map<QString,memory::cptr<QwtLinearColorMap> > casa::QtPlotSvrPanel::colormap_map [protected]

Definition at line 130 of file QtPlotSvrPanel.qo.h.

Definition at line 181 of file QtPlotSvrPanel.qo.h.


Constructor & Destructor Documentation

casa::QtPlotSvrPanel::QtPlotSvrPanel ( QWidget *  parent = 0)
casa::QtPlotSvrPanel::QtPlotSvrPanel ( const QString &  title,
const QString &  xlabel = "",
const QString &  ylabel = "",
const QString &  window_title = "",
const QList< int > &  size = QList< int >(),
const QString &  legend = "bottom",
const QString &  zoom = "bottom",
QtPlotSvrPanel with_panel = 0,
bool  new_row = false,
QWidget *  parent = 0 
)
virtual casa::QtPlotSvrPanel::~QtPlotSvrPanel ( ) [inline, virtual]

Definition at line 100 of file QtPlotSvrPanel.qo.h.


Member Function Documentation

void casa::QtPlotSvrPanel::button ( QtPlotSvrPanel ,
QString   
) [signal]
void casa::QtPlotSvrPanel::check ( QtPlotSvrPanel ,
QString  ,
int   
) [signal]
void casa::QtPlotSvrPanel::closing ( QtPlotSvrPanel ,
bool   
) [signal]
static QStringList casa::QtPlotSvrPanel::colormaps ( ) [static]
static QStringList casa::QtPlotSvrPanel::colors ( ) [static]
void casa::QtPlotSvrPanel::emit_button ( ) [protected, slot]
void casa::QtPlotSvrPanel::emit_check ( int  ) [protected, slot]
void casa::QtPlotSvrPanel::emit_closing ( bool  ) [protected, slot]
void casa::QtPlotSvrPanel::emit_linetext ( const QString &  text) [protected, slot]
void casa::QtPlotSvrPanel::emit_radio ( bool  ) [protected, slot]
void casa::QtPlotSvrPanel::emit_slidevalue ( int  ) [protected, slot]
QtPlotHistogram* casa::QtPlotSvrPanel::histogram ( const QList< double > &  y,
int  bins = 0,
const QString &  color = "blue",
const QString &  label = "" 
)
QwtPlotCurve* casa::QtPlotSvrPanel::line ( const QList< double > &  x,
const QList< double > &  y,
const QString &  color = "black",
const QString &  label = "" 
)
void casa::QtPlotSvrPanel::linetext ( QtPlotSvrPanel ,
QString  ,
const QString &  text 
) [signal]
static void casa::QtPlotSvrPanel::load_colormaps ( ) [static, protected]
std::pair<QDockWidget*,QString> casa::QtPlotSvrPanel::loaddock ( const QString &  file_or_xml,
const QString &  loc,
const QStringList &  dockable 
)
QWidget* casa::QtPlotSvrPanel::loaddock ( QString  file) [protected]
void casa::QtPlotSvrPanel::radio ( QtPlotSvrPanel ,
QString  ,
bool   
) [signal]
QwtPlotSpectrogram* casa::QtPlotSvrPanel::raster ( const QList< double > &  matrix,
int  sizex,
int  sizey,
const QString &  colormap = "Rainbow 2" 
)
QwtPlotCurve* casa::QtPlotSvrPanel::scatter ( const QList< double > &  x,
const QList< double > &  y,
const QString &  color = "black",
const QString &  label = "",
const QString &  symbol = "",
int  symbol_size = -1,
int  dot_size = -1 
)
void casa::QtPlotSvrPanel::settitle ( const QString &  title)
void casa::QtPlotSvrPanel::setxlabel ( const QString &  xlabel)
void casa::QtPlotSvrPanel::setylabel ( const QString &  ylabel)
void casa::QtPlotSvrPanel::slidevalue ( QtPlotSvrPanel ,
QString  ,
int   
) [signal]
static QStringList casa::QtPlotSvrPanel::symbols ( ) [static]
void casa::QtPlotSvrPanel::zoom ( int  x = -1) [protected, slot]
void casa::QtPlotSvrPanel::zoomed ( const QwtDoubleRect &  ) [protected, slot]

Member Data Documentation

Definition at line 132 of file QtPlotSvrPanel.qo.h.

Definition at line 189 of file QtPlotSvrPanel.qo.h.

Definition at line 128 of file QtPlotSvrPanel.qo.h.

Definition at line 187 of file QtPlotSvrPanel.qo.h.

Definition at line 182 of file QtPlotSvrPanel.qo.h.

QSlider* casa::QtPlotSvrPanel::slider [private]

Definition at line 186 of file QtPlotSvrPanel.qo.h.

Definition at line 190 of file QtPlotSvrPanel.qo.h.

Definition at line 184 of file QtPlotSvrPanel.qo.h.

QwtPlotZoomer* casa::QtPlotSvrPanel::zoomer [private]

Definition at line 188 of file QtPlotSvrPanel.qo.h.


The documentation for this class was generated from the following file: