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)
QwtLinearColorMap * getnewcolormap (const QString &colormap)
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,
std::vector< QColor > > 
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 71 of file QtPlotSvrPanel.qo.h.


Member Typedef Documentation

typedef std::map<QString,std::vector<QColor> > casa::QtPlotSvrPanel::colormap_map [protected]

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

Definition at line 190 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 105 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::closeMainPanel (  ) 
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]
QwtLinearColorMap* casa::QtPlotSvrPanel::getnewcolormap ( const QString &  colormap  ) 
void casa::QtPlotSvrPanel::hide (  ) 
QtPlotHistogram* casa::QtPlotSvrPanel::histogram ( const QList< double > &  y,
int  bins = 0,
const QString &  color = "blue",
const QString &  label = "" 
)
bool casa::QtPlotSvrPanel::isVisible (  ) 
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]
QWidget* casa::QtPlotSvrPanel::loaddock ( QString  file  )  [protected]
std::pair<QDockWidget*,QString> casa::QtPlotSvrPanel::loaddock ( const QString &  file_or_xml,
const QString &  loc,
const QStringList &  dockable 
)
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" 
)
void casa::QtPlotSvrPanel::releaseMainPanel (  ) 
void casa::QtPlotSvrPanel::replot (  ) 
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::show (  ) 
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 141 of file QtPlotSvrPanel.qo.h.

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

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

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

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

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

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

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

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

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

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1