1 #ifndef REGION_QTREGIONSTATS_H_
2 #define REGION_QTREGIONSTATS_H_
9 #include <display/region/QtImageRegionStats.ui.h>
10 #include <display/region/QtMsRegionStats.ui.h>
11 #include <display/region/SlicerStats.ui.h>
12 #include <display/region/PVLineStats.ui.h>
30 stats_t( QWidget *parent ) : QGroupBox(
"",parent) { }
31 void setLabels(
const std::string &label,
const std::string &desc );
33 virtual QPushButton *
next( ) = 0;
49 virtual QPushButton *
next( ) {
61 virtual QPushButton *
next( ) {
73 virtual QPushButton *
next( ) {
77 return plotHolderWidget;
91 virtual QPushButton *
next( ) {
100 void createPVImage(
const std::string&,
const std::string&,
int);
118 void addstats( std::list<std::pair<casacore::String,String> > *stats );
QtRegionStats(QWidget *parent=0)
virtual QPushButton * next()=0
virtual bool updateStatisticsInfo(std::shared_ptr< casa::viewer::RegionInfo >)
void setNext(QStackedWidget *, QtRegionStats *)
void createPVImage(const std::string &, const std::string &, int)
RegionInfo::InfoTypes type() const
void setPVInfo(int width)
virtual Type type()
Return the type enum.
qt::statfield_list_t fields
virtual QPushButton * next()
SliceStats(QWidget *parent=0)
bool updateStatisticsInfo(std::shared_ptr< casa::viewer::RegionInfo >)
void setLabels(const std::string &label, const std::string &desc)
qt::stats_t * new_stats_box(RegionInfo::InfoTypes type, Region *region, const string &label)
All regions are specified in "linear coordinates", not "pixel coordinates".
virtual QPushButton * next()
virtual RegionInfo::InfoTypes type() const =0
ms_stats_t(statfield_list_t &fields, QWidget *parent=0)
std::list< std::pair< QGroupBox *, QLabel * > > statfield_list_t
void updateStatistics(std::shared_ptr< casa::viewer::RegionInfo > stats, Region *region=NULL)
void setCenterBackground(QString background)
bool updateStatisticsInfo(std::shared_ptr< casa::viewer::RegionInfo >)
RegionInfo::InfoTypes type() const
RegionInfo::InfoTypes type() const
virtual QPushButton * next()
bool updateStatisticsInfo(std::shared_ptr< casa::viewer::RegionInfo >)
virtual QPushButton * next()
RegionInfo::InfoTypes type() const
image_stats_t(statfield_list_t &fields, QWidget *parent=0)
pvline_stats_t(QWidget *parent=0)
QWidget * getPlotHolder()
void showEvent(QShowEvent *)
QStackedWidget * container_
void enterEvent(QEvent *)