casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 | List of all members
casa::QtPlotSvrPanel Class Reference

#include <QtPlotSvrPanel.qo.h>

Inheritance diagram for casa::QtPlotSvrPanel:

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 ( )
inlinevirtual

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 ( )
protectedslot
void casa::QtPlotSvrPanel::emit_check ( int  )
protectedslot
void casa::QtPlotSvrPanel::emit_closing ( bool  )
protectedslot
void casa::QtPlotSvrPanel::emit_linetext ( const QString &  text)
protectedslot
void casa::QtPlotSvrPanel::emit_radio ( bool  )
protectedslot
void casa::QtPlotSvrPanel::emit_slidevalue ( int  )
protectedslot
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 ( )
staticprotected
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" 
)
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)
protectedslot
void casa::QtPlotSvrPanel::zoomed ( const QwtDoubleRect &  )
protectedslot

Member Data Documentation

colormap_map* casa::QtPlotSvrPanel::colormaps_
staticprotected

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

double casa::QtPlotSvrPanel::current_zoom_level
private

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

QFont casa::QtPlotSvrPanel::defaultfont
protected

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

QtPlotFrame* casa::QtPlotSvrPanel::plot
private

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

memory::cptr<rowmap> casa::QtPlotSvrPanel::rows_
private

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

QSlider* casa::QtPlotSvrPanel::slider
private

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

int casa::QtPlotSvrPanel::slider_last_value
private

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

memory::cptr<win_desc> casa::QtPlotSvrPanel::window_
private

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: